MQTT Client error information passed with SL_MQTT_CLIENT_ERROR_EVENT.

This structure holds the MQTT client error status and the underlying SDK/firmware status code. The error_status indicates the error type encountered during the client's operations, and status_code provides the detailed firmware/SDK reason code when available.

Note

  • For host-side validation errors with no firmware status, status_code is typically SL_STATUS_FAIL. For reassembly buffer allocation failure, status_code is SL_STATUS_ALLOCATION_FAILED.

Public Attributes#

High-level MQTT client error classification.

sl_status_t

Underlying SDK/firmware status code.

Public Attribute Documentation#

error_status#

sl_mqtt_client_error_status_t sl_mqtt_client_error_info_t::error_status

High-level MQTT client error classification.


status_code#

sl_status_t sl_mqtt_client_error_info_t::status_code

Underlying SDK/firmware status code.