Enumerated types of the MQTT Agent. More...
Enumerations | |
| enum | MQTTAgentCommandType_t { NONE = 0 , PROCESSLOOP , PUBLISH , SUBSCRIBE , UNSUBSCRIBE , PING , CONNECT , DISCONNECT , TERMINATE , NUM_COMMANDS } |
| A type of command for interacting with the MQTT API. More... | |
Enumerated types of the MQTT Agent.
A type of command for interacting with the MQTT API.
| Enumerator | |
|---|---|
| NONE | No command received. Must be zero (its memset() value). |
| PROCESSLOOP | Call MQTT_ProcessLoop(). |
| PUBLISH | Call MQTT_Publish(). |
| SUBSCRIBE | Call MQTT_Subscribe(). |
| UNSUBSCRIBE | Call MQTT_Unsubscribe(). |
| PING | Call MQTT_Ping(). |
| CONNECT | Call MQTT_Connect(). |
| DISCONNECT | Call MQTT_Disconnect(). |
| TERMINATE | Exit the command loop and stop processing commands. |
| NUM_COMMANDS | The number of command types handled by the agent. |