Lines Matching refs:topic
139 size_t msgsz = 1 + params->topic.size; in mqtt_sn_encode_msg_willtopic()
150 net_buf_simple_add_data(buf, ¶ms->topic); in mqtt_sn_encode_msg_willtopic()
174 size_t msgsz = 4 + params->topic.size; in mqtt_sn_encode_msg_register()
185 net_buf_simple_add_data(buf, ¶ms->topic); in mqtt_sn_encode_msg_register()
314 msgsz += params->topic.topic_name.size; in mqtt_sn_encode_msg_subscribe()
328 net_buf_simple_add_data(buf, ¶ms->topic.topic_name); in mqtt_sn_encode_msg_subscribe()
330 net_buf_simple_add_be16(buf, params->topic.topic_id); in mqtt_sn_encode_msg_subscribe()
344 msgsz += params->topic.topic_name.size; in mqtt_sn_encode_msg_unsubscribe()
359 net_buf_simple_add_data(buf, ¶ms->topic.topic_name); in mqtt_sn_encode_msg_unsubscribe()
361 net_buf_simple_add_be16(buf, params->topic.topic_id); in mqtt_sn_encode_msg_unsubscribe()
415 if (params->topic.size) { in mqtt_sn_encode_msg_willtopicupd()
416 msgsz += 1 + params->topic.size; in mqtt_sn_encode_msg_willtopicupd()
425 if (params->topic.size) { in mqtt_sn_encode_msg_willtopicupd()
428 net_buf_simple_add_data(buf, ¶ms->topic); in mqtt_sn_encode_msg_willtopicupd()