Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Clears the HTTPc Connection Object passed as argumentClear an MQTTc Connection before the first usage.

Files

httpmqtt-c.h/httpmqtt-c.c

Prototype

Code Block
void  MQTTc_ConnClr (MQTTc_CONN  *p_conn,
                     MQTTc_ERR   *p_err);

Arguments

p_conn_obj

Pointer to the HTTPc MQTTc Connection Object to clear.

p_err

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

MQTTc_ERR_NONE

...

MQTTc_ERR_

...

NOT_INIT

...

...

MQTTc_ERR_

...

NULL_

...

PTR

Returned Values

None.

Required Configuration

None.

Notes / Warnings

  • This function MUST be called after the µC/HTTPMQTT-client Suite Initialization has been completed.
  • This function MUST be called before the HTTPcthe MQTTc_CONN_OBJ object is used for the first time.