Searched refs:mqtt_sn_client (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/include/zephyr/net/ |
D | mqtt_sn.h | 151 struct mqtt_sn_client; 161 typedef void (*mqtt_sn_evt_cb_t)(struct mqtt_sn_client *client, const struct mqtt_sn_evt *evt); 196 int (*sendto)(struct mqtt_sn_client *client, void *buf, size_t sz, const void *dest_addr, 205 ssize_t (*recvfrom)(struct mqtt_sn_client *client, void *rx_buf, size_t rx_len, 218 int (*poll)(struct mqtt_sn_client *client); 253 struct mqtt_sn_client { struct 336 int mqtt_sn_client_init(struct mqtt_sn_client *client, const struct mqtt_sn_data *client_id, argument 347 void mqtt_sn_client_deinit(struct mqtt_sn_client *client); 360 int mqtt_sn_add_gw(struct mqtt_sn_client *client, uint8_t gw_id, struct mqtt_sn_data gw_addr); 370 int mqtt_sn_search(struct mqtt_sn_client *client, uint8_t radius); [all …]
|
/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn.c | 80 static void mqtt_sn_set_state(struct mqtt_sn_client *client, enum mqtt_sn_client_state state) in mqtt_sn_set_state() 101 static int encode_and_send(struct mqtt_sn_client *client, struct mqtt_sn_param *p, in encode_and_send() 157 static void mqtt_sn_publish_destroy(struct mqtt_sn_client *client, struct mqtt_sn_publish *pub) in mqtt_sn_publish_destroy() 163 static void mqtt_sn_publish_destroy_all(struct mqtt_sn_client *client) in mqtt_sn_publish_destroy_all() 200 static struct mqtt_sn_publish *mqtt_sn_publish_find_msg_id(struct mqtt_sn_client *client, in mqtt_sn_publish_find_msg_id() 214 static struct mqtt_sn_publish *mqtt_sn_publish_find_topic(struct mqtt_sn_client *client, in mqtt_sn_publish_find_topic() 257 static struct mqtt_sn_topic *mqtt_sn_topic_find_name(struct mqtt_sn_client *client, in mqtt_sn_topic_find_name() 272 static struct mqtt_sn_topic *mqtt_sn_topic_find_msg_id(struct mqtt_sn_client *client, in mqtt_sn_topic_find_msg_id() 286 static void mqtt_sn_topic_destroy(struct mqtt_sn_client *client, struct mqtt_sn_topic *topic) in mqtt_sn_topic_destroy() 299 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 | 148 static int tp_udp_sendto(struct mqtt_sn_client *client, void *buf, size_t sz, const void *dest_addr, in tp_udp_sendto() 190 static ssize_t tp_udp_recvfrom(struct mqtt_sn_client *client, void *buffer, size_t length, in tp_udp_recvfrom() 218 static int tp_udp_poll(struct mqtt_sn_client *client) in tp_udp_poll()
|
/Zephyr-latest/tests/net/lib/mqtt_sn_client/src/ |
D | mqtt_sn_client.c | 31 struct mqtt_sn_client *client; 43 static int msg_sendto(struct mqtt_sn_client *client, void *buf, size_t sz, const void *dest_addr, in msg_sendto() 77 static void evt_cb(struct mqtt_sn_client *client, const struct mqtt_sn_evt *evt) in evt_cb() 101 static ssize_t tp_recvfrom(struct mqtt_sn_client *client, void *buffer, size_t length, in tp_recvfrom() 115 int tp_poll(struct mqtt_sn_client *client) in tp_poll() 120 static ZTEST_BMEM struct mqtt_sn_client mqtt_clients[8]; 121 static ZTEST_BMEM struct mqtt_sn_client *mqtt_client; 142 static int input(struct mqtt_sn_client *client, void *buf, size_t sz, in input() 153 static void mqtt_sn_connect_no_will(struct mqtt_sn_client *client) in mqtt_sn_connect_no_will() 182 static ZTEST(mqtt_sn_client, test_mqtt_sn_handle_advertise) in ZTEST() argument [all …]
|
/Zephyr-latest/tests/net/lib/mqtt_sn_client/ |
D | CMakeLists.txt | 6 project(mqtt_sn_client) project
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/src/ |
D | udp.c | 31 static APP_BMEM struct mqtt_sn_client mqtt_client; 40 static void evt_cb(struct mqtt_sn_client *client, const struct mqtt_sn_evt *evt) in evt_cb()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | mqtt_sn.rst | 46 static struct mqtt_sn_client client; 61 static void evt_cb(struct mqtt_sn_client *client,
|