Skip to content

Struct SYN_MQTTSN_Client

ClassList > 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

SYN_MQTTSN_Config SYN_MQTTSN_Client::cfg;

Client configuration


variable gateway_id

uint8_t SYN_MQTTSN_Client::gateway_id;

Discovered gateway ID


variable last_activity_ms

uint32_t SYN_MQTTSN_Client::last_activity_ms;

Timestamp of last sent/received frame


variable next_msg_id

uint16_t SYN_MQTTSN_Client::next_msg_id;

Next message sequence ID


variable pt

SYN_PT SYN_MQTTSN_Client::pt;

Protothread state


variable state

SYN_MQTTSN_State SYN_MQTTSN_Client::state;

Connection state


variable topic_count

size_t SYN_MQTTSN_Client::topic_count;

Number of topics


variable topics

SYN_MQTTSN_TopicEntry SYN_MQTTSN_Client::topics[SYN_MQTTSN_MAX_REGISTRATIONS];

Topic table



The documentation for this class was generated from the following file src/syntropic/proto/syn_mqttsn.h