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