AWS IoT Device SDK C: MQTT
MQTT 3.1.1 client library
Return to main page ↑
IotMqttPacketInfo_t Struct Reference

MQTT packet details. More...

#include <iot_mqtt_types.h>

Data Fields

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.
 
IotMqttPublishInfo_t pubInfo
 (Output) Publish info in case of deserializing PUBLISH.
 

Detailed Description

MQTT packet details.

Parameter for: IotMqtt_DeserializeResponse IotMqtt_DeserializePublish

Passed as an argument to public low level mqtt deserialize functions.

All instances of IotMqttPacketInfo_t should be initialized with IOT_MQTT_PACKET_INFO_INITIALIZER.

Note
This structure should be only used while accessing low level MQTT deserialization API. The low level serialization/ deserialization API should be only used for implementing light weight single threaded mqtt client.

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