Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Send a 'Connect' message to MQTT server.

Files

mqtt-c.h/mqtt-c.c

Prototype

Arguments

p_conn

Pointer to MQTTc Connection to use.

p_req_obj

Pointer to MQTTc Message object to use.

p_resp_obj

Pointer to the HTTPc Response object that will be filled with the HTTP response received from the server.

p_err

Pointer to variable that will receive the return error code from this function:

MQTTc_ERR_NONE

MQTTc_ERR_NOT_INIT

MQTTc_ERR_NULL_PTR

MQTTc_ERR_INVALID_ARG

MQTTc_ERR_INVALID_BUF_SIZE

MQTTc_ERR_FAIL


Returned Values

None.

Required Configuration

None.

Notes / Warnings

  • This function MUST be called after the µC/MQTT-client initialization has been completed.
  • No labels