MQTTAsync_failureData5(3)
π NAME π
MQTTAsync_failureData5 β bestie, this is the lil' struct that shows up when your API call does NOT slay π
β¨ SYNOPSIS β¨
#include <MQTTAsync.h>
π Data Fields π
char struct_id[4]
int struct_version
MQTTAsync_token token
enum MQTTReasonCodes reasonCode
MQTTProperties properties
int code
const char * message
int packet_type
πΈ Detailed Description πΈ
Okay so picture this: you made an API call and it went absolutely nowhere π. This is the data you get handed back when that unsuccessful API call finishes, and it lands in the response callback onFailure. That's the whole vibe. No cap.
π¦ Field Documentation π¦
char struct_id[4]
The eyecatcher for this structure, bestie β it's the little "hey it's me" tag. It will be MQFD. π
int struct_version
The version number of this structure. It will be 0. That's it, that's the number. β¨
MQTTAsync_token token
A token identifying the failed request. This is the receipts for the one that flopped π«Ά
enum MQTTReasonCodes reasonCode
The MQTT reason code that got returned. The why, if you will π
MQTTProperties properties
The MQTT properties riding along on the ack, if any. Could be none! Lowkey optional energy.
int code
A numeric code identifying the MQTT client library error. A whole number that says "yeah this is what went wrong" π₯
const char* message
Optional further text explaining the error. It can be NULL, so don't come for it if it's empty, fr fr.
int packet_type
Packet type on which the failure occurred β this one's used for publish QoS 1/2 exchanges π
π Author π
Generated automatically by Doxygen for Paho Asynchronous MQTT C Client Library from the source code. Not me writing it by hand, it's the robot doing its thing π€β¨
And that's the whole page, bestie β this little icon was brought to you by Paho Asynchronous MQTT C..., dated Tue Jun 2 2026 00:00:00, and yeah it's literally just MQTTAsync_failureData5(3) again. Periodt. π
π¦ 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