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_codeis typically SL_STATUS_FAIL. For reassembly buffer allocation failure,status_codeis SL_STATUS_ALLOCATION_FAILED.
Public Attributes#
High-level MQTT client error classification.
sl_status_t
Underlying SDK/firmware status code.