Paho Asynchronous MQTT C Client Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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

char struct_id[4]

The eyecatcher for this structure. Will be MQFD.

int struct_version

The version number of this structure. Will be 0

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


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