HT32SX Monarch Scan
Monarch Scan application for HT32SX
codes Return Error codes definition for MCU API

Can be customized to add new error codes. All MCU_API_ error codes will be piped with SIGFOX_API_xxx return code.
More...

Macros

#define MCU_ERR_API_MALLOC   (sfx_u8)(0x11)
 
#define MCU_ERR_API_FREE   (sfx_u8)(0x12)
 
#define MCU_ERR_API_VOLT_TEMP   (sfx_u8)(0x13)
 
#define MCU_ERR_API_DLY   (sfx_u8)(0x14)
 
#define MCU_ERR_API_AES   (sfx_u8)(0x15)
 
#define MCU_ERR_API_GETNVMEM   (sfx_u8)(0x16)
 
#define MCU_ERR_API_SETNVMEM   (sfx_u8)(0x17)
 
#define MCU_ERR_API_TIMER_START   (sfx_u8)(0x18)
 
#define MCU_ERR_API_TIMER_START_CS   (sfx_u8)(0x19)
 
#define MCU_ERR_API_TIMER_STOP_CS   (sfx_u8)(0x1A)
 
#define MCU_ERR_API_TIMER_STOP   (sfx_u8)(0x1B)
 
#define MCU_ERR_API_TIMER_END   (sfx_u8)(0x1C)
 
#define MCU_ERR_API_TEST_REPORT   (sfx_u8)(0x1D)
 
#define MCU_ERR_API_GET_VERSION   (sfx_u8)(0x1E)
 
#define MCU_ERR_API_GET_ID_PAYLOAD_ENCR_FLAG   (sfx_u8)(0x1F)
 
#define MCU_ERR_API_GET_PAC   (sfx_u8)(0x20)
 

Detailed Description

Can be customized to add new error codes. All MCU_API_ error codes will be piped with SIGFOX_API_xxx return code.

IMPORTANT : SFX_ERR_NONE return code is mandatory when no error for each MCU_API_xxx RF_API_xxx REPEATER_API_xxx or SE_API_xxx functions.

Macro Definition Documentation

◆ MCU_ERR_API_AES

#define MCU_ERR_API_AES   (sfx_u8)(0x15)

Error on MCU_API_aes_128_cbc_encrypt

◆ MCU_ERR_API_DLY

#define MCU_ERR_API_DLY   (sfx_u8)(0x14)

Error on MCU_API_delay

◆ MCU_ERR_API_FREE

#define MCU_ERR_API_FREE   (sfx_u8)(0x12)

Error on MCU_API_free

◆ MCU_ERR_API_GET_ID_PAYLOAD_ENCR_FLAG

#define MCU_ERR_API_GET_ID_PAYLOAD_ENCR_FLAG   (sfx_u8)(0x1F)

Error on MCU_API_get_device_id_and_payload_encryption_flag

◆ MCU_ERR_API_GET_PAC

#define MCU_ERR_API_GET_PAC   (sfx_u8)(0x20)

Error on MCU_API_get_initial_pac

◆ MCU_ERR_API_GET_VERSION

#define MCU_ERR_API_GET_VERSION   (sfx_u8)(0x1E)

Error on MCU_API_get_version

◆ MCU_ERR_API_GETNVMEM

#define MCU_ERR_API_GETNVMEM   (sfx_u8)(0x16)

Error on MCU_API_get_nv_mem

◆ MCU_ERR_API_MALLOC

#define MCU_ERR_API_MALLOC   (sfx_u8)(0x11)

Error on MCU_API_malloc

◆ MCU_ERR_API_SETNVMEM

#define MCU_ERR_API_SETNVMEM   (sfx_u8)(0x17)

Error on MCU_API_set_nv_mem

◆ MCU_ERR_API_TEST_REPORT

#define MCU_ERR_API_TEST_REPORT   (sfx_u8)(0x1D)

Error on MCU_API_report_test_result

◆ MCU_ERR_API_TIMER_END

#define MCU_ERR_API_TIMER_END   (sfx_u8)(0x1C)

Error on MCU_API_timer_wait_for_end

◆ MCU_ERR_API_TIMER_START

#define MCU_ERR_API_TIMER_START   (sfx_u8)(0x18)

Error on MCU_API_timer_start

◆ MCU_ERR_API_TIMER_START_CS

#define MCU_ERR_API_TIMER_START_CS   (sfx_u8)(0x19)

Error on MCU_API_timer_start_carrier_sense

◆ MCU_ERR_API_TIMER_STOP

#define MCU_ERR_API_TIMER_STOP   (sfx_u8)(0x1B)

Error on MCU_API_timer_stop

◆ MCU_ERR_API_TIMER_STOP_CS

#define MCU_ERR_API_TIMER_STOP_CS   (sfx_u8)(0x1A)

Error on MCU_API_timer_stop_carrier_sense

◆ MCU_ERR_API_VOLT_TEMP

#define MCU_ERR_API_VOLT_TEMP   (sfx_u8)(0x13)

Error on MCU_API_get_voltage_temperature