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

Developer

API Reference

IBTMGR1_SETBLACKLIST()

Brew Release
Brew MP 1.0.2
See Also
BDAddress BTMgr1OpType IBTMgr1_SetWhiteList
Description
This method adds/ removes a device from the list of devices to which connections are blocked. Connection requests from these devices will always be rejected. The driver will not initiate a connection to any device in this list. An existing connection to any device in this list will be brought down.
Params
_me
[in]:
The object
bdAddr
[in]:
Address of device
opType
[in]:
operation to be performed. Can be add/ remove/ clear all.
Return
AEE_SUCCESS
[]:
List of blocked devices updated.
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful.
Interface
Prototype
  •    AEEResult IBTMgr1_SetBlackList(IBTMgr1*         _me,
                                      const BDAddress* bdAddr,
                                      boolean          bAdd)
    
Side Effect
  • None.
Comments
None.