MQTT Client Handle structure.

Public Attributes#

Current state of MQTT client.

Pointer to broker configuration, given at the time of connect() API.

Pointer to last will message configuration, given at the time of connect() API.

Pointer to client configuration, given at the time of connect() API.

Pointer to the head of the subscription linked list.

Function pointer to event handler given at the time of sl_mqtt_client_init.

Public Attribute Documentation#

state#

sl_mqtt_client_connection_state_t sl_mqtt_client_t::state

Current state of MQTT client.


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

broker#

const sl_mqtt_broker_t* sl_mqtt_client_t::broker

Pointer to broker configuration, given at the time of connect() API.


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

last_will_message#

const sl_mqtt_client_last_will_message_t* sl_mqtt_client_t::last_will_message

Pointer to last will message configuration, given at the time of connect() API.


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

client_configuration#

const sl_mqtt_client_configuration_t* sl_mqtt_client_t::client_configuration

Pointer to client configuration, given at the time of connect() API.


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

subscription_list_head#

sl_mqtt_client_topic_subscription_info_t* sl_mqtt_client_t::subscription_list_head

Pointer to the head of the subscription linked list.


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

client_event_handler#

sl_mqtt_client_event_handler_t sl_mqtt_client_t::client_event_handler

Function pointer to event handler given at the time of sl_mqtt_client_init.


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