Paho MQTT C Client Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
MQTTProperty Struct Reference

#include <MQTTProperties.h>

Data Fields

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

Detailed Description

Structure to hold an MQTT version 5 property of any type

Field Documentation

enum MQTTPropertyCodes identifier

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

unsigned char byte

holds the value of a byte property type

unsigned short integer2

holds the value of a 2 byte integer property type

unsigned int integer4

holds the value of a 4 byte integer property type

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

The value of a user property.

union { ... } 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: