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

Developer

API Reference

IBTPROPERTIES_RETRIEVEBLACKLIST()

Brew Release
Brew MP 1.0.2
See Also
Description
Retrieves the list of Blocked devices. The local Bluetooth device will not accept connections from these devices or initiate connections to these devices. Existing connection to any device in this list will be brought down.
Params
_me
[in]:
The object
bdAddrList
[out]:
List of BD address structs that the app sends to the implementation to retrieve the blocked device list
bdAddrListLen
[in]:
Number of elements in bdAddrList
bdAddrListLenReq
[out]:
Number of elements in bdAddrList that are required to retrieve the entire list of blocked devices.
Return
AEE_SUCCESS
[]:
Blocked devices returned. If bdAddrListLen is lesser than the actual number of blocked devices, partial list will be returned to the app. To retrieve the entire list, the app should allocate the required buffer size and call this API again.
AEE_EBADSTATE
[]:
Information not available to be read due to driver error.
Interface
Prototype
  •    AEEResult IBTProperties_RetrieveBlackList(IBTProperties* _me,
                                                 BDAddress*     bdAddrList,
                                                 int            bdAddrListLen,
                                                 int*           bdAddrListLenReq);
    
Side Effect
  • None.
Comments
None.