MQTT Client credentials structure.
This structure holds the credentials required for the MQTT client to authenticate with the broker. It includes the lengths of the username and password, and a flexible array to store both the username and password.
Public Attributes#
Length of the username. It should not exceed 120 bytes which includes NULL termination character.
Length of the password. It should not exceed 60 bytes which includes NULL termination character.
Flexible array to store both the username and password.
Public Attribute Documentation#
username_length#
uint16_t sl_mqtt_client_credentials_t::username_length
Length of the username. It should not exceed 120 bytes which includes NULL termination character.
229
of file components/service/mqtt/inc/sl_mqtt_client_types.h
password_length#
uint16_t sl_mqtt_client_credentials_t::password_length
Length of the password. It should not exceed 60 bytes which includes NULL termination character.
231
of file components/service/mqtt/inc/sl_mqtt_client_types.h
data#
uint8_t sl_mqtt_client_credentials_t::data[]
Flexible array to store both the username and password.
232
of file components/service/mqtt/inc/sl_mqtt_client_types.h