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

Developer

API Reference

IBTSDCLIENT_RETRIEVESERVICEATTRIBUTERESPONSE()

Brew Release
Brew MP 1.0.2
See Also
IBTSDClient_StartServiceAttributeRequest
Description
Retrieves the result of the service attribute request operation that was initiated by IBTSDClient_StartServiceAttributeRequest(). This API should be called when AEEBTSDCLI_EV_SERVICE_ATTR_COMPLETE is generated along with result as success.
Params
_me
[in]:
The object.
szResp
[out]:
Destination for the search result in XML format.
szRespLen
[in]:
Size of buffer pointed to by szResp
szRespLenReq
[out]:
Place holder for size of buffer required to hold the entire response.
Return
AEE_SUCCESS
[]:
Service attribute response successfully returned. If szRespLen is smaller than the size of buffer required to return the entire response, partial response will be copied to szResp. szRespLenReq will contain the size of buffer required to hold the entire response. The application can allocate the required buffer size and invoke this API again. The response will be NUL terminated.
AEE_ENOSUCH
[]:
No search response available.
AEE_EBADSTATE
[]:
Driver error Another appropriate error code if operation was not successful.
Interface
Prototype
  •    AEEResult IBTSDClient_RetrieveServiceAttributeResponse(IBTSDClient* _me,
                                                              char*        szResp,
                                                              int          szRespLen,
                                                              int*         szRespLenReq)
Side Effect
  • None.
Comments
None.