#include <MQTTAsync.h>
Public Attributes | |
union { | |
struct { | |
int MQTTVersion | |
char * serverURI | |
int sessionPresent | |
} connect | |
struct { | |
char * destinationName | |
MQTTAsync_message message | |
} pub | |
int qos | |
int * qosList | |
} | alt |
MQTTAsync_token | token |
The data returned on completion of a successful API call in the response callback onSuccess.
Definition at line 546 of file MQTTAsync.h.
union { ... } MQTTAsync_successData::alt |
A union of the different values that can be returned for subscribe, unsubscribe and publish.
struct { ... } MQTTAsync_successData::connect |
char* MQTTAsync_successData::destinationName |
the topic destination for the message
Definition at line 563 of file MQTTAsync.h.
MQTTAsync_message MQTTAsync_successData::message |
the message being sent to the server
Definition at line 562 of file MQTTAsync.h.
int MQTTAsync_successData::MQTTVersion |
the version of MQTT being used
Definition at line 569 of file MQTTAsync.h.
struct { ... } MQTTAsync_successData::pub |
For publish, the message being sent to the server.
int MQTTAsync_successData::qos |
For subscribe, the granted QoS of the subscription returned by the server. Also for subscribeMany, if only 1 subscription was requested.
Definition at line 555 of file MQTTAsync.h.
int* MQTTAsync_successData::qosList |
For subscribeMany, if more than one subscription was requested, the list of granted QoSs of the subscriptions returned by the server.
Definition at line 558 of file MQTTAsync.h.
char* MQTTAsync_successData::serverURI |
the connection string of the server
Definition at line 568 of file MQTTAsync.h.
int MQTTAsync_successData::sessionPresent |
the session present flag returned from the server
Definition at line 570 of file MQTTAsync.h.
MQTTAsync_token MQTTAsync_successData::token |
A token identifying the successful request. Can be used to refer to the request later.
Definition at line 549 of file MQTTAsync.h.