MQTT Client Configuration structure.
Public Attributes#
Whether to automatically connect back to broker in case of disconnection.
Maximum retry count of auto reconnect.
Minimum back off time between two successive reconnect attempts.
Maximum back off time between two successive reconnect attempts.
Clean session flag to send to broker in connect request.
Version of client MQTT.
Port number of client.
Credential id for username and password of MQTT connect request.
Pointer to MQTT client id.
Length of client id. Length should not exceed 62 bytes including NULL termination character.
Public Attribute Documentation#
auto_reconnect#
bool sl_mqtt_client_configuration_t::auto_reconnect
Whether to automatically connect back to broker in case of disconnection.
142
of file components/service/mqtt/inc/sl_mqtt_client_types.h
retry_count#
uint8_t sl_mqtt_client_configuration_t::retry_count
Maximum retry count of auto reconnect.
143
of file components/service/mqtt/inc/sl_mqtt_client_types.h
minimum_back_off_time#
uint16_t sl_mqtt_client_configuration_t::minimum_back_off_time
Minimum back off time between two successive reconnect attempts.
144
of file components/service/mqtt/inc/sl_mqtt_client_types.h
maximun_back_off_time#
uint16_t sl_mqtt_client_configuration_t::maximun_back_off_time
Maximum back off time between two successive reconnect attempts.
145
of file components/service/mqtt/inc/sl_mqtt_client_types.h
is_clean_session#
bool sl_mqtt_client_configuration_t::is_clean_session
Clean session flag to send to broker in connect request.
146
of file components/service/mqtt/inc/sl_mqtt_client_types.h
mqt_version#
sl_mqtt_version_t sl_mqtt_client_configuration_t::mqt_version
Version of client MQTT.
147
of file components/service/mqtt/inc/sl_mqtt_client_types.h
client_port#
uint16_t sl_mqtt_client_configuration_t::client_port
Port number of client.
148
of file components/service/mqtt/inc/sl_mqtt_client_types.h
credential_id#
sl_net_credential_id_t sl_mqtt_client_configuration_t::credential_id
Credential id for username and password of MQTT connect request.
149
of file components/service/mqtt/inc/sl_mqtt_client_types.h
client_id#
uint8_t* sl_mqtt_client_configuration_t::client_id
Pointer to MQTT client id.
150
of file components/service/mqtt/inc/sl_mqtt_client_types.h
client_id_length#
uint8_t sl_mqtt_client_configuration_t::client_id_length
Length of client id. Length should not exceed 62 bytes including NULL termination character.
152
of file components/service/mqtt/inc/sl_mqtt_client_types.h