MQTT Client credentials structure.

Public Attributes#

uint16_t

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

uint16_t

Length of the password. Length should not exceed 62 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 122 bytes including NULL termination character.


password_length#

uint16_t sl_mqtt_client_credentials_t::password_length

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


data#

uint8_t sl_mqtt_client_credentials_t::data[]

A flexible array to store both username and password.