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

Developer

API Reference

IOBEXSRVSESSION_SENDRESPONSE()

Brew Release
Brew MP 1.0.2
See Also
IOBEXHeader AEEOBEXCmdStatus AEEOBEXRequestType
Description
This method sends a response to the GET,PUT,SETPATH, DISCONNECT request that was received from a client.
Params
po
[in]:
pointer to the IOBEXServer object
request
[in]:
the request type for E.g SET PATH, GET, PUT for which this response is being sent
pObexHdr
[in]:
pointer to the IOBEXHeader interface that contains list of headers to be sent to OBEX client
cmdStatus
[in]:
the status to be sent in the OBEX response
flags
[in]:
f
Interface
Prototype
  •    int IOBEXSrvSession_SendResponse( IOBEXSrvSession      *po,
                                         AEEOBEXRequestType   request,
                                         IOBEXHeader          *pOBEXHdr,
                                         AEEOBEXCmdStatus     cmdStatus,
                                         AEEOBEXFlags         flags );
    
Return
  • AEE_SUCCESS : the response has been queued AEE_EBADPARM : invalid parameters AEE_EBADSTATE : bad state AEE_EFAILED : unable to send the OBEX response
Side Effect
  • None.
Comments
None.