Home
last modified time | relevance | path

Searched refs:gwinfo (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/net/lib/mqtt_sn_client/src/
Dmqtt_sn_client.c249 static uint8_t gwinfo[3]; in ZTEST() local
251 gwinfo[0] = 3; in ZTEST()
252 gwinfo[1] = 0x02; in ZTEST()
253 gwinfo[2] = gw_id; in ZTEST()
270 err = input(mqtt_client, gwinfo, sizeof(gwinfo), &gw_addr); in ZTEST()
282 static uint8_t gwinfo[3 + 3]; in ZTEST() local
284 gwinfo[0] = 3 + gw_addr.size; in ZTEST()
285 gwinfo[1] = 0x02; in ZTEST()
286 gwinfo[2] = gw_id; in ZTEST()
287 memcpy(&gwinfo[3], gw_addr.data, 3); in ZTEST()
[all …]
/Zephyr-latest/tests/net/lib/mqtt_sn_packet/src/
Dmqtt_sn_packet.c34 static uint8_t gwinfo[] = { 7, 0x02, 42, 127, 0, 0, 1 }; variable
111 MQTT_SN_DECODE_TEST(gwinfo),
114 .params.gwinfo = {
117 .data = gwinfo+3,
333 MQTT_SN_ENCODE_TEST(gwinfo),
336 .params.gwinfo = {
/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_msg.h202 struct mqtt_sn_param_gwinfo gwinfo; member
Dmqtt_sn_decoder.c351 return decode_msg_gwinfo(buf, &params->params.gwinfo); in mqtt_sn_decode_msg()
Dmqtt_sn_encoder.c466 result = mqtt_sn_encode_msg_gwinfo(buf, &param->params.gwinfo); in mqtt_sn_encode_msg()
Dmqtt_sn.c550 response.params.gwinfo.gw_id = gw->gw_id; in mqtt_sn_do_gwinfo()
553 response.params.gwinfo.gw_add = addr; in mqtt_sn_do_gwinfo()
1437 handle_gwinfo(client, &p.params.gwinfo, rx_addr); in handle_msg()