- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
emconninfo_deviceBonded returns a true result, __find_bonded_peer returns a false result. What gives? Shouldn't they both return true?
Solved! Go to Solution.
- Tags:
- wiced-sdk 2.1.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Paul,
1. The emconninfo_deviceBonded and find_bonded_peer are entirely different things.
2. emconninfo_deviceBonded() returns true if the peer device that it is connected to is bonded with it or not
(see the BLE Spec for the exact definition for bonded).
3. However, you could be connected but not bonded, and you could be bonded but not connected.
4.__find_bonded_peer() returns the host info structure given a bd_addr (retrieved from the NV).
Hope this helps,
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Paul,
1. The emconninfo_deviceBonded and find_bonded_peer are entirely different things.
2. emconninfo_deviceBonded() returns true if the peer device that it is connected to is bonded with it or not
(see the BLE Spec for the exact definition for bonded).
3. However, you could be connected but not bonded, and you could be bonded but not connected.
4.__find_bonded_peer() returns the host info structure given a bd_addr (retrieved from the NV).
Hope this helps,
Thanks
JT