AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
Return to main page ↑ |
Generate a CONNECT packet from the given parameters.
[in] | pConnectInfo | User-provided CONNECT information. |
[in] | remainingLength | remaining length of the packet to be serialized. |
[in,out] | pBuffer | User provided buffer where the CONNECT packet is written. |
[in] | bufferSize | Size of the buffer pointed to by pBuffer. |
Example