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

Developer

API Reference

IOBEXCLI_SETPATH()

Brew Release
Brew MP 1.0.2
See Also
IOBEXHeader IOBEXCli_Connect() IOBEXCli_Put() IOBEXCli_Get()
Description
Client application can use this function to set the path on the server for subsequent PUT/GET operations.
Params
po
[in]:
pointer to the IOBEXCli object
piObexHdr
[in]:
pointer to the list of headers to be sent
bUpLevel
[in]:
change directory up one level
bDontCreate
[in]:
Dont create directory if it dosent already exist
TRUE
[]:
does not create the directory
FALSE
[]:
creates the directory
Interface
Prototype
  •    int IOBEXCli_SetPath(IOBEXCli        *po,
                            IOBEXHeader     *piObexHdr,
                            boolean         bUpLevel,
                            boolean         bDontCreate);
    
Return
  • AEE_SUCCESS : the request to set the path on the server was queued. AEEOBEX_EVT_CLI_SETPATH_RESP would be sent when the operation is complete AEE_ENOMEMORY : could not queue command due to lack of memory AEE_EBADPARM : invalid paramaters
Side Effect
  • None.
Comments
AEEOBEX_EVT_CLI_SETPATH_RESP is sent to the application when the server responds to this request.