AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
Return to main page ↑ |
Calculate the size and "Remaining length" of a PUBLISH packet generated from the given parameters.
[in] | pPublishInfo | User-provided PUBLISH information struct. |
[out] | pRemainingLength | Output for calculated "Remaining length" field. |
[out] | pPacketSize | Output for calculated total packet size. |
Example