MQTT Client broker information structure.

Public Attributes#

sl_ip_address_t

IP address of broker.

uint16_t

Port number of broker.

bool

Whether to use MQTT or MQTTS.

uint16_t

MQTT Connection timeout.

uint16_t

Keep alive timeout of MQTT connection.

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 106 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 107 of file components/service/mqtt/inc/sl_mqtt_client_types.h

is_connection_encrypted#

bool sl_mqtt_broker_t::is_connection_encrypted

Whether to use MQTT or MQTTS.


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

connect_timeout#

uint16_t sl_mqtt_broker_t::connect_timeout

MQTT Connection timeout.


Definition at line 109 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.


Definition at line 110 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 111 of file components/service/mqtt/inc/sl_mqtt_client_types.h