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

Developer

API Reference

IBTSECURITYHANDLER_AUTHORIZEBOND()

Brew Release
Brew MP 1.0.2
See Also
IBTSecurityHandler_AuthorizeRebond
Description
This API authorizes an incoming bond request from a remote Bluetooth device. User can also specify a security level for the bond operation. This API should be called when the AEEBTSEC_HNDLR_EV_AUTHORIZE_BOND event is received.
Params
_me
[in]:
the object
pBDAddr
[in]:
BD Address of the remote device
rebondSecLevel
[in]:
Security level for bond operation
bAuthorize
[]:
TRUE if bond request is authorized, else FALSE.
Return
AEE_SUCCESS
[]:
Authorize bond 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_AuthorizeBond (IBTSecurityHndlr* _me, 
                                                   BDAddress *pBDAddr,
                                                   BTSecurityLevel bondSecLevel,
                                                   boolean bAuthorize);
    
Side Effect
  • None
Comments
None