TizenRT Public API
v2.0 M2
|
Structure of MQTT client configuration. More...
#include <mqtt_api.h>
Data Fields | |
char * | client_id |
char * | user_name |
char * | password |
bool | clean_session |
int | protocol_version |
bool | debug |
mqtt_tls_param_t * | tls |
void(* | on_connect )(void *client, int result) |
void(* | on_disconnect )(void *client, int result) |
void(* | on_publish )(void *client, int msg_id) |
void(* | on_message )(void *client, mqtt_msg_t *msg) |
void(* | on_subscribe )(void *client, int msg_id, int qos_count, const int *granted_qos) |
void(* | on_unsubscribe )(void *client, int msg_id) |
void * | user_data |
Structure of MQTT client configuration.
Definition at line 112 of file mqtt_api.h.
bool clean_session |
mqtt clean session flag
Definition at line 116 of file mqtt_api.h.
char* client_id |
client identification
Definition at line 113 of file mqtt_api.h.
bool debug |
mqtt debug flag
Definition at line 118 of file mqtt_api.h.
void(* on_connect) (void *client, int result) |
on_connect call back function
Definition at line 121 of file mqtt_api.h.
void(* on_disconnect) (void *client, int result) |
on_disconnect call back function
Definition at line 123 of file mqtt_api.h.
void(* on_message) (void *client, mqtt_msg_t *msg) |
on_message call back function
Definition at line 127 of file mqtt_api.h.
void(* on_publish) (void *client, int msg_id) |
on_publish call back function
Definition at line 125 of file mqtt_api.h.
void(* on_subscribe) (void *client, int msg_id, int qos_count, const int *granted_qos) |
on_subscribe call back function
Definition at line 129 of file mqtt_api.h.
void(* on_unsubscribe) (void *client, int msg_id) |
on_unsubscribe call back function
Definition at line 131 of file mqtt_api.h.
char* password |
password corresponding to the user name
Definition at line 115 of file mqtt_api.h.
int protocol_version |
mqtt protocol version
Definition at line 117 of file mqtt_api.h.
mqtt_tls_param_t* tls |
mqtt tls parameter
Definition at line 119 of file mqtt_api.h.
void* user_data |
user defined data
Definition at line 134 of file mqtt_api.h.
char* user_name |
client user name
Definition at line 114 of file mqtt_api.h.