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

Developer

API Reference

IBTMGR_SETBLOCKEDDEVLIST()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This method provides the underlying Bluetooth driver with a list of BD addresses of devices to be blocked. Incoming connection requests from these devices will always be rejected. This list is not retained by the Bluetooth driver across power cycles.
Successful operation would generate AEEBTMGR_EV_SET_BLOCKED_DEVS_SUCCESS and may cause AEEBTMGR_EV_SETTINGS_CHANGED to be generated.
Params
po
[in]:
the object
nNumDevs
[in]:
number of address in list; 0 to remove existing list
pAddrList
[in]:
addresses of devices to be blocked
Return
AEE_SUCCESS
[]:
operation has been scheduled
AEE_EBADPARM
[]:
input parameters are invalid
AEE_EALREADY
[]:
the previous SetBlockedDevList operation hasn't completed
AEE_EITEMBUSY
[]:
another operation is in progress
Interface
Prototype
  •    int IBTMgr_SetBlockedDevList (IBTMgr*            po,
                                     int                nNumDevs,
                                     const BDAddress*   pAddrList);
    
Side Effect
  • None
Comments
None