XCORE SDK
XCORE Software Development Kit
Typedefs | Enumerations
ERROR_IDS

Typedefs

typedef enum sl_wfx_error_e sl_wfx_error_t
 specifies the type of error reported by the indication message sl_wfx_error_ind_body_t
 

Enumerations

enum  sl_wfx_error_e {
  SL_WFX_ERROR_FIRMWARE_ROLLBACK = 0x0 , SL_WFX_ERROR_DEPRECATED_0 = 0x1 , SL_WFX_ERROR_DEPRECATED_1 = 0x2 , SL_WFX_ERROR_INVALID_SESSION_KEY = 0x3 ,
  SL_WFX_ERROR_OOR_VOLTAGE = 0x4 , SL_WFX_ERROR_PDS_VERSION = 0x5 , SL_WFX_ERROR_OOR_TEMPERATURE = 0x6 , SL_WFX_ERROR_REQ_DURING_KEY_EXCHANGE = 0x7 ,
  SL_WFX_ERROR_DEPRECATED_2 = 0x8 , SL_WFX_ERROR_DEPRECATED_3 = 0x9 , SL_WFX_ERROR_SECURELINK_DECRYPTION = 0xa , SL_WFX_ERROR_SECURELINK_WRONG_ENCRYPTION_STATE = 0xb ,
  SL_WFX_SPI_OR_SDIO_FREQ_TOO_LOW = 0xc , SL_WFX_ERROR_DEPRECATED_4 = 0xd , SL_WFX_ERROR_DEPRECATED_5 = 0xe , SL_WFX_HIF_BUS_ERROR = 0xf ,
  SL_WFX_PDS_TESTFEATURE_MODE_ERROR = 0x10 , SL_WFX_ERROR_SECURELINK_EXPECTED_BITMAP = 0x11
}
 specifies the type of error reported by the indication message sl_wfx_error_ind_body_t More...
 

Detailed Description

Enumeration Type Documentation

◆ sl_wfx_error_e

specifies the type of error reported by the indication message sl_wfx_error_ind_body_t

Enumerator
SL_WFX_ERROR_FIRMWARE_ROLLBACK 

Firmware rollback error, no data returned.

SL_WFX_ERROR_DEPRECATED_0 

Not used anymore.

SL_WFX_ERROR_DEPRECATED_1 

Not used anymore.

SL_WFX_ERROR_INVALID_SESSION_KEY 

Secure Link Session key is invalid (probably not initialized)

SL_WFX_ERROR_OOR_VOLTAGE 

Out-of-range power supply voltage detected, the last voltage value is returned. Param: measured voltage (mV)

SL_WFX_ERROR_PDS_VERSION 

Wrong PDS version detected, no data returned.

SL_WFX_ERROR_OOR_TEMPERATURE 

Out-of-range temperature, no data returned.

SL_WFX_ERROR_REQ_DURING_KEY_EXCHANGE 

Requests from Host are forbidden until the end of key exchange (Host should wait for the associated indication)

SL_WFX_ERROR_DEPRECATED_2 

Not used anymore.

SL_WFX_ERROR_DEPRECATED_3 

Not used anymore.

SL_WFX_ERROR_SECURELINK_DECRYPTION 

An error occured during message decryption (can be a counter mismatch or wrong CCM tag)

SL_WFX_ERROR_SECURELINK_WRONG_ENCRYPTION_STATE 

Encryption state of the received message doesn't match the SecureLink bitmap. Param: was encrypted.

SL_WFX_SPI_OR_SDIO_FREQ_TOO_LOW 

SPI or SDIO bus clock is too slow (<1kHz)

SL_WFX_ERROR_DEPRECATED_4 

Not used anymore.

SL_WFX_ERROR_DEPRECATED_5 

Not used anymore.

SL_WFX_HIF_BUS_ERROR 

HIF HW has reported an error. Param: HIF status register.

SL_WFX_PDS_TESTFEATURE_MODE_ERROR 

Unknown TestFeatureMode during test feature init.

SL_WFX_ERROR_SECURELINK_EXPECTED_BITMAP 

The SecureLink bitmap must be configured right after key exchange.