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

Developer

API Reference

IBTSECURITYHANDLER_SETREMOTEOOBDATA()

Brew Release
Brew MP 1.0.2
See Also
IBTSecurityHandler_GetLocalOOBData IBTSecurityHandler_RetrieveLocalOOBData
Description
This API sets the Out Of Band (OOB) data obtained from the remote device, with the Bluetooth driver. This data shall be used when next pairing procedure takes place with the remote device. The OOB data is valid only for one pairing procedure.

Params
_me
[in]:
the object
pRemoteOOB
[in]:
remote OOB data (Format as specified by the Bluetooth specification)
pRemoteOOBLen
[in]:
length of the OOB data

Return
AEE_SUCCESS
[]:
remote OOB data is successfully set to the Bluetooth driver
AEE_EBADPARAM
[]:
Bad parameter
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTSecurityHandler_SetRemoteOOBData (IBTSecurityHndlr* _me, 
                                                      const uint8* pRemoteOOB, 
                                                      int pRemoteOOBLen);
                                   
    
Side Effect
  • None
Comments
None