MQTTSNTopicDescriptor Struct ReferenceMQTT-SN Client

Table of contents Table of contents

Detailed Description

Structure describing a single MQTT-SN topic.

Data Fields

uint16_t registerMessageId
 Id of the REGISTER message that was sent during topic registration.
 
MQTTSNTopicId topicId
 MQTT-SN topic id.
 
char topicName [MQTTSN_MAX_TOPIC_NAME_LENGTH]
 MQTT-SN topic name.
 
size_t topicNameLen
 MQTT-SN topic name length.
 
MQTTSNOnTopicRegisteredByClient onTopicRegisteredByClient
 Callback that will be called when this topic is registered by client.
 
MQTTSNOnPublishReceived onPublishReceived
 Callback that will be called when a published message is received on this topic.
 

Field Documentation

◆ registerMessageId

uint16_t MQTTSNTopicDescriptor::registerMessageId

Id of the REGISTER message that was sent during topic registration.

◆ topicId

MQTTSNTopicId MQTTSNTopicDescriptor::topicId

MQTT-SN topic id.

◆ topicName

char MQTTSNTopicDescriptor::topicName[MQTTSN_MAX_TOPIC_NAME_LENGTH]

MQTT-SN topic name.

◆ topicNameLen

size_t MQTTSNTopicDescriptor::topicNameLen

MQTT-SN topic name length.

◆ onTopicRegisteredByClient

MQTTSNOnTopicRegisteredByClient MQTTSNTopicDescriptor::onTopicRegisteredByClient

Callback that will be called when this topic is registered by client.

◆ onPublishReceived

MQTTSNOnPublishReceived MQTTSNTopicDescriptor::onPublishReceived

Callback that will be called when a published message is received on this topic.


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