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

Developer

API Reference

IBTEIR_RETRIEVEUUIDLIST()

Brew Release
Brew MP 1.0.2
See Also
IBTEIR_RetrieveDataTypes
Description
Retrieve the first occurrence of the list of 16 bit UUIDs or 32 bit UUIDs that is present in the EIR data.
Params
_me
[in]:
The IBTEIR object
uuidType
[in]:
Either AEEBT_EIR_UUID16_PARTIAL_LIST or AEEBT_EIR_UUID16_LIST or AEEBT_EIR_UUID32_PARTIAL_LIST or AEEBT_EIR_UUID32_LIST.
uuidList
[in]:
Pointer to an array to hold the 16 bit/ 32bit UUIDs.
uuidListLen
[in]:
Number of elements in the array
uuidListLenReq
[out]:
Place holder for number of elements in the array required to read the entire list of UUIDs.
Return
AEE_SUCCESS
[]:
UUID list has been copied to the buffer. If the size of input array is smaller than the size required to hold the entire list, partial list will be copied to the buffer. To read the entire list, the caller should allocate the required buffer size and invoke the API again.
AEE_ENOSUCH
[]:
No such data element available. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTEIR_RetrieveUuidList(IBTEIR*       _me,
                                         BTEIRDataType  uuidType,
                                         BTUUID32*  uuidList,
                                         int        uuidListLen,
                                         int*       uuidListLenReq)
    
Side Effect
  • None.
Comments
None.