Home
last modified time | relevance | path

Searched refs:clean_session (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_msg.h30 bool clean_session; member
81 bool clean_session; member
Dmqtt_sn_encoder.c66 flags->clean_session, flags->qos, flags->topic_type); in encode_flags()
71 b |= flags->clean_session ? MQTT_SN_FLAGS_CLEANSESSION : 0; in encode_flags()
117 struct mqtt_sn_flags flags = {.will = params->will, .clean_session = params->clean_session}; in mqtt_sn_encode_msg_connect()
Dmqtt_sn_decoder.c78 flags->clean_session = (bool)(b & MQTT_SN_FLAGS_CLEANSESSION); in decode_flags()
Dmqtt_sn.c930 int mqtt_sn_connect(struct mqtt_sn_client *client, bool will, bool clean_session) in mqtt_sn_connect() argument
943 if (clean_session) { in mqtt_sn_connect()
947 p.params.connect.clean_session = clean_session; in mqtt_sn_connect()
/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_packet/src/
Dmqtt_packet.c236 .clean_session = 1, .client_id = CLIENTID,
260 .clean_session = 1, .client_id = CLIENTID,
282 .clean_session = 1, .client_id = CLIENTID,
304 .clean_session = 1, .client_id = CLIENTID,
326 .clean_session = 1, .client_id = CLIENTID,
350 .clean_session = 1, .client_id = CLIENTID,
718 client.clean_session = test_client->clean_session; in eval_msg_connect()
/Zephyr-latest/include/zephyr/net/
Dmqtt_sn.h381 int mqtt_sn_connect(struct mqtt_sn_client *client, bool will, bool clean_session);
Dmqtt.h562 uint8_t clean_session : 1; member
/Zephyr-latest/tests/net/lib/mqtt_sn_packet/src/
Dmqtt_sn_packet.c348 .clean_session = true,
/Zephyr-latest/subsys/net/lib/mqtt/
Dmqtt_encoder.c279 uint8_t connect_flags = client->clean_session << 1; in connect_request_encode()
Dmqtt.c180 client->clean_session = MQTT_CLEAN_SESSION; in mqtt_client_init()
/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_client/src/
Dmain.c569 client->clean_session = true; in client_init()