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

Developer

API Reference

IBTDEVDB_SETSECURITY()

Brew Release
Brew MP 1.0.2
Description
This method updates the security setting for a particular device.
Params
po
[in]:
the object
pBDAddr
[in]:
BD address of remote device
sec
[in]:
new security setting
Return
AEEBT_RESULT_SUCCESS
[]:
entry with given BD addr updated
AEEBT_RESULT_BAD_PARAM
[]:
input pointers are invalid
AEEBT_RESULT_NO_RESOURCE
[]:
no resource to perform this operation
AEEBT_RESULT_ENTRY_NOT_FOUND
[]:
entry does not exist
Interface
  • IBTDEVDB
Prototype
  •    BTResult IBTDEVDB_SetSecurity(IBTDevDB*         po,
                                     const BDAddress*  pBDAddr,
                                     BTSecurityLevel   sec);
    
Side Effect
  • None
Comments
None