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