This struct represents a packet sent to the MQTT server.
#include <mqtt.h>
Data Fields | |
uint8_t | fhdr |
uint16_t | mid |
uint8_t * | payload |
uint32_t | payload_size |
mqtt_qos_level_t | qos |
mqtt_qos_state_t | qos_state |
uint32_t | remaining_length |
uint8_t | remaining_length_enc [MQTT_MAX_REMAINING_LENGTH_BYTES] |
uint8_t | remaining_length_enc_bytes |
mqtt_retain_t | retain |
const char * | topic |
uint16_t | topic_length |
uint8_t mqtt_out_packet::fhdr |
uint16_t mqtt_out_packet::mid |
uint8_t* mqtt_out_packet::payload |
uint32_t mqtt_out_packet::payload_size |
mqtt_qos_level_t mqtt_out_packet::qos |
mqtt_qos_state_t mqtt_out_packet::qos_state |
uint32_t mqtt_out_packet::remaining_length |
uint8_t mqtt_out_packet::remaining_length_enc[MQTT_MAX_REMAINING_LENGTH_BYTES] |
uint8_t mqtt_out_packet::remaining_length_enc_bytes |
mqtt_retain_t mqtt_out_packet::retain |
const char* mqtt_out_packet::topic |
uint16_t mqtt_out_packet::topic_length |