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

Developer

API Reference

IBTSECURITYHANDLER_AUTHORIZEREBOND()

Brew Release
Brew MP 1.0.2
See Also
IBTSecurityHandler_AuthorizeBond
Description
This API authorizes an incoming bond request from an already bonded device. User can also specify a security level for the re bond operation. This API should be called when the AEEBTSEC_HNDLR_EV_AUTHORIZE_REBOND event is received. (This condition will usually occur when the remote device does not have the link key generated during last bonding).
Params
_me
[in]:
the object
pBDAddr
[in]:
BD Address of the remote device
rebondSecLevel
[in]:
Security level for re bond operation
bAuthorize
[]:
TRUE if rebond is authorized, else FALSE.
Return
AEE_SUCCESS
[]:
Authorize rebond command is successfully sent to Bluetooth driver
AEE_EBADPARAM
[]:
Bad parameter
AEE_ENOSUCH
[]:
No outstanding rebond request.
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTSecurityHandler_AuthorizeRebond (IBTSecurityHndlr* _me, 
                                              BDAddress *pBDAddr,
                                              BTSecurityLevel rebondSecLevel,
                                              boolean bAuthorize);
    
Side Effect
  • None
Comments
None