Home
last modified time | relevance | path

Searched refs:mqtt_sn_data (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dmqtt_sn.h85 struct mqtt_sn_data { struct
99 #define MQTT_SN_DATA_STRING_LITERAL(literal) ((struct mqtt_sn_data){literal, sizeof(literal) - 1})
109 ((struct mqtt_sn_data){(uint8_t[]){__VA_ARGS__}, sizeof((uint8_t[]){__VA_ARGS__})})
133 struct mqtt_sn_data data;
255 struct mqtt_sn_data client_id;
260 struct mqtt_sn_data will_topic;
265 struct mqtt_sn_data will_msg;
336 int mqtt_sn_client_init(struct mqtt_sn_client *client, const struct mqtt_sn_data *client_id,
360 int mqtt_sn_add_gw(struct mqtt_sn_client *client, uint8_t gw_id, struct mqtt_sn_data gw_addr);
412 struct mqtt_sn_data *topic_name);
[all …]
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_msg.h76 struct mqtt_sn_data gw_add;
83 struct mqtt_sn_data client_id;
93 struct mqtt_sn_data topic;
97 struct mqtt_sn_data msg;
103 struct mqtt_sn_data topic;
119 struct mqtt_sn_data data;
146 struct mqtt_sn_data topic_name;
162 struct mqtt_sn_data topic_name;
172 struct mqtt_sn_data client_id;
182 struct mqtt_sn_data topic;
[all …]
Dmqtt_sn.c174 static struct mqtt_sn_publish *mqtt_sn_publish_create(struct mqtt_sn_data *data) in mqtt_sn_publish_create()
228 static struct mqtt_sn_topic *mqtt_sn_topic_create(struct mqtt_sn_data *name) in mqtt_sn_topic_create()
258 struct mqtt_sn_data *topic_name) in mqtt_sn_topic_find_name()
337 struct mqtt_sn_data gw_addr) in mqtt_sn_gw_create()
541 struct mqtt_sn_data addr; in mqtt_sn_do_gwinfo()
849 int mqtt_sn_client_init(struct mqtt_sn_client *client, const struct mqtt_sn_data *client_id, in mqtt_sn_client_init()
896 int mqtt_sn_add_gw(struct mqtt_sn_client *client, uint8_t gw_id, struct mqtt_sn_data gw_addr) in mqtt_sn_add_gw()
993 struct mqtt_sn_data *topic_name) in mqtt_sn_subscribe()
1028 struct mqtt_sn_data *topic_name) in mqtt_sn_unsubscribe()
1060 struct mqtt_sn_data *topic_name, bool retain, struct mqtt_sn_data *data) in mqtt_sn_publish()
[all …]
Dmqtt_sn_decoder.c86 static void decode_data(struct net_buf_simple *buf, struct mqtt_sn_data *dest) in decode_data()
/Zephyr-latest/samples/net/mqtt_sn_publisher/src/
Dudp.c33 static APP_DMEM struct mqtt_sn_data client_id = MQTT_SN_DATA_STRING_LITERAL("ZEPHYR");
83 static APP_DMEM struct mqtt_sn_data topic_p = MQTT_SN_DATA_STRING_LITERAL("/uptime"); in do_work()
84 static APP_DMEM struct mqtt_sn_data topic_s = MQTT_SN_DATA_STRING_LITERAL("/number"); in do_work()
86 struct mqtt_sn_data pubdata = {.data = out}; in do_work()
157 struct mqtt_sn_data gwaddr_data = {.data = (uint8_t *)&bcaddr, in process_thread()
/Zephyr-latest/tests/net/lib/mqtt_sn_client/src/
Dmqtt_sn_client.c17 static const struct mqtt_sn_data client_id = MQTT_SN_DATA_STRING_LITERAL("zephyr");
18 static const struct mqtt_sn_data client2_id = MQTT_SN_DATA_STRING_LITERAL("zephyr2");
20 static const struct mqtt_sn_data gw_addr = MQTT_SN_DATA_STRING_LITERAL("gw1");
38 int mqtt_sn_data_cmp(struct mqtt_sn_data data1, struct mqtt_sn_data data2) in mqtt_sn_data_cmp()
57 static void assert_msg_send(int called, size_t msg_sz, const struct mqtt_sn_data *dest_addr) in assert_msg_send()
65 *((struct mqtt_sn_data *)msg_send_data.dest_addr)), in assert_msg_send()
143 const struct mqtt_sn_data *src_addr) in input()
394 struct mqtt_sn_data data = MQTT_SN_DATA_STRING_LITERAL("Hello, World!"); in ZTEST()
395 struct mqtt_sn_data topic = MQTT_SN_DATA_STRING_LITERAL("zephyr"); in ZTEST()
/Zephyr-latest/doc/connectivity/networking/api/
Dmqtt_sn.rst77 struct mqtt_sn_data client_id = MQTT_SN_DATA_STRING_LITERAL("ZEPHYR");