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,