picofuse

Data Fields
net_mqtt_subscribed_t Struct Reference

Payload for a net_mqtt_event_subscribed event. More...

#include <mqtt.h>

Data Fields

net_mqtt_qos_t granted_qos
 The QoS the broker actually granted for. More...
 
uint32_t topic_id
 The id net_mqtt_subscribe() returned for the call this event completes - from this point on, the same number that was a transient message_id is this subscription's persistent topic_id (see net_mqtt_subscribe()'s own doc), the one net_mqtt_unsubscribe() and net_mqtt_topic_to_string() take. More...
 

Detailed Description

Payload for a net_mqtt_event_subscribed event.

Definition at line 178 of file mqtt.h.

Field Documentation

◆ granted_qos

net_mqtt_qos_t net_mqtt_subscribed_t::granted_qos

The QoS the broker actually granted for.

this subscription - may be lower than what was requested, never higher.

Definition at line 179 of file mqtt.h.

◆ topic_id

uint32_t net_mqtt_subscribed_t::topic_id

The id net_mqtt_subscribe() returned for the call this event completes - from this point on, the same number that was a transient message_id is this subscription's persistent topic_id (see net_mqtt_subscribe()'s own doc), the one net_mqtt_unsubscribe() and net_mqtt_topic_to_string() take.

Definition at line 182 of file mqtt.h.


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