TizenRT Public API
v2.0 M2
|
APIs for MQTT Client(Subscriber/Publisher) More...
#include <tinyara/config.h>
Go to the source code of this file.
Data Structures | |
struct | _mqtt_msg_s |
Structure of MQTT message. More... | |
struct | _mqtt_tls_param_s |
Structure of MQTT security information. More... | |
struct | _mqtt_client_config_s |
Structure of MQTT client configuration. More... | |
struct | _mqtt_client_s |
Structure of MQTT client object. More... | |
Enumerations |
Functions | |
mqtt_client_t * | mqtt_init_client (mqtt_client_config_t *config) |
mqtt_init_client() initializes MQTT client More... | |
int | mqtt_deinit_client (mqtt_client_t *handle) |
mqtt_deinit_client() de-initializes MQTT client More... | |
int | mqtt_connect (mqtt_client_t *handle, char *addr, int port, int keep_alive) |
mqtt_connect() connects to a MQTT broker More... | |
int | mqtt_disconnect (mqtt_client_t *handle) |
mqtt_disconnect() disconnects from a MQTT broker More... | |
int | mqtt_publish (mqtt_client_t *handle, char *topic, char *data, uint32_t data_len, uint8_t qos, uint8_t retain) |
mqtt_publish() pusblishes message to a MQTT broker on the given topic More... | |
int | mqtt_subscribe (mqtt_client_t *handle, char *topic, uint8_t qos) |
mqtt_subscribe() subscribes for the specified topic with MQTT broker More... | |
int | mqtt_unsubscribe (mqtt_client_t *handle, char *topic) |
mqtt_unsubscribe() unsubscribes from the specified topic More... | |
APIs for MQTT Client(Subscriber/Publisher)
Definition in file mqtt_api.h.