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. | |
MQTT SUBSCRIBE packet parameters.
| 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.