Zephyr API Documentation
3.4.0
A Scalable Open Source RTOS
|
|
3.4.0 |
#include <mqtt_sn.h>
Data Fields | |
struct mqtt_sn_data | client_id |
struct mqtt_sn_data | will_topic |
struct mqtt_sn_data | will_msg |
enum mqtt_sn_qos | will_qos |
bool | will_retain |
struct mqtt_sn_transport * | transport |
struct net_buf_simple | tx |
struct net_buf_simple | rx |
mqtt_sn_evt_cb_t | evt_cb |
uint16_t | next_msg_id |
sys_slist_t | publish |
sys_slist_t | topic |
int | state |
int64_t | last_ping |
uint8_t | ping_retries |
struct k_work_delayable | process_work |
Structure describing an MQTT-SN client.
struct mqtt_sn_data mqtt_sn_client::client_id |
1-23 character unique client ID
mqtt_sn_evt_cb_t mqtt_sn_client::evt_cb |
int64_t mqtt_sn_client::last_ping |
uint16_t mqtt_sn_client::next_msg_id |
uint8_t mqtt_sn_client::ping_retries |
struct k_work_delayable mqtt_sn_client::process_work |
sys_slist_t mqtt_sn_client::publish |
struct net_buf_simple mqtt_sn_client::rx |
int mqtt_sn_client::state |
sys_slist_t mqtt_sn_client::topic |
struct mqtt_sn_transport* mqtt_sn_client::transport |
struct net_buf_simple mqtt_sn_client::tx |
struct mqtt_sn_data mqtt_sn_client::will_msg |
Must be initialized before connecting with will=true
enum mqtt_sn_qos mqtt_sn_client::will_qos |
bool mqtt_sn_client::will_retain |
struct mqtt_sn_data mqtt_sn_client::will_topic |
Must be initialized before connecting with will=true