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

Developer

API Reference

IBTSECURITYHANDLER_SENDUSERCONFIRMATION()

Brew Release
Brew MP 1.0.2
See Also
IBTSecurityHandler_Bond IBTSecurityHandler_SetIOCapability
Description
Confirms if the passkey obtained via event AEEBTSEC_HNDLR_EV_USER_CONF_REQ is correct. Association model used for Pairing should be numeric comparison method.
Params
_me
[in]:
the object
pBDAddr
[in]:
BD Address of the remote device
bConfirm
[in]:
TRUE if user wants to confirm that passkey is the same as seen on the remote; else FALSE.
Return
AEE_SUCCESS
[]:
user confirmation is successfully sent to Bluetooth driver
AEE_EBADPARAM
[]:
Bad parameter
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTSecurityHandler_SendUserConfirmation (IBTSecurityHndlr* _me, 
                                                   BDAddress *pBDAddr,
                                                   boolean bConfirm);
                                   
    
Side Effect
  • None
Comments
None