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

Developer

API Reference

IBTCONNECTIONFACTORY_GETCONNECTEDDEVICES()

Brew Release
Brew MP 1.0.2
Description
Retrieves a list of connected devices.
Params
_me
[in]:
The object.
bDAddr
[in]:
Pointer to an array of BDAddress.
bDAddrLen
[in]:
Number of BDAddress structs that the array can hold.
bDAddrLenReq
[out]:
Place holder for number of connected devices.
Return
AEE_SUCCESS
[]:
Connected device list successfully retrieved. If the bDAddrLen is smaller than the number of connected devices, partial list will be returned to the caller. To read the entire list, the caller should allocate the required array size and invoke this API again.
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful
Prototype
  •    AEEResult IBTConnectionFactory_GetConnectedDevices(IBTConnectionFactory* _me,
                                                          BDAddress*  bDAddr,
                                                          int bDAddrLen,
                                                          int* bDAddrLenReq)
Side Effect
  • None
Comments
None