![]() |
HT32SX Monarch Scan
Monarch Scan application for HT32SX
|
#define SFX_ERR_API_CLOSE_FREE (sfx_u8)(0x20) |
Error occurs during the closing of the Sigfox Library : error on MCU_API_free
#define SFX_ERR_API_CLOSE_STATE (sfx_u8)(0x21) |
Error occurs during the closing of the Sigfox Library : error on library state
#define SFX_ERR_API_GET_INITIAL_PAC (sfx_u8)(0x5B) |
Error occurs when trying to retrieve the PAC : check the manuf error code to get the error
#define SFX_ERR_API_GET_VERSION (sfx_u8)(0x5C) |
Error occurs when trying to retrieve the version : check the manuf error code to get the error
#define SFX_ERR_API_GET_VERSION_WRONG_TYPE (sfx_u8)(0x5D) |
Error occurs when trying to retrieve the version : wrong version type - see the enum sfx_version_type_t
#define SFX_ERR_API_OPEN (sfx_u8)(0x10) |
Error occurs during the opening of the Sigfox Library : check the manuf error code
#define SFX_ERR_API_OPEN_GET_NVMEM_MEMORY_OVERLAP (sfx_u8)(0x12) |
MCU_API_get_nv_mem overlap the memory
#define SFX_ERR_API_OPEN_MACRO_CHANNEL_WIDTH (sfx_u8)(0x14) |
This macro channel width is not authorized by Sigfox Lib, check your RC configuration
#define SFX_ERR_API_OPEN_RC_PTR (sfx_u8)(0x13) |
RC pointer is NULL
#define SFX_ERR_API_OPEN_STATE (sfx_u8)(0x11) |
State is not IDLE, library should be closed before
#define SFX_ERR_API_RECEIVE_TEST_FRAME_DEVICE_ID (sfx_u8)(0x55) |
Device Id that should be used in SIGFOX_API_send_test_frame function must be 0xFEDCBA98
#define SFX_ERR_API_RECEIVE_TEST_FRAME_STATE (sfx_u8)(0x56) |
State is not READY - Should open the library
#define SFX_ERR_API_SEND_BIT_RESPONSE_PTR (sfx_u8)(0x34) |
Response data pointer NULL in case of downlink
#define SFX_ERR_API_SEND_FRAME_DATA_LENGTH (sfx_u8)(0x30) |
Customer data length > 12 Bytes
#define SFX_ERR_API_SEND_FRAME_DATA_PTR (sfx_u8)(0x33) |
Customer data pointer NULL
#define SFX_ERR_API_SEND_FRAME_DELAY_OOB_ACK (sfx_u8)(0x32) |
Error on MCU_API_delay w/ SFX_DLY_OOB_ACK (Downlink)
#define SFX_ERR_API_SEND_FRAME_RESPONSE_PTR (sfx_u8)(0x31) |
Response data pointer NULL in case of downlink
#define SFX_ERR_API_SEND_OOB_TYPE (sfx_u8)(0x35) |
Wrong enum value for the OOB type
#define SFX_ERR_API_SEND_TEST_FRAME_DATA_LENGTH (sfx_u8)(0x52) |
Customer data length > 12 Bytes
#define SFX_ERR_API_SEND_TEST_FRAME_DATA_PTR (sfx_u8)(0x53) |
Customer data pointer NULL
#define SFX_ERR_API_SEND_TEST_FRAME_DEVICE_ID (sfx_u8)(0x50) |
Device Id that should be used in SIGFOX_API_send_test_frame function must be 0xFEDCBA98
#define SFX_ERR_API_SEND_TEST_FRAME_STATE (sfx_u8)(0x51) |
State is not READY - Should open the library
#define SFX_ERR_API_SEND_TEST_STORE_NVM (sfx_u8)(0x54) |
Error occurs during the NVM Storage : check the manuf error code to get the error
#define SFX_ERR_API_SET_RC_SYNC_PERIOD (sfx_u8)(0xB0) |
Set RC Sync frame transmission period failed
#define SFX_ERR_API_SET_RC_SYNC_PERIOD_VALUE (sfx_u8)(0xB1) |
Error in the RC Sync period value
#define SFX_ERR_API_SET_STD_CONFIG_CARRIER_SENSE_CONFIG (sfx_u8)(0x40) |
Error on the carrier sense configuration -check the config words
#define SFX_ERR_API_SET_STD_CONFIG_FH_CHANNELS (sfx_u8)(0x41) |
Config word empty whereas they should configure channels for Frequency Hopping
#define SFX_ERR_API_START_CONTINUOUS_TRANSMISSION (sfx_u8)(0x57) |
Error occurs during the start continuous transmission : check the manuf error code to get the error
#define SFX_ERR_API_START_CONTINUOUS_TRANSMISSION_STATE (sfx_u8)(0x58) |
State is not idle, library should be closed before
#define SFX_ERR_API_STOP_CONTINUOUS_TRANSMISSION (sfx_u8)(0x59) |
Error occurs during the stop continuous transmission : check the manuf error code to get the error
#define SFX_ERR_API_STOP_CONTINUOUS_TRANSMISSION_STATE (sfx_u8)(0x5A) |
State is not TX, function SIGFOX_API_start_continuous_tranmission has to be called before
#define SFX_ERR_API_SWITCH_PUBLIC_KEY (sfx_u8)(0x5E) |
Error occurs when switching device key: state is not READY - Should open the library
#define SFX_ERR_CALLBACK_MONARCH_PATTERN_FREQUENCY_RESULT (sfx_u8)(0xBA) |
Error when executing the callback function of the pattern frequency result : check the manuf error code - call the stop_rc_scan to come back in IDLE state
#define SFX_ERR_CALLBACK_MONARCH_PATTERN_FREQUENCY_RESULT_STATE (sfx_u8)(0xB9) |
The device is not currently in search pattern mode: there is no reason to call the pattern frequency result function
#define SFX_ERR_CALLBACK_MONARCH_PATTERN_FREQUENCY_RESULT_WRONG_FREQ (sfx_u8)(0xBC) |
The frequency is not one of the requested frequencies sent by the lib - call the stop_rc_scan to come back in IDLE state
#define SFX_ERR_CALLBACK_MONARCH_PATTERN_FREQUENCY_RESULT_WRONG_PATTERN (sfx_u8)(0xBB) |
The pattern is not one of the requested frequencies sent by the lib - call the stop_rc_scan to come back in IDLE state
#define SFX_ERR_CALLBACK_MONARCH_SCAN_TIMEOUT (sfx_u8)(0xB8) |
Error when executing the callback of the timer expiration : check the manuf error code - call the stop_rc_scan to come back in IDLE state
#define SFX_ERR_CALLBACK_MONARCH_SCAN_TIMEOUT_CB_STATE (sfx_u8)(0xB7) |
The device is not currently in scan mode : there is no reason to call the timeout timer function
#define SFX_ERR_INT_BUILD_FRAME (sfx_u8)(0x91) |
Error occurs when building the frame : check the manuf error code
#define SFX_ERR_INT_BUILD_FRAME_OOB_DOWNLINK_ACK (sfx_u8)(0x93) |
Error occurs when building the OOB downlink frame in MCU_API_get_voltage_temperature : check the manuf error code
#define SFX_ERR_INT_BUILD_FRAME_OOB_RC_SYNC (sfx_u8)(0x95) |
Error occurs when building the OOB RCSYNC frame : check the manuf error code
#define SFX_ERR_INT_BUILD_FRAME_OOB_REPEATER_STATUS (sfx_u8)(0x94) |
Error occurs when building the OOB REPEATER_FRAME in REPEATER_API_get_voltage : check the manuf error code
#define SFX_ERR_INT_BUILD_FRAME_OOB_SERVICE (sfx_u8)(0x92) |
Error occurs when building the OOB Frame in MCU_API_get_voltage_temperature : check the manuf error code
#define SFX_ERR_INT_BUILD_FRAME_PAYLOAD_CRYPTED (sfx_u8)(0x96) |
Error occurs when building the encrypted frame : check the manuf error code
#define SFX_ERR_INT_BUILD_FRAME_SE (sfx_u8)(0x90) |
Error occurs when building the frame with a SE : check the manuf error code
#define SFX_ERR_INT_DOWNLINK_CONFIGURATION (sfx_u8)(0xE0) |
Error occurs when trying to configure downlink : check the manuf error code
#define SFX_ERR_INT_EXECUTE_COM_SEQUENCE_DELAY_OOB_ACK (sfx_u8)(0x64) |
Error occurs when setting the delay between downlink and ack : check the manuf error code
#define SFX_ERR_INT_EXECUTE_COM_SEQUENCE_NVM_STORAGE_ACK (sfx_u8)(0x62) |
Error occurs during the nvm storage used for ack transmission : check the manuf error code
#define SFX_ERR_INT_EXECUTE_COM_SEQUENCE_NVM_STORAGE_MESSAGE (sfx_u8)(0x61) |
Error occurs during the nvm storage used for uplink transmission : check the manuf error code
#define SFX_ERR_INT_EXECUTE_COM_SEQUENCE_NVM_STORAGE_RCSYNC (sfx_u8)(0x63) |
Error occurs during the nvm storage used for rc sync transmission : check the manuf error code
#define SFX_ERR_INT_EXECUTE_COM_SEQUENCE_STATE (sfx_u8)(0x60) |
State is not READY, library should be opened before
#define SFX_ERR_INT_GET_DEVICE_ID (sfx_u8)(0x99) |
Error when retrieving the device ID : check the manuf error code
#define SFX_ERR_INT_GET_DEVICE_INFO (sfx_u8)(0x9D) |
Error when retrieving the device info : check the manuf error code
#define SFX_ERR_INT_GET_DEVICE_INFO_CERTIFICATE (sfx_u8)(0x9F) |
Error when checking the validty of the device info - Certificate is not the appropriate one
#define SFX_ERR_INT_GET_DEVICE_INFO_CRC (sfx_u8)(0x9E) |
Error when checking the validty of the device info - CRC is bad
#define SFX_ERR_INT_GET_RECEIVED_FRAMES (sfx_u8)(0x9A) |
Error occurs when trying to receive frames : check the manuf error code
#define SFX_ERR_INT_GET_RECEIVED_FRAMES_TIMEOUT (sfx_u8)(0x9B) |
Timeout on frame reception
#define SFX_ERR_INT_GET_RECEIVED_FRAMES_WAIT_NOT_EXECUTED (sfx_u8)(0x9C) |
State return by the RF_API_wait_frame is downlink reception not executed
#define SFX_ERR_INT_PROCESS_DOWNLINK (sfx_u8)(0x98) |
Error when starting the downlink : in MCU_API_timer_wait_for_end : check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_CS_REPETITION (sfx_u8)(0x7A) |
Error Carrier Sense for frame 2 and 3: check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_CS_REPETITION_START_TIMER (sfx_u8)(0x7B) |
Error Carrier Sense for starting the timer for CS on frame 2 and 3: check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_CS_REPETITION_STOP_TIMER (sfx_u8)(0x7C) |
Error Carrier Sense for stoping the timer for CS on frame 2 and 3: check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_CS_REPETITION_STOP_TIMER_2 (sfx_u8)(0x7D) |
Error Carrier Sense for stoping the timer for CS on frame 2 and 3: check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_CS_RETRY (sfx_u8)(0x76) |
Error when executing the Carrier Sense for the first frame : check the manuf error code to get the error
#define SFX_ERR_INT_PROCESS_UPLINK_CS_RETRY_DELAY_ATTEMPT (sfx_u8)(0x79) |
Error on executing the delay between several attempts of the first frame : check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_CS_RETRY_START_TIMER (sfx_u8)(0x77) |
Error Carrier Sense for the first frame on start timer: check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_CS_RETRY_STOP_TIMER (sfx_u8)(0x78) |
Error Carrier Sense for the first frame on stop timer: check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_CS_TIMEOUT (sfx_u8)(0x7E) |
Error Carrier Sense unsuccessful
#define SFX_ERR_INT_PROCESS_UPLINK_DELAY_INTERFRAME (sfx_u8)(0x74) |
Error when executing the interframe delay : check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_START_TIMER_FH_IN_DL (sfx_u8)(0x70) |
Error when calling MCU_API_timer_start for FH : check the manuf error code
#define SFX_ERR_INT_PROCESS_UPLINK_TIMER_DOWNLINK (sfx_u8)(0x75) |
Error when starting the timer after the first frame to prepare the downlink
#define SFX_ERR_INT_PROCESS_UPLINK_TIMER_FH (sfx_u8)(0x72) |
Error when starting the timer after the first frame to respect the FCC regulation - timer_enable config set to 1
#define SFX_ERR_INT_PROCESS_UPLINK_WAIT_FOR_END_TIMER_FH (sfx_u8)(0x73) |
Error when stoping the timer after the first frame
#define SFX_ERR_INT_PROCESS_UPLINK_WAIT_FOR_END_TIMER_FH_IN_DL (sfx_u8)(0x71) |
Error when calling MCU_API_timer_stop for FH : check the manuf error code
#define SFX_ERR_INT_SEND_SINGLE_FRAME (sfx_u8)(0x97) |
Error when sending a frame : check the manuf error code
#define SFX_ERR_MONARCH_API_EXECUTE_RC_SCAN (sfx_u8)(0xB3) |
Error when executing the RC scan : check the manuf error code - call the stop_rc_scan to come back in IDLE state
#define SFX_ERR_MONARCH_API_EXECUTE_RC_SCAN_NULL_CALLBACK (sfx_u8)(0xB4) |
Application Callback handler is null
#define SFX_ERR_MONARCH_API_EXECUTE_RC_SCAN_STATE (sfx_u8)(0xB2) |
State != IDLE : the library needs to be closed
#define SFX_ERR_MONARCH_API_STOP_RC_SCAN (sfx_u8)(0xB6) |
Error when executing the stop RC scan : check the manuf error code
#define SFX_ERR_MONARCH_API_STOP_RC_SCAN_STATE (sfx_u8)(0xB5) |
The device is not currently in scan state : there is no reason to call the stop function
#define SFX_ERR_NONE (sfx_u8)(0x00) |
No error - to be used for MANUF_ERROR_CODES and SIGFOX_ERROR_CODES