MQTT Client credentials structure.

Public Attributes#

uint16_t

Length of the username. Length should not exceed 120 bytes including NULL termination character.

uint16_t

Length of the password. Length should not exceed 60 bytes including NULL termination character.

uint8_t

A flexible array to store both username and password.

Public Attribute Documentation#

username_length#

uint16_t sl_mqtt_client_credentials_t::username_length

Length of the username. Length should not exceed 120 bytes including NULL termination character.


Definition at line 161 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. Length should not exceed 60 bytes including NULL termination character.


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

data#

uint8_t sl_mqtt_client_credentials_t::data[]

A flexible array to store both username and password.


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