API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IBTSECURITY_BOND()

Brew Release
Brew MP 1.0.2
See Also
IBTSecurity_SetBondable IBTSecurity_CancelBond IBTSecurity_UnBond
Description
Initiates a bonding (link key creation and exchange for future authentication) operation with remote Bluetooth device. Once the Bond operation completes, signal registered using IBTSecurity_OnBondStatusChange() will be set. Bonding specific info can be retrieved via IBTSecurity_GetBondStatus() API
Params
_me
[in]:
The object
pBDAddr
[in]:
BD Address of the remote device with which bonding procedure needs to be initiated.
Return
AEE_SUCCESS
[]:
Bond command is successfully sent to Bluetooth driver
AEE_EALREADY
[]:
Device is already bonded with remote.
AEE_EITEMBUSY
[]:
Another operation in progress.
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTSecurity_Bond (IBTSecurity* _me, 
                                   BDAddress *pBDAddr);
    
Side Effect
  • None
Comments
None