AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
Return to main page ↑ |
Extract MQTT packet type and length from incoming packet.
[in,out] | pIncomingPacket | Pointer to IotMqttPacketInfo_t structure where type, remaining length and packet identifier are stored. |
[in] | getNextByte | Pointer to platform specific function which is used to extract type and length from incoming received stream (see example ). |
[in] | pNetworkConnection | Pointer to platform specific network connection which is used by getNextByte to receive network data |
Example