Add a command to call MQTT_Subscribe() for an MQTT connection.
[in] | pMqttAgentContext | The MQTT agent to use. |
[in] | pSubscriptionArgs | Struct describing topic to subscribe to. |
[in] | pCommandInfo | The information pertaining to the command, including:
|
pCommandInfo
parameter MUST remain in scope at least until the callback has been executed by the agent task.Example