nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches

◆ mqtt_helper_deinit()

int mqtt_helper_deinit ( void )

#include <include/net/mqtt_helper.h>

Deinitialize library. Must be called when all MQTT operations are done to release resources and allow for a new client. The client must be in a disconnected state.

Return values
0if successful.
-EOPNOTSUPPif operation is not supported in the current state.
Returns
Otherwise a negative error code.