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 Current »

Set parameter related to a given MQTT Message.

Files

mqtt-c.h/mqtt-c.c

Prototype

Arguments

p_msg

Pointer to message object.

type

Parameter type:

MQTTc_PARAM_TYPE_MSG_BUF_PTR        Msg's buf ptr.

MQTTc_PARAM_TYPE_MSG_BUF_LEN        Msg's buf len.

p_param

Parameter's value.

p_err

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

MQTTc_ERR_NONE

MQTTc_ERR_NULL_PTR

MQTTc_ERR_INVALID_ARG

Returned Values

None.

Required Configuration

None.

Notes / Warnings

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