Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mqtt_evt Struct Reference

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

#include <mqtt.h>

Data Fields

enum mqtt_evt_type type
 Identifies the event.
 
union mqtt_evt_param param
 Contains parameters (if any) accompanying the event.
 
int result
 Event result.
 

Detailed Description

Defines MQTT asynchronous event notified to the application.

Field Documentation

◆ param

union mqtt_evt_param mqtt_evt::param

Contains parameters (if any) accompanying the event.

◆ result

int mqtt_evt::result

Event result.

0 or a negative error code (errno.h) indicating reason of failure.

◆ type

enum mqtt_evt_type mqtt_evt::type

Identifies the event.


The documentation for this struct was generated from the following file: