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

◆ mqtt_helper_connect()

int mqtt_helper_connect ( struct mqtt_helper_conn_params * conn_params)

#include <include/net/mqtt_helper.h>

Connect to an MQTT broker.

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