Public Attributes | List of all members
MQTTProperty Struct Reference

#include <MQTTProperties.h>

Public Attributes

enum MQTTPropertyCodes identifier
 
union {
   struct {
      MQTTLenString   data
 
      MQTTLenString   value
 
   } 
 
   unsigned char   byte
 
   unsigned short   integer2
 
   unsigned int   integer4
 
value
 

Detailed Description

Structure to hold an MQTT version 5 property of any type

Definition at line 94 of file MQTTProperties.h.

Member Data Documentation

unsigned char MQTTProperty::byte

holds the value of a byte property type

Definition at line 99 of file MQTTProperties.h.

MQTTLenString MQTTProperty::data

The value of a string property, or the name of a user property.

Definition at line 103 of file MQTTProperties.h.

enum MQTTPropertyCodes MQTTProperty::identifier

The MQTT V5 property id. A multi-byte integer.

Definition at line 96 of file MQTTProperties.h.

unsigned short MQTTProperty::integer2

holds the value of a 2 byte integer property type

Definition at line 100 of file MQTTProperties.h.

unsigned int MQTTProperty::integer4

holds the value of a 4 byte integer property type

Definition at line 101 of file MQTTProperties.h.

MQTTLenString MQTTProperty::value

The value of a user property.

Definition at line 104 of file MQTTProperties.h.

union { ... } MQTTProperty::value

The value of the property, as a union of the different possible types.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49