Zigbee Protocol Controller 1.6.0
mqtt_message Struct Reference

#include <mqtt_wrapper.h>

Public Attributes

int mid
 Message-ID. More...
 
const char * topic
 MQTT-topic where message originated from. More...
 
void * payload
 Pointer to the payload. More...
 
int payloadlen
 Size of the payload in bytes. More...
 
int qos
 QoS value when message was published. More...
 
bool retain
 True if this was a retained message. More...
 

Member Data Documentation

◆ mid

int mqtt_message::mid

Message-ID.

◆ payload

void* mqtt_message::payload

Pointer to the payload.

◆ payloadlen

int mqtt_message::payloadlen

Size of the payload in bytes.

◆ qos

int mqtt_message::qos

QoS value when message was published.

◆ retain

bool mqtt_message::retain

True if this was a retained message.

◆ topic

const char* mqtt_message::topic

MQTT-topic where message originated from.


The documentation for this struct was generated from the following file: