Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/lib/mqtt_sn_client/src/
Dmqtt_sn_client.c19 static const uint8_t gw_id = 12; variable
164 err = mqtt_sn_add_gw(client, gw_id, gw_addr); in mqtt_sn_connect_no_will()
237 err = mqtt_sn_add_gw(mqtt_client, gw_id, gw_addr); in ZTEST()
253 gwinfo[2] = gw_id; in ZTEST()
286 gwinfo[2] = gw_id; in ZTEST()
322 err = mqtt_sn_add_gw(mqtt_client, gw_id, gw_addr); in ZTEST()
359 err = mqtt_sn_add_gw(mqtt_client, gw_id, gw_addr); in ZTEST()
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn.c61 char gw_id; member
319 LOG_DBG("Destroying gateway %d", gw->gw_id); in mqtt_sn_gw_destroy()
336 static struct mqtt_sn_gateway *mqtt_sn_gw_create(uint8_t gw_id, short duration, in mqtt_sn_gw_create() argument
353 gw->gw_id = gw_id; in mqtt_sn_gw_create()
364 static struct mqtt_sn_gateway *mqtt_sn_gw_find_id(struct mqtt_sn_client *client, uint16_t gw_id) in mqtt_sn_gw_find_id() argument
369 if (gw->gw_id == gw_id) { in mqtt_sn_gw_find_id()
550 response.params.gwinfo.gw_id = gw->gw_id; in mqtt_sn_do_gwinfo()
726 LOG_DBG("Removing non-responsive GW 0x%08x", gw->gw_id); in process_ping()
784 LOG_DBG("Checking if GW 0x%02x is old", gw->gw_id); in process_advertise()
786 LOG_DBG("Removing non-responsive GW 0x%08x", gw->gw_id); in process_advertise()
[all …]
Dmqtt_sn_msg.h66 uint8_t gw_id; member
75 uint8_t gw_id; member
Dmqtt_sn_decoder.c108 params->gw_id = net_buf_simple_pull_u8(buf); in decode_msg_advertise()
131 params->gw_id = net_buf_simple_pull_u8(buf); in decode_msg_gwinfo()
Dmqtt_sn_encoder.c107 net_buf_simple_add_u8(buf, params->gw_id); in mqtt_sn_encode_msg_gwinfo()
/Zephyr-latest/tests/net/lib/mqtt_sn_packet/src/
Dmqtt_sn_packet.c105 .gw_id = 42,
115 .gw_id = 42,
337 .gw_id = 42,
/Zephyr-latest/include/zephyr/net/
Dmqtt_sn.h360 int mqtt_sn_add_gw(struct mqtt_sn_client *client, uint8_t gw_id, struct mqtt_sn_data gw_addr);