AWS IoT Device SDK C: MQTT
MQTT 3.1.1 client library
Return to main page ↑
IotMqtt_Init

One-time initialization function for the MQTT library.

This function performs setup of the MQTT library. It must be called once (and only once) before calling any other MQTT function. Calling this function more than once without first calling IotMqtt_Cleanup may result in a crash.

Returns
One of the following:
Warning
No thread-safety guarantees are provided for this function.
See also
IotMqtt_Cleanup