#include <MQTTAsync.h>
Public Attributes | |
union { | |
struct { | |
int MQTTVersion | |
char * serverURI | |
int sessionPresent | |
} connect | |
struct { | |
char * destinationName | |
MQTTAsync_message message | |
} pub | |
struct { | |
int reasonCodeCount | |
enum MQTTReasonCodes * reasonCodes | |
} sub | |
struct { | |
int reasonCodeCount | |
enum MQTTReasonCodes * reasonCodes | |
} unsub | |
} | alt |
MQTTProperties | properties |
enum MQTTReasonCodes | reasonCode |
char | struct_id [4] |
int | struct_version |
MQTTAsync_token | token |
The data returned on completion of a successful API call in the response callback onSuccess.
Definition at line 577 of file MQTTAsync.h.
union { ... } MQTTAsync_successData5::alt |
A union of the different values that can be returned for subscribe, unsubscribe and publish.
struct { ... } MQTTAsync_successData5::connect |
char* MQTTAsync_successData5::destinationName |
the topic destination for the message
Definition at line 598 of file MQTTAsync.h.
MQTTAsync_message MQTTAsync_successData5::message |
the message being sent to the server
Definition at line 597 of file MQTTAsync.h.
int MQTTAsync_successData5::MQTTVersion |
the version of MQTT being used
Definition at line 604 of file MQTTAsync.h.
MQTTProperties MQTTAsync_successData5::properties |
MQTT V5 properties returned, if any
Definition at line 584 of file MQTTAsync.h.
struct { ... } MQTTAsync_successData5::pub |
For publish, the message being sent to the server.
enum MQTTReasonCodes MQTTAsync_successData5::reasonCode |
MQTT V5 reason code returned
Definition at line 583 of file MQTTAsync.h.
int MQTTAsync_successData5::reasonCodeCount |
the number of reason codes in the reasonCodes array
Definition at line 591 of file MQTTAsync.h.
enum MQTTReasonCodes* MQTTAsync_successData5::reasonCodes |
an array of reasonCodes
Definition at line 592 of file MQTTAsync.h.
char* MQTTAsync_successData5::serverURI |
the connection string of the server
Definition at line 603 of file MQTTAsync.h.
int MQTTAsync_successData5::sessionPresent |
the session present flag returned from the server
Definition at line 605 of file MQTTAsync.h.
char MQTTAsync_successData5::struct_id[4] |
The eyecatcher for this structure. Will be MQSD.
Definition at line 579 of file MQTTAsync.h.
int MQTTAsync_successData5::struct_version |
The version number of this structure. Will be 0
Definition at line 580 of file MQTTAsync.h.
struct { ... } MQTTAsync_successData5::sub |
For subscribeMany, the list of reasonCodes returned by the server.
MQTTAsync_token MQTTAsync_successData5::token |
A token identifying the successful request. Can be used to refer to the request later.
Definition at line 582 of file MQTTAsync.h.
struct { ... } MQTTAsync_successData5::unsub |
For unsubscribeMany, the list of reasonCodes returned by the server.