MQTT Client Topic Subscription Info structure.

This structure holds the information related to a topic subscription for the MQTT client. It includes the message handler for the topic, the Quality of Service (QoS) level, and the topic itself.

Public Attributes#

sl_slist_node_t

Next node in the linked list of subscriptions.

Function pointer to the message handler for the subscribed topic.

Quality of Service level for the subscription.

uint16_t

Length of the subscribed topic. It should not exceed 202 bytes that includes NULL termination character.

uint8_t

Flexible array to store the topic name.

Public Attribute Documentation#

next_subscription#

sl_slist_node_t sl_mqtt_client_topic_subscription_info_t::next_subscription

Next node in the linked list of subscriptions.


topic_message_handler#

sl_mqtt_client_message_received_t sl_mqtt_client_topic_subscription_info_t::topic_message_handler

Function pointer to the message handler for the subscribed topic.


qos_of_subscription#

sl_mqtt_qos_t sl_mqtt_client_topic_subscription_info_t::qos_of_subscription

Quality of Service level for the subscription.


topic_length#

uint16_t sl_mqtt_client_topic_subscription_info_t::topic_length

Length of the subscribed topic. It should not exceed 202 bytes that includes NULL termination character.


topic#

uint8_t sl_mqtt_client_topic_subscription_info_t::topic[]

Flexible array to store the topic name.