Struct SYN_MQTTSN_Client¶
MQTT-SN Client instance structure.
#include <syn_mqttsn.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_MQTTSN_Config | cfg |
| uint8_t | gateway_id |
| uint32_t | last_activity_ms |
| uint16_t | next_msg_id |
| SYN_PT | pt |
| SYN_MQTTSN_State | state |
| size_t | topic_count |
| SYN_MQTTSN_TopicEntry | topics |
Public Attributes Documentation¶
variable cfg¶
Client configuration
variable gateway_id¶
Discovered gateway ID
variable last_activity_ms¶
Timestamp of last sent/received frame
variable next_msg_id¶
Next message sequence ID
variable pt¶
Protothread state
variable state¶
Connection state
variable topic_count¶
Number of topics
variable topics¶
Topic table
The documentation for this class was generated from the following file src/syntropic/proto/syn_mqttsn.h