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

Developer

API Reference

IBTSDCLIENT_STARTSERVICESEARCHATTRIBUTEREQUEST()

Brew Release
Brew MP 1.0.2
See Also
IBTSDClient_RetrieveServiceSearchAttributeResponse
Description
An application can initiate a service search attribute request to locate service records on the remote device that match the specified search pattern. The search pattern consists of a list of Universally Unique Identifiers (UUIDs). The UUIDs may be 16 bit, 32 bit or 128 bit in length. The application can also request for attribute values of a list of attributes, or a range of attributes of the service record.
Params
_me
[in]:
The object.
bdAddr
[in]:
Bluetooth Device Address of the remote.
uuid32List
[in]:
Pointer to a list of 16 bit and/or 32 bit UUIDs.
uuid32ListLen
[in]:
Number of UUIDs in the list pointed to by uuid32List.
uuid128List
[in]:
Pointer to a list of 128 bit UUIDs.
uuid128ListLen
[in]:
Number of UUIDs in the list pointed to by uuid128List.
atributeList
[in]:
Pointer to a list of attribute IDs
atributeListLen
[in]:
Number of Attribute Id elements in the list pointed to by atributeList.
Return
AEE_SUCCESS
[]:
The operation has been scheduled.
AEE_EBADPARM
[]:
Input parameters are invalid.
AEE_EITEMBUSY
[]:
Another operation already in progress.
AEE_EBADSTATE
[]:
Driver error. Another appropriate error code if operation was not successful.
Interface
Prototype
  •    AEEResult IBTSDClient_StartServiceSearchAttributeRequest(IBTSDClient* _me,
                                                                const BDAddress* bdAddr,
                                                                const BTUUID32* uuid32List,
                                                                int uuid32ListLen,
                                                                const BTUUID128* uuid128List,
                                                                int uuid128ListLen,
                                                                const AEEBTSDAttribute* atributeList,
                                                                int atributeListLen)
    
Side Effect
  • None.
Comments
None.