coreMQTT v5.0.0
MQTT 5.0 Client Library
 
Loading...
Searching...
No Matches
MQTTSubscribeInfo_t Struct Reference

MQTT SUBSCRIBE packet parameters. More...

#include <core_mqtt_serializer.h>

Data Fields

MQTTQoS_t qos
 Quality of Service for subscription. Include protocol error of qos > 2.
 
const char * pTopicFilter
 Topic filter to subscribe to.
 
size_t topicFilterLength
 Length of subscription topic filter - unsigned long.
 
bool noLocalOption
 no local option for subscription. Include protocol error if noLocalOption = 1 in a shared subscription
 
bool retainAsPublishedOption
 If true, Application Messages forwarded using this subscription keep the RETAIN flag they were published with.
 
MQTTRetainHandling_t retainHandlingOption
 Specifies whether retained messages are sent when the subscription is established.
 

Detailed Description

MQTT SUBSCRIBE packet parameters.

Field Documentation

◆ noLocalOption

bool MQTTSubscribeInfo_t::noLocalOption

no local option for subscription. Include protocol error if noLocalOption = 1 in a shared subscription

If true, Application Messages that are published to this subscription will not be forwarded to the Client that published them.


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