Versions Compared

Key

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

Clears the HTTPc Request Object passed as argumentClear Message object members.

Files

httpmqtt-c.h/httpmqtt-c.c

Prototype

Code Block
void  MQTTc_MsgClr (MQTTc_MSG  *p_msg,
                    MQTTc_ERR  *p_err);

Arguments

p_req_objmsg

Pointer to the HTTPc Request Object message object to clear.

p_err

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

MQTTc_ERR_NONE

...

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 HTTPcMQTTc_REQ_OBJMSG object is used for the first time.