MQTT C Client Libraries Internals: MQTTProperty Struct Reference

| MQTT C Client Libraries Internals

Loading...
Searching...
No Matches
Data Fields
MQTTProperty Struct Reference

Structure to hold an MQTT version 5 property of any type. More...

`#include <MQTTProperties.h>`

Collaboration diagram for MQTTProperty:
[legend]

## Data Fields
enum MQTTPropertyCodes | identifier
| The MQTT V5 property id.
union { |
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
struct { |
MQTTLenString data |
| The value of a string property, or the name of a user property.
MQTTLenString value |
| The value of a user property.
} |
} | value
| The value of the property, as a union of the different possible types.

## Detailed Description

Structure to hold an MQTT version 5 property of any type.

## Field Documentation

## ◆ identifier

enum MQTTPropertyCodes MQTTProperty::identifier

The MQTT V5 property id.

A multi-byte integer.

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

- MQTTProperties.h