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

Developer

API Reference

IBTEIR_RETRIEVEDATATYPES()

Brew Release
Brew MP 1.0.2
See Also
Description
This API retrieves a list of EIR data types contained in this object. Note: This API returns a list of EIR data types that are defined in v2.1 of the Bluetooth core specification.
Params
_me
[in]:
The IBTEIR object.
data
[out]:
Buffer to hold Extended inquiry Response (EIR) data type.
dataLen
[in]:
Length of the input buffer.
dataLen
[out]:
Place holder for length of buffer required to read the entire data.
Return
AEE_SUCCESS
[]:
Data types have been copied to the buffer. If the size of input buffer is smaller than the available data types, partial list will be returned to the caller. To read all the EIR data types, the caller should allocate the required buffer size and invoke this API again.
AEE_ENOSUCH
[]:
No EIR data types present. Another appropriate error code if operation was not successful
Interface
Prototype
  •    AEEResult IBTEIR_RetrieveDataTypes(IBTEIR*         _me,
                                         BTEIRDataType*  data,
                                         int             dataLen,
                                         int*            dataLenReq)
    
Side Effect
  • None.
Comments
None.