MqttClientSettings Struct Reference

MQTT client settings. More...

#include <mqtt_client.h>

Data Fields

MqttVersion version
 MQTT protocol version. More...
 
MqttTransportProtocol transportProtocol
 Transport protocol. More...
 
uint16_t keepAlive
 Keep-alive time interval. More...
 
systime_t timeout
 Communication timeout. More...
 
char_t host [MQTT_CLIENT_MAX_HOST_LEN+1]
 Domain name of the server (for virtual hosting) More...
 
char_t uri [MQTT_CLIENT_MAX_URI_LEN+1]
 Resource name. More...
 
char_t clientId [MQTT_CLIENT_MAX_ID_LEN+1]
 Client identifier. More...
 
char_t username [MQTT_CLIENT_MAX_USERNAME_LEN+1]
 User name. More...
 
char_t password [MQTT_CLIENT_MAX_PASSWORD_LEN+1]
 Password. More...
 
MqttClientWillMessage willMessage
 Will message. More...
 

Detailed Description

MQTT client settings.

Definition at line 298 of file mqtt_client.h.

Field Documentation

◆ clientId

Client identifier.

Definition at line 308 of file mqtt_client.h.

◆ host

Domain name of the server (for virtual hosting)

Definition at line 305 of file mqtt_client.h.

◆ keepAlive

uint16_t keepAlive

Keep-alive time interval.

Definition at line 302 of file mqtt_client.h.

◆ password

Password.

Definition at line 310 of file mqtt_client.h.

◆ timeout

systime_t timeout

Communication timeout.

Definition at line 303 of file mqtt_client.h.

◆ transportProtocol

MqttTransportProtocol transportProtocol

Transport protocol.

Definition at line 301 of file mqtt_client.h.

◆ uri

Resource name.

Definition at line 306 of file mqtt_client.h.

◆ username

User name.

Definition at line 309 of file mqtt_client.h.

◆ version

MqttVersion version

MQTT protocol version.

Definition at line 300 of file mqtt_client.h.

◆ willMessage

MqttClientWillMessage willMessage

Will message.

Definition at line 311 of file mqtt_client.h.


The documentation for this struct was generated from the following file: