![]() |
Paho Asynchronous MQTT C Client Library
|
#include <MQTTAsync.h>
Data Fields | |
| char | struct_id [4] |
| int | struct_version |
| MQTTAsync_token | token |
| enum MQTTReasonCodes | reasonCode |
| MQTTProperties | properties |
| int | code |
| const char * | message |
| int | packet_type |
The data returned on completion of an unsuccessful API call in the response callback onFailure.
| char struct_id[4] |
The eyecatcher for this structure. Will be MQFD.
| int struct_version |
The version number of this structure. Will be 0
| MQTTAsync_token token |
A token identifying the failed request.
| enum MQTTReasonCodes reasonCode |
The MQTT reason code returned.
| MQTTProperties properties |
The MQTT properties on the ack, if any.
| int code |
A numeric code identifying the MQTT client library error.
| const char* message |
Optional further text explaining the error. Can be NULL.
| int packet_type |
Packet type on which the failure occurred - used for publish QoS 1/2 exchanges
1.8.17