Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/mqtt_sn/
Dmqtt_sn_encoder.c66 flags->clean_session, flags->qos, flags->topic_type); in encode_flags()
74 b |= ((flags->topic_type << MQTT_SN_FLAGS_SHIFT_TOPICID_TYPE) & in encode_flags()
215 .topic_type = params->topic_type}; in mqtt_sn_encode_msg_publish()
310 .dup = params->dup, .qos = params->qos, .topic_type = params->topic_type}; in mqtt_sn_encode_msg_subscribe()
313 if (params->topic_type == MQTT_SN_TOPIC_TYPE_NORMAL) { in mqtt_sn_encode_msg_subscribe()
327 if (params->topic_type == MQTT_SN_TOPIC_TYPE_NORMAL) { in mqtt_sn_encode_msg_subscribe()
341 struct mqtt_sn_flags flags = {.topic_type = params->topic_type}; in mqtt_sn_encode_msg_unsubscribe()
343 if (params->topic_type == MQTT_SN_TOPIC_TYPE_NORMAL) { in mqtt_sn_encode_msg_unsubscribe()
358 if (params->topic_type == MQTT_SN_TOPIC_TYPE_NORMAL) { in mqtt_sn_encode_msg_unsubscribe()
Dmqtt_sn_msg.h31 enum mqtt_sn_topic_type topic_type; member
116 enum mqtt_sn_topic_type topic_type; member
143 enum mqtt_sn_topic_type topic_type; member
159 enum mqtt_sn_topic_type topic_type; member
Dmqtt_sn_decoder.c82 flags->topic_type = (enum mqtt_sn_topic_type)((b & MQTT_SN_FLAGS_MASK_TOPICID_TYPE) >> in decode_flags()
201 params->topic_type = flags.topic_type; in decode_msg_publish()
Dmqtt_sn.c422 p.params.subscribe.topic_type = topic->type; in mqtt_sn_do_subscribe()
455 p.params.unsubscribe.topic_type = topic->type; in mqtt_sn_do_unsubscribe()
521 p.params.publish.topic_type = pub->topic->type; in mqtt_sn_do_publish()
1286 .topic_type = p->topic_type}, in handle_publish()
/Zephyr-latest/tests/net/lib/mqtt_sn_packet/src/
Dmqtt_sn_packet.c186 .topic_type = MQTT_SN_TOPIC_TYPE_SHORT,
410 .topic_type = MQTT_SN_TOPIC_TYPE_SHORT,
462 .topic_type = MQTT_SN_FLAGS_TOPICID_TYPE_NORMAL,
473 .topic_type = MQTT_SN_FLAGS_TOPICID_TYPE_PREDEF,
/Zephyr-latest/include/zephyr/net/
Dmqtt_sn.h135 enum mqtt_sn_topic_type topic_type; member