mqtt_connack_param_t

nRF5 SDK v14.1.0

Parameters for a connection acknowledgment (connack). More...

#include <mqtt.h>

Detailed Description

Parameters for a connection acknowledgment (connack).

Field Documentation

mqtt_conn_return_code_t mqtt_connack_param_t::return_code

The appropriate non-zero Connect return code indicates if the Server is unable to process a connection request for some reason.

uint8_t mqtt_connack_param_t::session_present_flag

The Session Present flag enables a Client to establish whether the Client and Server have a consistent view about whether there is already stored Session state.

  • components/iot/mqtt/mqtt.h