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

◆ mqtt_helper_disconnect()

int mqtt_helper_disconnect ( void )

#include <include/net/mqtt_helper.h>

Disconnect from the MQTT broker.

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