Sergey Pastor / 1

Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

MqttClientSettings Struct Reference

MqttClientSettings Struct Reference

MQTT client settings. More...

#include <mqtt_client.h>

Data Fields

MqttProtocolLevel protocolLevel
 MQTT protocol version.
MqttTransportProtocol transportProtocol
 Transport protocol.
uint16_t keepAlive
 Keep-alive time interval.
systime_t timeout
 Communication timeout.
char_t host [MQTT_CLIENT_MAX_HOST_LEN+1]
 Hostname of the resource being requested.
char_t uri [MQTT_CLIENT_MAX_URI_LEN+1]
 Resource name.
char_t clientId [MQTT_CLIENT_MAX_ID_LEN+1]
 Client identifier.
char_t username [MQTT_CLIENT_MAX_USERNAME_LEN+1]
 User name.
char_t password [MQTT_CLIENT_MAX_PASSWORD_LEN+1]
 Password.
MqttClientWillMessage willMessage
 Will message.

Detailed Description

MQTT client settings.

Definition at line 287 of file mqtt_client.h.


Field Documentation

char_t clientId[MQTT_CLIENT_MAX_ID_LEN+1]

Client identifier.

Definition at line 297 of file mqtt_client.h.

char_t host[MQTT_CLIENT_MAX_HOST_LEN+1]

Hostname of the resource being requested.

Definition at line 294 of file mqtt_client.h.

uint16_t keepAlive

Keep-alive time interval.

Definition at line 291 of file mqtt_client.h.

char_t password[MQTT_CLIENT_MAX_PASSWORD_LEN+1]

Password.

Definition at line 299 of file mqtt_client.h.

MQTT protocol version.

Definition at line 289 of file mqtt_client.h.

systime_t timeout

Communication timeout.

Definition at line 292 of file mqtt_client.h.

Transport protocol.

Definition at line 290 of file mqtt_client.h.

char_t uri[MQTT_CLIENT_MAX_URI_LEN+1]

Resource name.

Definition at line 295 of file mqtt_client.h.

char_t username[MQTT_CLIENT_MAX_USERNAME_LEN+1]

User name.

Definition at line 298 of file mqtt_client.h.

Will message.

Definition at line 300 of file mqtt_client.h.