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

Developer

API Reference

IBTSDCLIENT_STARTSERVICESEARCHREQUEST()

Brew Release
Brew MP 1.0.2
See Also
IBTSDClient_RetrieveServiceSearchResponse
Description
An application can initiate a service search 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. AEEBTSDCLI_EV_SERVICE_SEARCH_COMPLETE event is generated when the search procedure is complete. If the search was successful, the application can retrieve the list of service record handles by calling IBTSDClient_RetrieveServiceSearchResponse().
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.
nMaxHandles
[in]:
Maximum number of service record handles to be returned in response to this request.
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_StartServiceSearchRequest(IBTSDClient*     _me,
                                                       const BDAddress* bdAddr,
                                                       const BTUUID32*  uuid32List,
                                                       int              uuid32ListLen,
                                                       const BTUUID128* uuid128List,
                                                       int              uuid128ListLen,
                                                       int              nMaxHandles)
    
    
Side Effect
  • None.
Comments
None.