MQTT Client broker information structure.

Public Attributes#

sl_ip_address_t

IP address of broker.

uint16_t

Port number of broker.

bool

This will be deprecated in future releases. Users are recommended to use ‘tls_flags’ in sl_mqtt_client_configuration_t.

uint16_t

MQTT Connection timeout in milli seconds.

uint16_t

Keep alive timeout of MQTT connection in seconds.

uint16_t

MQTT ping retries.

Public Attribute Documentation#

ip#

sl_ip_address_t sl_mqtt_broker_t::ip

IP address of broker.


Definition at line 149 of file components/service/mqtt/inc/sl_mqtt_client_types.h

port#

uint16_t sl_mqtt_broker_t::port

Port number of broker.


Definition at line 150 of file components/service/mqtt/inc/sl_mqtt_client_types.h

is_connection_encrypted#

bool sl_mqtt_broker_t::is_connection_encrypted

This will be deprecated in future releases. Users are recommended to use ‘tls_flags’ in sl_mqtt_client_configuration_t.


Definition at line 152 of file components/service/mqtt/inc/sl_mqtt_client_types.h

connect_timeout#

uint16_t sl_mqtt_broker_t::connect_timeout

MQTT Connection timeout in milli seconds.


Definition at line 153 of file components/service/mqtt/inc/sl_mqtt_client_types.h

keep_alive_interval#

uint16_t sl_mqtt_broker_t::keep_alive_interval

Keep alive timeout of MQTT connection in seconds.


Definition at line 154 of file components/service/mqtt/inc/sl_mqtt_client_types.h

keep_alive_retries#

uint16_t sl_mqtt_broker_t::keep_alive_retries

MQTT ping retries.


Definition at line 155 of file components/service/mqtt/inc/sl_mqtt_client_types.h