![]() |
MQTT C Client Libraries Internals
|
The data returned on completion of a successful API call in the response callback onSuccess. More...
#include <MQTTAsync.h>
Data Fields | |
char | struct_id [4] |
The eyecatcher for this structure. More... | |
int | struct_version |
The version number of this structure. More... | |
MQTTAsync_token | token |
A token identifying the successful request. More... | |
enum MQTTReasonCodes | reasonCode |
MQTT V5 reason code returned. | |
MQTTProperties | properties |
MQTT V5 properties returned, if any. | |
union { | |
struct { | |
int reasonCodeCount | |
the number of reason codes in the reasonCodes array | |
enum MQTTReasonCodes * reasonCodes | |
an array of reasonCodes | |
} sub | |
For subscribeMany, the list of reasonCodes returned by the server. More... | |
struct { | |
MQTTAsync_message message | |
the message being sent to the server | |
char * destinationName | |
the topic destination for the message | |
} pub | |
For publish, the message being sent to the server. More... | |
struct { | |
char * serverURI | |
the connection string of the server | |
int MQTTVersion | |
the version of MQTT being used | |
int sessionPresent | |
the session present flag returned from the server | |
} connect | |
struct { | |
int reasonCodeCount | |
the number of reason codes in the reasonCodes array | |
enum MQTTReasonCodes * reasonCodes | |
an array of reasonCodes | |
} unsub | |
For unsubscribeMany, the list of reasonCodes returned by the server. More... | |
} | alt |
A union of the different values that can be returned for subscribe, unsubscribe and publish. More... | |
The data returned on completion of a successful API call in the response callback onSuccess.
union { ... } MQTTAsync_successData5::alt |
A union of the different values that can be returned for subscribe, unsubscribe and publish.
struct { ... } MQTTAsync_successData5::pub |
For publish, the message being sent to the server.
char MQTTAsync_successData5::struct_id[4] |
The eyecatcher for this structure.
Will be MQSD.
int MQTTAsync_successData5::struct_version |
The version number of this structure.
Will be 0
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.
struct { ... } MQTTAsync_successData5::unsub |
For unsubscribeMany, the list of reasonCodes returned by the server.