MQTT-SN Client
MQTT-SN client library.
Public Attributes | List of all members
CC_MqttsnMessageInfo Struct Reference

Incoming message information. More...

Public Attributes

const char * topic
 Topic the message was published with. May be NULL if message is reported with predefined topic ID. More...
 
CC_MqttsnTopicId topicId
 Predefined topic ID. This data member is used only if topic field has value NULL. More...
 
const unsigned char * msg
 Pointer to reported message binary data. More...
 
unsigned msgLen
 Number of bytes in reported message binary data. More...
 
CC_MqttsnQoS qos
 QoS level the message was received with. More...
 
bool retain
 Retain flag of the message. More...
 

Detailed Description

Incoming message information.

Member Data Documentation

◆ msg

const unsigned char* CC_MqttsnMessageInfo::msg

Pointer to reported message binary data.

◆ msgLen

unsigned CC_MqttsnMessageInfo::msgLen

Number of bytes in reported message binary data.

◆ qos

CC_MqttsnQoS CC_MqttsnMessageInfo::qos

QoS level the message was received with.

◆ retain

bool CC_MqttsnMessageInfo::retain

Retain flag of the message.

◆ topic

const char* CC_MqttsnMessageInfo::topic

Topic the message was published with. May be NULL if message is reported with predefined topic ID.

◆ topicId

CC_MqttsnTopicId CC_MqttsnMessageInfo::topicId

Predefined topic ID. This data member is used only if topic field has value NULL.


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