Struct SYN_MQTTSN_Config¶
MQTT-SN client configuration descriptor.
#include <syn_mqttsn.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | clean_session |
| const char * | client_id |
| uint16_t | duration_s |
| SYN_MQTTSN_MessageCb | on_message |
| uint8_t * | rx_buf |
| size_t | rx_buf_size |
| SYN_Transport * | transport |
| uint8_t * | tx_buf |
| size_t | tx_buf_size |
| void * | user_data |
Public Attributes Documentation¶
variable clean_session¶
Clean session flag
variable client_id¶
Client identifier string (<= 23 chars)
variable duration_s¶
Keep-alive duration in seconds
variable on_message¶
Incoming message callback
variable rx_buf¶
Scratch RX buffer
variable rx_buf_size¶
Scratch RX buffer size (>= 128 bytes)
variable transport¶
Underlying datagram transport
variable tx_buf¶
Scratch TX buffer
variable tx_buf_size¶
Scratch TX buffer size (>= 128 bytes)
variable user_data¶
User context pointer
The documentation for this class was generated from the following file src/syntropic/proto/syn_mqttsn.h