MQTT Client broker information structure.
This structure holds the information required to connect to an MQTT broker, that includes the broker's IP address, port number, connection encryption status, connection timeout, keep-alive interval, and keep-alive retries.
Public Attributes#
IP address of the broker.
Port number of the broker.
Indicates if the connection is encrypted. This field would be deprecated in future releases. You are recommended to use tls_flags
in sl_mqtt_client_configuration_t.
MQTT connection timeout in milliseconds.
Keep-alive interval of the MQTT connection in seconds.
Number of MQTT ping retries.
Public Attribute Documentation#
is_connection_encrypted#
bool sl_mqtt_broker_t::is_connection_encrypted
Indicates if the connection is encrypted. This field would be deprecated in future releases. You are recommended to use tls_flags
in sl_mqtt_client_configuration_t.
keep_alive_interval#
uint16_t sl_mqtt_broker_t::keep_alive_interval
Keep-alive interval of the MQTT connection in seconds.