天嵌二次封装库使用手册  V2.1.2
MQTTAsync_failureData5结构体 参考

#include <MQTTAsync.h>

MQTTAsync_failureData5 的协作图:

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.h537 行定义.

类成员变量说明

int MQTTAsync_failureData5::code

A numeric code identifying the MQTT client library error.

在文件 MQTTAsync.h550 行定义.

const char* MQTTAsync_failureData5::message

Optional further text explaining the error. Can be NULL.

在文件 MQTTAsync.h552 行定义.

int MQTTAsync_failureData5::packet_type

Packet type on which the failure occurred - used for publish QoS 1/2 exchanges

在文件 MQTTAsync.h554 行定义.

MQTTProperties MQTTAsync_failureData5::properties

The MQTT properties on the ack, if any.

在文件 MQTTAsync.h548 行定义.

enum MQTTReasonCodes MQTTAsync_failureData5::reasonCode

The MQTT reason code returned.

在文件 MQTTAsync.h546 行定义.

char MQTTAsync_failureData5::struct_id[4]

The eyecatcher for this structure. Will be MQFD.

在文件 MQTTAsync.h540 行定义.

int MQTTAsync_failureData5::struct_version

The version number of this structure. Will be 0

在文件 MQTTAsync.h542 行定义.

MQTTAsync_token MQTTAsync_failureData5::token

A token identifying the failed request.

在文件 MQTTAsync.h544 行定义.


该结构体的文档由以下文件生成: