Paho Asynchronous MQTT C Client Library
|
#include <MQTTAsync.h>
Data Fields | |
MQTTAsync_token | token |
union { | |
int qos | |
int * qosList | |
struct { | |
MQTTAsync_message message | |
char * destinationName | |
} pub | |
struct { | |
char * serverURI | |
int MQTTVersion | |
int sessionPresent | |
} connect | |
} | alt |
The data returned on completion of a successful API call in the response callback onSuccess.
MQTTAsync_token token |
A token identifying the successful request. Can be used to refer to the request later.
int qos |
For subscribe, the granted QoS of the subscription returned by the server.
int* qosList |
For subscribeMany, the list of granted QoSs of the subscriptions returned by the server.
MQTTAsync_message message |
char* destinationName |
struct { ... } pub |
For publish, the message being sent to the server.
char* serverURI |
int MQTTVersion |
int sessionPresent |
struct { ... } connect |
union { ... } alt |
A union of the different values that can be returned for subscribe, unsubscribe and publish.