nRF5 IoT SDK  v0.9.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
mqtt_evt_t Struct Reference

Defined MQTT asynchronous event notified to the application. More...

#include <mqtt.h>

Data Fields

mqtt_evt_id_t id
 
mqtt_evt_param_t param
 
uint32_t result
 

Detailed Description

Defined MQTT asynchronous event notified to the application.

Field Documentation

mqtt_evt_id_t mqtt_evt_t::id

Identifies the event.

mqtt_evt_param_t mqtt_evt_t::param

Contains parameters (if any) accompanying the event.

uint32_t mqtt_evt_t::result

Event result. For example, MQTT_EVT_CONNECT has a result code indicating success or failure code of connection procedure.