MQTTAsync_responseOptions Struct Reference

#include <MQTTAsync.h>

Data Fields

char struct_id [4]
int struct_version
MQTTAsync_onSuccessonSuccess
MQTTAsync_onFailureonFailure
void * context
MQTTAsync_token token

Field Documentation

char struct_id[4]

The eyecatcher for this structure. Must be MQTR

The version number of this structure. Must be 0

A pointer to a callback function to be called if the API call successfully completes. Can be set to NULL, in which case no indication of successful completion will be received.

A pointer to a callback function to be called if the API call fails. Can be set to NULL, in which case no indication of unsuccessful completion will be received.

void* context

A pointer to any application-specific context. The the context pointer is passed to success or failure callback functions to provide access to the context information in the callback.

A token is returned from the call. It can be used to track the state of this request, both in the callbacks and in future calls such as MQTTAsync_waitForCompletion.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 2 Jun 2018 for Paho Asynchronous MQTT C Client Library by  doxygen 1.6.1