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

Developer

API Reference

IBTSECURITY_SETBONDABLE()

Brew Release
Brew MP 1.0.2
See Also
IBTSecurity_Bond IBTSecurity_UnBond
Description
Sets/clears the bondable state of local Bluetooth device.
Application can also indicate if Man in the Middle (MITM) protection is required for incoming dedicated bond requests. Note that the security policy for local services, if present, will always take precedence over this setting.
Params
_me
[in]:
The object
bBondable
[in]:
TRUE to set to Bondable state, FASLE to clear Bondable state.
bMITMProtectionReq
[in]:
TRUE to indicate MITM protection required for incoming dedicated bond requests. FASLE to indicate MITM protection not required.
Return
AEE_SUCCESS
[]:
Bondable/non bondable state is successfully set.
AEE_EBADPARM
[]:
Invalid input parameters.
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTSecurity_SetBondable (IBTSecurity* _me, 
                                          boolean      bBondable,
                                          boolean      bMITMProtectionReq);
    
Side Effect
  • None
Comments
None