Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

mqtt_connect_client_info_t Struct Reference

mqtt_connect_client_info_t Struct Reference
[MQTT client]

Client information and connection parameters. More...

#include <mqtt.h>

Data Fields

const char * client_id
 Client identifier, must be set by caller.
const char * client_user
 User name, set to NULL if not used.
const char * client_pass
 Password, set to NULL if not used.
u16_t keep_alive
 keep alive time in seconds, 0 to disable keep alive functionality
const char * will_topic
 will topic, set to NULL if will is not to be used, will_msg, will_qos and will retain are then ignored
const char * will_msg
 will_msg, see will_topic
u8_t will_qos
 will_qos, see will_topic
u8_t will_retain
 will_retain, see will_topic
struct altcp_tls_config * tls_config
 TLS configuration for secure connections.

Detailed Description

Client information and connection parameters.

Definition at line 68 of file mqtt.h.


Field Documentation

const char* client_id

Client identifier, must be set by caller.

Definition at line 70 of file mqtt.h.

const char* client_pass

Password, set to NULL if not used.

Definition at line 74 of file mqtt.h.

const char* client_user

User name, set to NULL if not used.

Definition at line 72 of file mqtt.h.

u16_t keep_alive

keep alive time in seconds, 0 to disable keep alive functionality

Definition at line 76 of file mqtt.h.

struct altcp_tls_config* tls_config

TLS configuration for secure connections.

Definition at line 88 of file mqtt.h.

const char* will_msg

will_msg, see will_topic

Definition at line 81 of file mqtt.h.

u8_t will_qos

will_qos, see will_topic

Definition at line 83 of file mqtt.h.

will_retain, see will_topic

Definition at line 85 of file mqtt.h.

const char* will_topic

will topic, set to NULL if will is not to be used, will_msg, will_qos and will retain are then ignored

Definition at line 79 of file mqtt.h.