MQTTProperty(3)
π MQTTProperty π
okay bestie, so this is MQTTProperty(3) β a manual page from the Library Functions Manual, and it's genuinely one of the cutest little structs in the whole Paho MQTT C Client Library. she's giving "one struct to hold them all" energy and honestly? obsessed. π«Ά
β¨ SYNOPSIS β¨
#include <MQTTProperties.h>
π Data Fields
enum MQTTPropertyCodes identifierunion {unsigned char byte/unsigned short integer2/unsigned int integer4/struct {MQTTLenString data/MQTTLenString value}} value
πΈ Detailed Description πΈ
so like, what IS this thing? literally just:
Structure to hold an MQTT version 5 property of any type
periodt. that's the whole job. any type. she contains multitudes. π
π¦ Field Documentation π¦
β enum MQTTPropertyCodes identifier
The MQTT V5 property id. A multi-byte integer. no cap, multi-byte β so don't go assuming it fits in one lil byte, she's got range.
β 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
β MQTTLenString data
The value of a string property, or the name of a user property. two jobs, no complaints, main character behavior fr fr π
β MQTTLenString value
The value of a user property.
β union { ... } value
The value of the property, as a union of the different possible types. she's a union, she shape-shifts, it's giving versatility π
π Author π
Generated automatically by Doxygen for the Paho MQTT C Client Library from the source code. so yeah, a robot wrote her, and the robot ate. π€β¨
heads up bestie: sincevalueis a union, only one of those members is real at any given moment β the one that matchesidentifier. peek at the wrong one and you're reading whatever bytes happen to be chillin' there. no vibe check will save you. π
and that's the whole page!! mwah π shoutout to the Paho MQTT C Client Library, dated Tue Jun 2 2026 00:00:00, for bringing us this absolute icon. iykyk ππΈπ¦
π¦ where this page comes from
- fedora 44: paho-c-devel 1.3.16-1.fc44 Β· BSD-3-Clause AND EPL-2.0
- fedora 44: paho-c-devel 1.3.16-1.fc44 Β· BSD-3-Clause AND EPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms