Searched refs:mqtt_sn_client (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | mqtt_sn.h | 146 struct mqtt_sn_client; 156 typedef void (*mqtt_sn_evt_cb_t)(struct mqtt_sn_client *client, const struct mqtt_sn_evt *evt); 183 int (*msg_send)(struct mqtt_sn_client *client, void *buf, size_t sz); 190 ssize_t (*recv)(struct mqtt_sn_client *client, void *buffer, size_t length); 202 int (*poll)(struct mqtt_sn_client *client); 237 struct mqtt_sn_client { struct 305 int mqtt_sn_client_init(struct mqtt_sn_client *client, const struct mqtt_sn_data *client_id, argument 316 void mqtt_sn_client_deinit(struct mqtt_sn_client *client); 327 int mqtt_sn_connect(struct mqtt_sn_client *client, bool will, bool clean_session); 336 int mqtt_sn_disconnect(struct mqtt_sn_client *client); [all …]
|
/Zephyr-Core-3.5.0/tests/net/lib/mqtt_sn_client/src/ |
D | mqtt_sn_client.c | 26 struct mqtt_sn_client *client; 29 static int msg_send(struct mqtt_sn_client *client, void *buf, size_t sz) in msg_send() 53 static void evt_cb(struct mqtt_sn_client *client, const struct mqtt_sn_evt *evt) in evt_cb() 73 static ssize_t tp_recv(struct mqtt_sn_client *client, void *buffer, size_t length) in tp_recv() 82 int tp_poll(struct mqtt_sn_client *client) in tp_poll() 87 static ZTEST_BMEM struct mqtt_sn_client mqtt_clients[3]; 88 static ZTEST_BMEM struct mqtt_sn_client *mqtt_client; 106 static int input(struct mqtt_sn_client *client, void *buf, size_t sz) in input() 114 static void mqtt_sn_connect_no_will(struct mqtt_sn_client *client) in mqtt_sn_connect_no_will() 139 static ZTEST(mqtt_sn_client, test_mqtt_sn_connect_no_will) in ZTEST() argument [all …]
|
/Zephyr-Core-3.5.0/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn.c | 69 static void mqtt_sn_set_state(struct mqtt_sn_client *client, enum mqtt_sn_client_state state) in mqtt_sn_set_state() 88 static int encode_and_send(struct mqtt_sn_client *client, struct mqtt_sn_param *p) in encode_and_send() 130 static void mqtt_sn_publish_destroy(struct mqtt_sn_client *client, struct mqtt_sn_publish *pub) in mqtt_sn_publish_destroy() 136 static void mqtt_sn_publish_destroy_all(struct mqtt_sn_client *client) in mqtt_sn_publish_destroy_all() 173 static struct mqtt_sn_publish *mqtt_sn_publish_find_msg_id(struct mqtt_sn_client *client, in mqtt_sn_publish_find_msg_id() 187 static struct mqtt_sn_publish *mqtt_sn_publish_find_topic(struct mqtt_sn_client *client, in mqtt_sn_publish_find_topic() 230 static struct mqtt_sn_topic *mqtt_sn_topic_find_name(struct mqtt_sn_client *client, in mqtt_sn_topic_find_name() 245 static struct mqtt_sn_topic *mqtt_sn_topic_find_msg_id(struct mqtt_sn_client *client, in mqtt_sn_topic_find_msg_id() 259 static void mqtt_sn_topic_destroy(struct mqtt_sn_client *client, struct mqtt_sn_topic *topic) in mqtt_sn_topic_destroy() 272 static void mqtt_sn_topic_destroy_all(struct mqtt_sn_client *client) in mqtt_sn_topic_destroy_all() [all …]
|
D | mqtt_sn_transport_udp.c | 83 static int tp_udp_msg_send(struct mqtt_sn_client *client, void *buf, size_t sz) in tp_udp_msg_send() 102 static ssize_t tp_udp_recv(struct mqtt_sn_client *client, void *buffer, size_t length) in tp_udp_recv() 118 static int tp_udp_poll(struct mqtt_sn_client *client) in tp_udp_poll()
|
/Zephyr-Core-3.5.0/tests/net/lib/mqtt_sn_client/ |
D | CMakeLists.txt | 6 project(mqtt_sn_client) project
|
/Zephyr-Core-3.5.0/samples/net/mqtt_sn_publisher/src/ |
D | udp.c | 25 static APP_BMEM struct mqtt_sn_client mqtt_client; 34 static void evt_cb(struct mqtt_sn_client *client, const struct mqtt_sn_evt *evt) in evt_cb()
|
/Zephyr-Core-3.5.0/doc/connectivity/networking/api/ |
D | mqtt_sn.rst | 45 static struct mqtt_sn_client client; 60 static void evt_cb(struct mqtt_sn_client *client,
|
/Zephyr-Core-3.5.0/ |
D | CODEOWNERS | 948 /tests/net/lib/mqtt_sn_client/ @rlubos @BeckmaR
|