AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
Return to main page ↑ |
Represents an MQTT packet received from the network. More...
#include <iot_mqtt_internal.h>
Data Fields | |
union { | |
_mqttConnection_t * pMqttConnection | |
(Input) MQTT connection associated with this packet. Only used when deserializing SUBACKs. | |
_mqttOperation_t * pIncomingPublish | |
(Output) Operation representing an incoming PUBLISH. Only used when deserializing PUBLISHes. | |
} | u |
Valid member depends on packet being decoded. | |
uint8_t * | pRemainingData |
(Input) The remaining data in MQTT packet. | |
size_t | remainingLength |
(Input) Length of the remaining data in the MQTT packet. | |
uint16_t | packetIdentifier |
(Output) MQTT packet identifier. | |
uint8_t | type |
(Input) A value identifying the packet type. | |
Represents an MQTT packet received from the network.
This struct is used to hold parameters for the deserializers so that all deserializers have the same function signature.