Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mqtt_evt_param Union Reference

Defines event parameters notified along with asynchronous events to the application. More...

#include <mqtt.h>

Data Fields

struct mqtt_connack_param connack
 Parameters accompanying MQTT_EVT_CONNACK event.
 
struct mqtt_publish_param publish
 Parameters accompanying MQTT_EVT_PUBLISH event.
 
struct mqtt_puback_param puback
 Parameters accompanying MQTT_EVT_PUBACK event.
 
struct mqtt_pubrec_param pubrec
 Parameters accompanying MQTT_EVT_PUBREC event.
 
struct mqtt_pubrel_param pubrel
 Parameters accompanying MQTT_EVT_PUBREL event.
 
struct mqtt_pubcomp_param pubcomp
 Parameters accompanying MQTT_EVT_PUBCOMP event.
 
struct mqtt_suback_param suback
 Parameters accompanying MQTT_EVT_SUBACK event.
 
struct mqtt_unsuback_param unsuback
 Parameters accompanying MQTT_EVT_UNSUBACK event.
 

Detailed Description

Defines event parameters notified along with asynchronous events to the application.

Field Documentation

◆ connack

struct mqtt_connack_param mqtt_evt_param::connack

Parameters accompanying MQTT_EVT_CONNACK event.

◆ puback

struct mqtt_puback_param mqtt_evt_param::puback

Parameters accompanying MQTT_EVT_PUBACK event.

◆ pubcomp

struct mqtt_pubcomp_param mqtt_evt_param::pubcomp

Parameters accompanying MQTT_EVT_PUBCOMP event.

◆ publish

struct mqtt_publish_param mqtt_evt_param::publish

Parameters accompanying MQTT_EVT_PUBLISH event.

Note
PUBLISH event structure only contains payload size, the payload data parameter should be ignored. Payload content has to be read manually with mqtt_read_publish_payload function.

◆ pubrec

struct mqtt_pubrec_param mqtt_evt_param::pubrec

Parameters accompanying MQTT_EVT_PUBREC event.

◆ pubrel

struct mqtt_pubrel_param mqtt_evt_param::pubrel

Parameters accompanying MQTT_EVT_PUBREL event.

◆ suback

struct mqtt_suback_param mqtt_evt_param::suback

Parameters accompanying MQTT_EVT_SUBACK event.

◆ unsuback

struct mqtt_unsuback_param mqtt_evt_param::unsuback

Parameters accompanying MQTT_EVT_UNSUBACK event.


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