nRF5 IoT SDK v0.9.0
Data Fields
mqtt_publish_param_t Struct Reference

Data Fields

mqtt_publish_message_t message
 
uint16_t message_id
 
uint8_t dup_flag:1
 
uint8_t retain_flag:1
 

Field Documentation

uint8_t mqtt_publish_param_t::dup_flag

Duplicate flag. If 1, it indicates the message is being retransmitted. Has no meaning with QoS 0.

mqtt_publish_message_t mqtt_publish_param_t::message

Messages including topic, QoS and its payload (if any) to be published.

uint16_t mqtt_publish_param_t::message_id

Message id used for the publish message. Redundant for QoS 0.

uint8_t mqtt_publish_param_t::retain_flag

retain flag. If 1, the message shall be stored persistently by the broker.


This document was last updated on Tue Dec 1 2015.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.