MQTTAsync_failureData5 - Man Page

Synopsis

#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

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. Can be NULL.

int packet_type

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

Author

Generated automatically by Doxygen for Paho Asynchronous MQTT C Client Library from the source code.

Info

Thu Jul 18 2024 00:00:00 Paho Asynchronous MQTT C Client Library