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

Developer

API Reference

IBTSECURITYHANDLER_PASSKEYREPLY()

Brew Release
Brew MP 1.0.2
See Also
IBTSecurityHandler_PinkeyReply IBTSecurityHandler_KeyPressNotification
Description
This API sends the passkey to the Bluetooth driver during the pairing procedure. When pairing with devices with Bluetooth version 2.1 or greater, this API should be invoked when Passkey entry association model is used for pairing and the caller has the passkey ready.
Params
_me
[in]:
the object
pBDAddr
[in]:
BD Address of the remote device with which bonding operation should be performed
passKey
[in]:
6 digit pass key value
bAccept
[in]:
TRUE if passkey has to be sent, else FALSE (for negetive passkey reply)
Return
AEE_SUCCESS
[]:
passkey is successfully sent
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTSecurityHandler_PassKeyReply (IBTSecurityHndlr* _me, 
                                                  BDAddress *pBDAddr,
                                                  uint32 passKey,
                                                  boolean bAccept);
    
Side Effect
  • None
Comments
None