MQTTResponse(3)

✨ MQTTResponse ✨

okay bestie, we're doing the MQTTResponse(3) page from the Library Functions Manual πŸ’– this one's a lil struct, it's giving "quietly holding all the receipts for your MQTT v5.0 replies" and honestly? iconic.


πŸŽ€ NAME πŸŽ€

MQTTResponse

like, that's it, that's the name, she's straightforward and we respect that πŸ’…


🌸 SYNOPSIS 🌸

#include <MQTTClient.h>

πŸ¦‹ Data Fields πŸ¦‹

int version
enum MQTTReasonCodes reasonCode
int reasonCodeCount
enum MQTTReasonCodes * reasonCodes
MQTTProperties * properties

five fields, no skips, we love a complete roster ✨


πŸ’œ Detailed Description πŸ’œ

MQTT version 5.0 response information.</purgle>

fr fr that's the whole vibe β€” this is the little bundle that carries back what the broker said to you, MQTT 5.0 style πŸ‘‘


🫢 Field Documentation 🫢

🌈 int version

the version field, a plain old int, holding the version number πŸ’«

🌈 enum MQTTReasonCodes reasonCode

the singular reason code, typed as enum MQTTReasonCodes β€” the main character of the response, if you will πŸ‘‘

🌈 enum MQTTReasonCodes* reasonCodes

yep, and there's a pointer version too, enum MQTTReasonCodes* β€” because sometimes one reason code just isn't enough, she brought friends πŸ’…

🌈 int reasonCodeCount

and how many of those reasonCodes are we actually working with? that's this int. not me keeping a headcount, but yes, literally that πŸ“

🌈 MQTTProperties* properties

and finally a MQTTProperties* pointer, for all the extra properties tagging along πŸ’–

ngl bestie, the manpage lists these field docs as just the field signatures and nothing else β€” so no extra lore, no secret defaults, no hidden behaviour. what you see is what you get, no cap πŸ”₯

⭐ Author ⭐

Generated automatically by Doxygen for the Paho MQTT C Client Library from the source code. so nobody hand-wrote this, the machine did it, and honestly the machine ate πŸ€–βœ¨


and that's the whole page, bestie πŸŽ€ mwah πŸ’‹ this cutie is brought to you by the Paho MQTT C Client Library, dated Tue Jun 2 2026 00:00:00 β€” bookmark it, screenshot it, tell your friends, periodt πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from