Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b38f85c9 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

Shim: Minor fix to bonding

Return BTM_CMD_STARTED when we started bonding, as this is expected by
upper layer.
Start service discovery (SDP and GATT) after the remote device is
bonded.
Assume encryption is done when we just bond a device.

TODO: Re-encrypt the link if we connect to a previously bonded device.

Test: cert/run --host
Test: Connect to a LE mouse
Tag: #gd-refactor
Bug: 158861440
Change-Id: I2819702ac068be9515824234e85d81ac2ec7a748
parent 9ca56a7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment