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

Developer

API Reference

IOBEXCLI_CONNECT()

Brew Release
Brew MP 1.0.2
See Also
IOBEXHeader IOBEXCli_Disconnect()
Description

This method can be called by the client application to connect to a OBEX server.
Params
po
[in]:
pointer to the IOBEXCli object
piObexHdr
[in]:
pointer to IOBEXHeader object that contains the OBEX headers for connection.
Interface
Prototype
  •    int IOBEXCli_Connect(IOBEXCli        *po,
                            IOBEXHeader     *piObexHdr);
    
Return
  • AEE_SUCCESS : the request to connect was queued and AEEOBEX_EVT_CLI_CONN_RESP will be sent when the procedure is complete. AEE_ENOMEMORY : could not queue command due to lack of memory AEE_EBADPARM : invalid parameters
Side Effect
  • None.
Comments
AEEOBEX_EVT_CLI_CONN_RESP is sent to indicate the result of the connection procedure