MQTT Client credentials structure.

Public Attributes#

uint16_t

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


Definition at line 117 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 62 bytes including NULL termination character.


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