| Paho Asynchronous MQTT C Client Library

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

`#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

## Detailed Description

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

## Field Documentation

## ◆ struct_id

char struct_id[4]

The eyecatcher for this structure. Will be MQFD.

## ◆ struct_version

int struct_version

The version number of this structure. Will be 0

## ◆ token

MQTTAsync_token token

A token identifying the failed request.

## ◆ reasonCode

enum MQTTReasonCodes reasonCode

The MQTT reason code returned.

## ◆ properties

MQTTProperties properties

The MQTT properties on the ack, if any.

## ◆ code

int code

A numeric code identifying the MQTT client library error.

## ◆ message

const char* message

Optional further text explaining the error. Can be NULL.

## ◆ packet_type

int packet_type

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

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

- MQTTAsync.h