MQTT C Client Libraries Internals: MQTTAsync_failureData5 Struct Reference

| MQTT C Client Libraries Internals

Loading...
Searching...
No Matches
Data Fields
MQTTAsync_failureData5 Struct Reference

The data returned on completion of an unsuccessful API call in the response callback onFailure. More...

`#include <MQTTAsync.h>`

Collaboration diagram for MQTTAsync_failureData5:
[legend]

## Data Fields
char | struct_id [4]
| The eyecatcher for this structure.
int | struct_version
| The version number of this structure.
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.
int | packet_type
| Packet type on which the failure occurred - used for publish QoS 1/2 exchanges.

## Detailed Description

The data returned on completion of an unsuccessful API call in the response callback onFailure.

## Field Documentation

## ◆ message

const char* MQTTAsync_failureData5::message

Optional further text explaining the error.

Can be NULL.

## ◆ struct_id

char MQTTAsync_failureData5::struct_id[4]

The eyecatcher for this structure.

Will be MQFD.

## ◆ struct_version

int MQTTAsync_failureData5::struct_version

The version number of this structure.

Will be 0

The documentation for this struct was generated from the following file:

- MQTTAsync.h