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. | |
MQTTSNOnTopicSubscribedByClient | onTopicSubscribedByClient |
Callback that will be called when this topic is subscribed to by client. | |
MQTTSNOnTopicUnsubscribedByClient | onTopicUnsubscribedByClient |
Callback that will be called when this topic is unsubscribed by client. | |
MQTTSNOnPublishReceived | onPublishReceived |
Callback that will be called when a published message is received on this topic. | |
MQTTSNOnPublishSent | onPublishSent |
Callback that will be called when a message is sent to the 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.
MQTTSNOnTopicSubscribedByClient MQTTSNTopicDescriptor::onTopicSubscribedByClient |
Callback that will be called when this topic is subscribed to by client.
MQTTSNOnTopicUnsubscribedByClient MQTTSNTopicDescriptor::onTopicUnsubscribedByClient |
Callback that will be called when this topic is unsubscribed by client.
MQTTSNOnPublishReceived MQTTSNTopicDescriptor::onPublishReceived |
Callback that will be called when a published message is received on this topic.
MQTTSNOnPublishSent MQTTSNTopicDescriptor::onPublishSent |
Callback that will be called when a message is sent to the topic.
Any question or remarks? Just write us a message!
Feel free to get in touch