|
天嵌二次封装库使用手册
V2.1.2
|
#include <MQTTAsync.h>

Public 属性 | |
| 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.
在文件 MQTTAsync.h 第 537 行定义.
| int MQTTAsync_failureData5::code |
A numeric code identifying the MQTT client library error.
在文件 MQTTAsync.h 第 550 行定义.
| const char* MQTTAsync_failureData5::message |
Optional further text explaining the error. Can be NULL.
在文件 MQTTAsync.h 第 552 行定义.
| int MQTTAsync_failureData5::packet_type |
Packet type on which the failure occurred - used for publish QoS 1/2 exchanges
在文件 MQTTAsync.h 第 554 行定义.
| MQTTProperties MQTTAsync_failureData5::properties |
The MQTT properties on the ack, if any.
在文件 MQTTAsync.h 第 548 行定义.
| enum MQTTReasonCodes MQTTAsync_failureData5::reasonCode |
The MQTT reason code returned.
在文件 MQTTAsync.h 第 546 行定义.
| char MQTTAsync_failureData5::struct_id[4] |
The eyecatcher for this structure. Will be MQFD.
在文件 MQTTAsync.h 第 540 行定义.
| int MQTTAsync_failureData5::struct_version |
The version number of this structure. Will be 0
在文件 MQTTAsync.h 第 542 行定义.
| MQTTAsync_token MQTTAsync_failureData5::token |
A token identifying the failed request.
在文件 MQTTAsync.h 第 544 行定义.