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.


port#

uint16_t sl_mqtt_broker_t::port

Port number of broker.


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.


connect_timeout#

uint16_t sl_mqtt_broker_t::connect_timeout

MQTT Connection timeout in milli seconds.


keep_alive_interval#

uint16_t sl_mqtt_broker_t::keep_alive_interval

Keep alive timeout of MQTT connection in seconds.


keep_alive_retries#

uint16_t sl_mqtt_broker_t::keep_alive_retries

MQTT ping retries.