added back more events
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
Robin Müller 2022-02-03 17:14:28 +01:00
parent 4000c35299
commit 5aa800af6e
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
5 changed files with 582 additions and 568 deletions

2
fsfw

@ -1 +1 @@
Subproject commit a910a055416962a97d575bf37c39acd6f8ac59ea Subproject commit b7f6a6961b6f0815890c2ae98d4fd1a11c72b8c0

View File

@ -73,6 +73,8 @@
7902;BIT_LOCK;INFO;A Bit Lock signal. Was detected. P1: raw BLO state, P2: 0;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h 7902;BIT_LOCK;INFO;A Bit Lock signal. Was detected. P1: raw BLO state, P2: 0;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h
7903;BIT_LOCK_LOST;INFO;A previously found Bit Lock signal was lost. P1: raw BLO state, P2: 0;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h 7903;BIT_LOCK_LOST;INFO;A previously found Bit Lock signal was lost. P1: raw BLO state, P2: 0;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h
7905;FRAME_PROCESSING_FAILED;LOW;The CCSDS Board could not interpret a TC;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h 7905;FRAME_PROCESSING_FAILED;LOW;The CCSDS Board could not interpret a TC;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h
8900;CLOCK_SET;INFO;;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/pus/Service9TimeManagement.h
8901;CLOCK_SET_FAILURE;LOW;;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/pus/Service9TimeManagement.h
9700;TEST;INFO;;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/pus/Service17Test.h 9700;TEST;INFO;;/home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/pus/Service17Test.h
10600;CHANGE_OF_SETUP_PARAMETER;LOW;;/home/rmueller/EIVE/eive-obsw/fsfw/hal/src/fsfw_hal/devicehandlers/MgmLIS3MDLHandler.h 10600;CHANGE_OF_SETUP_PARAMETER;LOW;;/home/rmueller/EIVE/eive-obsw/fsfw/hal/src/fsfw_hal/devicehandlers/MgmLIS3MDLHandler.h
10900;GPIO_PULL_HIGH_FAILED;LOW;;/home/rmueller/EIVE/eive-obsw/mission/devices/HeaterHandler.h 10900;GPIO_PULL_HIGH_FAILED;LOW;;/home/rmueller/EIVE/eive-obsw/mission/devices/HeaterHandler.h

1 2200 STORE_SEND_WRITE_FAILED LOW /home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/tmstorage/TmStoreBackendIF.h
73 7902 BIT_LOCK INFO A Bit Lock signal. Was detected. P1: raw BLO state, P2: 0 /home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h
74 7903 BIT_LOCK_LOST INFO A previously found Bit Lock signal was lost. P1: raw BLO state, P2: 0 /home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h
75 7905 FRAME_PROCESSING_FAILED LOW The CCSDS Board could not interpret a TC /home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/datalinklayer/DataLinkLayer.h
76 8900 CLOCK_SET INFO /home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/pus/Service9TimeManagement.h
77 8901 CLOCK_SET_FAILURE LOW /home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/pus/Service9TimeManagement.h
78 9700 TEST INFO /home/rmueller/EIVE/eive-obsw/fsfw/src/fsfw/pus/Service17Test.h
79 10600 CHANGE_OF_SETUP_PARAMETER LOW /home/rmueller/EIVE/eive-obsw/fsfw/hal/src/fsfw_hal/devicehandlers/MgmLIS3MDLHandler.h
80 10900 GPIO_PULL_HIGH_FAILED LOW /home/rmueller/EIVE/eive-obsw/mission/devices/HeaterHandler.h

View File

@ -1,7 +1,7 @@
/** /**
* @brief Auto-generated event translation file. Contains 138 translations. * @brief Auto-generated event translation file. Contains 140 translations.
* @details * @details
* Generated on: 2022-02-03 17:09:37 * Generated on: 2022-02-03 17:13:35
*/ */
#include "translateEvents.h" #include "translateEvents.h"
@ -80,6 +80,8 @@ const char *RF_LOST_STRING = "RF_LOST";
const char *BIT_LOCK_STRING = "BIT_LOCK"; const char *BIT_LOCK_STRING = "BIT_LOCK";
const char *BIT_LOCK_LOST_STRING = "BIT_LOCK_LOST"; const char *BIT_LOCK_LOST_STRING = "BIT_LOCK_LOST";
const char *FRAME_PROCESSING_FAILED_STRING = "FRAME_PROCESSING_FAILED"; const char *FRAME_PROCESSING_FAILED_STRING = "FRAME_PROCESSING_FAILED";
const char *CLOCK_SET_STRING = "CLOCK_SET";
const char *CLOCK_SET_FAILURE_STRING = "CLOCK_SET_FAILURE";
const char *TEST_STRING = "TEST"; const char *TEST_STRING = "TEST";
const char *CHANGE_OF_SETUP_PARAMETER_STRING = "CHANGE_OF_SETUP_PARAMETER"; const char *CHANGE_OF_SETUP_PARAMETER_STRING = "CHANGE_OF_SETUP_PARAMETER";
const char *GPIO_PULL_HIGH_FAILED_STRING = "GPIO_PULL_HIGH_FAILED"; const char *GPIO_PULL_HIGH_FAILED_STRING = "GPIO_PULL_HIGH_FAILED";
@ -145,285 +147,289 @@ const char *STR_HELPER_SENDING_PACKET_FAILED_STRING = "STR_HELPER_SENDING_PACKET
const char *STR_HELPER_REQUESTING_MSG_FAILED_STRING = "STR_HELPER_REQUESTING_MSG_FAILED"; const char *STR_HELPER_REQUESTING_MSG_FAILED_STRING = "STR_HELPER_REQUESTING_MSG_FAILED";
const char * translateEvents(Event event) { const char * translateEvents(Event event) {
switch( (event & 0xffff) ) { switch( (event & 0xffff) ) {
case(2200): case(2200):
return STORE_SEND_WRITE_FAILED_STRING; return STORE_SEND_WRITE_FAILED_STRING;
case(2201): case(2201):
return STORE_WRITE_FAILED_STRING; return STORE_WRITE_FAILED_STRING;
case(2202): case(2202):
return STORE_SEND_READ_FAILED_STRING; return STORE_SEND_READ_FAILED_STRING;
case(2203): case(2203):
return STORE_READ_FAILED_STRING; return STORE_READ_FAILED_STRING;
case(2204): case(2204):
return UNEXPECTED_MSG_STRING; return UNEXPECTED_MSG_STRING;
case(2205): case(2205):
return STORING_FAILED_STRING; return STORING_FAILED_STRING;
case(2206): case(2206):
return TM_DUMP_FAILED_STRING; return TM_DUMP_FAILED_STRING;
case(2207): case(2207):
return STORE_INIT_FAILED_STRING; return STORE_INIT_FAILED_STRING;
case(2208): case(2208):
return STORE_INIT_EMPTY_STRING; return STORE_INIT_EMPTY_STRING;
case(2209): case(2209):
return STORE_CONTENT_CORRUPTED_STRING; return STORE_CONTENT_CORRUPTED_STRING;
case(2210): case(2210):
return STORE_INITIALIZE_STRING; return STORE_INITIALIZE_STRING;
case(2211): case(2211):
return INIT_DONE_STRING; return INIT_DONE_STRING;
case(2212): case(2212):
return DUMP_FINISHED_STRING; return DUMP_FINISHED_STRING;
case(2213): case(2213):
return DELETION_FINISHED_STRING; return DELETION_FINISHED_STRING;
case(2214): case(2214):
return DELETION_FAILED_STRING; return DELETION_FAILED_STRING;
case(2215): case(2215):
return AUTO_CATALOGS_SENDING_FAILED_STRING; return AUTO_CATALOGS_SENDING_FAILED_STRING;
case(2600): case(2600):
return GET_DATA_FAILED_STRING; return GET_DATA_FAILED_STRING;
case(2601): case(2601):
return STORE_DATA_FAILED_STRING; return STORE_DATA_FAILED_STRING;
case(2800): case(2800):
return DEVICE_BUILDING_COMMAND_FAILED_STRING; return DEVICE_BUILDING_COMMAND_FAILED_STRING;
case(2801): case(2801):
return DEVICE_SENDING_COMMAND_FAILED_STRING; return DEVICE_SENDING_COMMAND_FAILED_STRING;
case(2802): case(2802):
return DEVICE_REQUESTING_REPLY_FAILED_STRING; return DEVICE_REQUESTING_REPLY_FAILED_STRING;
case(2803): case(2803):
return DEVICE_READING_REPLY_FAILED_STRING; return DEVICE_READING_REPLY_FAILED_STRING;
case(2804): case(2804):
return DEVICE_INTERPRETING_REPLY_FAILED_STRING; return DEVICE_INTERPRETING_REPLY_FAILED_STRING;
case(2805): case(2805):
return DEVICE_MISSED_REPLY_STRING; return DEVICE_MISSED_REPLY_STRING;
case(2806): case(2806):
return DEVICE_UNKNOWN_REPLY_STRING; return DEVICE_UNKNOWN_REPLY_STRING;
case(2807): case(2807):
return DEVICE_UNREQUESTED_REPLY_STRING; return DEVICE_UNREQUESTED_REPLY_STRING;
case(2808): case(2808):
return INVALID_DEVICE_COMMAND_STRING; return INVALID_DEVICE_COMMAND_STRING;
case(2809): case(2809):
return MONITORING_LIMIT_EXCEEDED_STRING; return MONITORING_LIMIT_EXCEEDED_STRING;
case(2810): case(2810):
return MONITORING_AMBIGUOUS_STRING; return MONITORING_AMBIGUOUS_STRING;
case(2811): case(2811):
return DEVICE_WANTS_HARD_REBOOT_STRING; return DEVICE_WANTS_HARD_REBOOT_STRING;
case(4201): case(4201):
return FUSE_CURRENT_HIGH_STRING; return FUSE_CURRENT_HIGH_STRING;
case(4202): case(4202):
return FUSE_WENT_OFF_STRING; return FUSE_WENT_OFF_STRING;
case(4204): case(4204):
return POWER_ABOVE_HIGH_LIMIT_STRING; return POWER_ABOVE_HIGH_LIMIT_STRING;
case(4205): case(4205):
return POWER_BELOW_LOW_LIMIT_STRING; return POWER_BELOW_LOW_LIMIT_STRING;
case(4300): case(4300):
return SWITCH_WENT_OFF_STRING; return SWITCH_WENT_OFF_STRING;
case(5000): case(5000):
return HEATER_ON_STRING; return HEATER_ON_STRING;
case(5001): case(5001):
return HEATER_OFF_STRING; return HEATER_OFF_STRING;
case(5002): case(5002):
return HEATER_TIMEOUT_STRING; return HEATER_TIMEOUT_STRING;
case(5003): case(5003):
return HEATER_STAYED_ON_STRING; return HEATER_STAYED_ON_STRING;
case(5004): case(5004):
return HEATER_STAYED_OFF_STRING; return HEATER_STAYED_OFF_STRING;
case(5200): case(5200):
return TEMP_SENSOR_HIGH_STRING; return TEMP_SENSOR_HIGH_STRING;
case(5201): case(5201):
return TEMP_SENSOR_LOW_STRING; return TEMP_SENSOR_LOW_STRING;
case(5202): case(5202):
return TEMP_SENSOR_GRADIENT_STRING; return TEMP_SENSOR_GRADIENT_STRING;
case(5901): case(5901):
return COMPONENT_TEMP_LOW_STRING; return COMPONENT_TEMP_LOW_STRING;
case(5902): case(5902):
return COMPONENT_TEMP_HIGH_STRING; return COMPONENT_TEMP_HIGH_STRING;
case(5903): case(5903):
return COMPONENT_TEMP_OOL_LOW_STRING; return COMPONENT_TEMP_OOL_LOW_STRING;
case(5904): case(5904):
return COMPONENT_TEMP_OOL_HIGH_STRING; return COMPONENT_TEMP_OOL_HIGH_STRING;
case(5905): case(5905):
return TEMP_NOT_IN_OP_RANGE_STRING; return TEMP_NOT_IN_OP_RANGE_STRING;
case(7101): case(7101):
return FDIR_CHANGED_STATE_STRING; return FDIR_CHANGED_STATE_STRING;
case(7102): case(7102):
return FDIR_STARTS_RECOVERY_STRING; return FDIR_STARTS_RECOVERY_STRING;
case(7103): case(7103):
return FDIR_TURNS_OFF_DEVICE_STRING; return FDIR_TURNS_OFF_DEVICE_STRING;
case(7201): case(7201):
return MONITOR_CHANGED_STATE_STRING; return MONITOR_CHANGED_STATE_STRING;
case(7202): case(7202):
return VALUE_BELOW_LOW_LIMIT_STRING; return VALUE_BELOW_LOW_LIMIT_STRING;
case(7203): case(7203):
return VALUE_ABOVE_HIGH_LIMIT_STRING; return VALUE_ABOVE_HIGH_LIMIT_STRING;
case(7204): case(7204):
return VALUE_OUT_OF_RANGE_STRING; return VALUE_OUT_OF_RANGE_STRING;
case(7400): case(7400):
return CHANGING_MODE_STRING; return CHANGING_MODE_STRING;
case(7401): case(7401):
return MODE_INFO_STRING; return MODE_INFO_STRING;
case(7402): case(7402):
return FALLBACK_FAILED_STRING; return FALLBACK_FAILED_STRING;
case(7403): case(7403):
return MODE_TRANSITION_FAILED_STRING; return MODE_TRANSITION_FAILED_STRING;
case(7404): case(7404):
return CANT_KEEP_MODE_STRING; return CANT_KEEP_MODE_STRING;
case(7405): case(7405):
return OBJECT_IN_INVALID_MODE_STRING; return OBJECT_IN_INVALID_MODE_STRING;
case(7406): case(7406):
return FORCING_MODE_STRING; return FORCING_MODE_STRING;
case(7407): case(7407):
return MODE_CMD_REJECTED_STRING; return MODE_CMD_REJECTED_STRING;
case(7506): case(7506):
return HEALTH_INFO_STRING; return HEALTH_INFO_STRING;
case(7507): case(7507):
return CHILD_CHANGED_HEALTH_STRING; return CHILD_CHANGED_HEALTH_STRING;
case(7508): case(7508):
return CHILD_PROBLEMS_STRING; return CHILD_PROBLEMS_STRING;
case(7509): case(7509):
return OVERWRITING_HEALTH_STRING; return OVERWRITING_HEALTH_STRING;
case(7510): case(7510):
return TRYING_RECOVERY_STRING; return TRYING_RECOVERY_STRING;
case(7511): case(7511):
return RECOVERY_STEP_STRING; return RECOVERY_STEP_STRING;
case(7512): case(7512):
return RECOVERY_DONE_STRING; return RECOVERY_DONE_STRING;
case(7900): case(7900):
return RF_AVAILABLE_STRING; return RF_AVAILABLE_STRING;
case(7901): case(7901):
return RF_LOST_STRING; return RF_LOST_STRING;
case(7902): case(7902):
return BIT_LOCK_STRING; return BIT_LOCK_STRING;
case(7903): case(7903):
return BIT_LOCK_LOST_STRING; return BIT_LOCK_LOST_STRING;
case(7905): case(7905):
return FRAME_PROCESSING_FAILED_STRING; return FRAME_PROCESSING_FAILED_STRING;
case(9700): case(8900):
return TEST_STRING; return CLOCK_SET_STRING;
case(10600): case(8901):
return CHANGE_OF_SETUP_PARAMETER_STRING; return CLOCK_SET_FAILURE_STRING;
case(10900): case(9700):
return GPIO_PULL_HIGH_FAILED_STRING; return TEST_STRING;
case(10901): case(10600):
return GPIO_PULL_LOW_FAILED_STRING; return CHANGE_OF_SETUP_PARAMETER_STRING;
case(10902): case(10900):
return SWITCH_ALREADY_ON_STRING; return GPIO_PULL_HIGH_FAILED_STRING;
case(10903): case(10901):
return SWITCH_ALREADY_OFF_STRING; return GPIO_PULL_LOW_FAILED_STRING;
case(10904): case(10902):
return MAIN_SWITCH_TIMEOUT_STRING; return SWITCH_ALREADY_ON_STRING;
case(11000): case(10903):
return MAIN_SWITCH_ON_TIMEOUT_STRING; return SWITCH_ALREADY_OFF_STRING;
case(11001): case(10904):
return MAIN_SWITCH_OFF_TIMEOUT_STRING; return MAIN_SWITCH_TIMEOUT_STRING;
case(11002): case(11000):
return DEPLOYMENT_FAILED_STRING; return MAIN_SWITCH_ON_TIMEOUT_STRING;
case(11003): case(11001):
return DEPL_SA1_GPIO_SWTICH_ON_FAILED_STRING; return MAIN_SWITCH_OFF_TIMEOUT_STRING;
case(11004): case(11002):
return DEPL_SA2_GPIO_SWTICH_ON_FAILED_STRING; return DEPLOYMENT_FAILED_STRING;
case(11101): case(11003):
return MEMORY_READ_RPT_CRC_FAILURE_STRING; return DEPL_SA1_GPIO_SWTICH_ON_FAILED_STRING;
case(11102): case(11004):
return ACK_FAILURE_STRING; return DEPL_SA2_GPIO_SWTICH_ON_FAILED_STRING;
case(11103): case(11101):
return EXE_FAILURE_STRING; return MEMORY_READ_RPT_CRC_FAILURE_STRING;
case(11104): case(11102):
return CRC_FAILURE_EVENT_STRING; return ACK_FAILURE_STRING;
case(11201): case(11103):
return SELF_TEST_I2C_FAILURE_STRING; return EXE_FAILURE_STRING;
case(11202): case(11104):
return SELF_TEST_SPI_FAILURE_STRING; return CRC_FAILURE_EVENT_STRING;
case(11203): case(11201):
return SELF_TEST_ADC_FAILURE_STRING; return SELF_TEST_I2C_FAILURE_STRING;
case(11204): case(11202):
return SELF_TEST_PWM_FAILURE_STRING; return SELF_TEST_SPI_FAILURE_STRING;
case(11205): case(11203):
return SELF_TEST_TC_FAILURE_STRING; return SELF_TEST_ADC_FAILURE_STRING;
case(11206): case(11204):
return SELF_TEST_MTM_RANGE_FAILURE_STRING; return SELF_TEST_PWM_FAILURE_STRING;
case(11207): case(11205):
return SELF_TEST_COIL_CURRENT_FAILURE_STRING; return SELF_TEST_TC_FAILURE_STRING;
case(11208): case(11206):
return INVALID_ERROR_BYTE_STRING; return SELF_TEST_MTM_RANGE_FAILURE_STRING;
case(11301): case(11207):
return ERROR_STATE_STRING; return SELF_TEST_COIL_CURRENT_FAILURE_STRING;
case(11501): case(11208):
return SUPV_MEMORY_READ_RPT_CRC_FAILURE_STRING; return INVALID_ERROR_BYTE_STRING;
case(11502): case(11301):
return SUPV_ACK_FAILURE_STRING; return ERROR_STATE_STRING;
case(11503): case(11501):
return SUPV_EXE_FAILURE_STRING; return SUPV_MEMORY_READ_RPT_CRC_FAILURE_STRING;
case(11504): case(11502):
return SUPV_CRC_FAILURE_EVENT_STRING; return SUPV_ACK_FAILURE_STRING;
case(11600): case(11503):
return SANITIZATION_FAILED_STRING; return SUPV_EXE_FAILURE_STRING;
case(11700): case(11504):
return UPDATE_FILE_NOT_EXISTS_STRING; return SUPV_CRC_FAILURE_EVENT_STRING;
case(11701): case(11600):
return ACTION_COMMANDING_FAILED_STRING; return SANITIZATION_FAILED_STRING;
case(11702): case(11700):
return UPDATE_AVAILABLE_FAILED_STRING; return UPDATE_FILE_NOT_EXISTS_STRING;
case(11703): case(11701):
return UPDATE_TRANSFER_FAILED_STRING; return ACTION_COMMANDING_FAILED_STRING;
case(11704): case(11702):
return UPDATE_VERIFY_FAILED_STRING; return UPDATE_AVAILABLE_FAILED_STRING;
case(11705): case(11703):
return UPDATE_FINISHED_STRING; return UPDATE_TRANSFER_FAILED_STRING;
case(11800): case(11704):
return SEND_MRAM_DUMP_FAILED_STRING; return UPDATE_VERIFY_FAILED_STRING;
case(11801): case(11705):
return MRAM_DUMP_FAILED_STRING; return UPDATE_FINISHED_STRING;
case(11802): case(11800):
return MRAM_DUMP_FINISHED_STRING; return SEND_MRAM_DUMP_FAILED_STRING;
case(11901): case(11801):
return INVALID_TC_FRAME_STRING; return MRAM_DUMP_FAILED_STRING;
case(11902): case(11802):
return INVALID_FAR_STRING; return MRAM_DUMP_FINISHED_STRING;
case(11903): case(11901):
return CARRIER_LOCK_STRING; return INVALID_TC_FRAME_STRING;
case(11904): case(11902):
return BIT_LOCK_PDEC_STRING; return INVALID_FAR_STRING;
case(12000): case(11903):
return IMAGE_UPLOAD_FAILED_STRING; return CARRIER_LOCK_STRING;
case(12001): case(11904):
return IMAGE_DOWNLOAD_FAILED_STRING; return BIT_LOCK_PDEC_STRING;
case(12002): case(12000):
return IMAGE_UPLOAD_SUCCESSFUL_STRING; return IMAGE_UPLOAD_FAILED_STRING;
case(12003): case(12001):
return IMAGE_DOWNLOAD_SUCCESSFUL_STRING; return IMAGE_DOWNLOAD_FAILED_STRING;
case(12004): case(12002):
return FLASH_WRITE_SUCCESSFUL_STRING; return IMAGE_UPLOAD_SUCCESSFUL_STRING;
case(12005): case(12003):
return FLASH_READ_SUCCESSFUL_STRING; return IMAGE_DOWNLOAD_SUCCESSFUL_STRING;
case(12006): case(12004):
return FLASH_WRITE_FAILED_STRING; return FLASH_WRITE_SUCCESSFUL_STRING;
case(12007): case(12005):
return FLASH_READ_FAILED_STRING; return FLASH_READ_SUCCESSFUL_STRING;
case(12008): case(12006):
return FPGA_DOWNLOAD_SUCCESSFUL_STRING; return FLASH_WRITE_FAILED_STRING;
case(12009): case(12007):
return FPGA_DOWNLOAD_FAILED_STRING; return FLASH_READ_FAILED_STRING;
case(12010): case(12008):
return FPGA_UPLOAD_SUCCESSFUL_STRING; return FPGA_DOWNLOAD_SUCCESSFUL_STRING;
case(12011): case(12009):
return FPGA_UPLOAD_FAILED_STRING; return FPGA_DOWNLOAD_FAILED_STRING;
case(12012): case(12010):
return STR_HELPER_READING_REPLY_FAILED_STRING; return FPGA_UPLOAD_SUCCESSFUL_STRING;
case(12013): case(12011):
return STR_HELPER_COM_ERROR_STRING; return FPGA_UPLOAD_FAILED_STRING;
case(12014): case(12012):
return STR_HELPER_NO_REPLY_STRING; return STR_HELPER_READING_REPLY_FAILED_STRING;
case(12015): case(12013):
return STR_HELPER_DEC_ERROR_STRING; return STR_HELPER_COM_ERROR_STRING;
case(12016): case(12014):
return POSITION_MISMATCH_STRING; return STR_HELPER_NO_REPLY_STRING;
case(12017): case(12015):
return STR_HELPER_FILE_NOT_EXISTS_STRING; return STR_HELPER_DEC_ERROR_STRING;
case(12018): case(12016):
return STR_HELPER_SENDING_PACKET_FAILED_STRING; return POSITION_MISMATCH_STRING;
case(12019): case(12017):
return STR_HELPER_REQUESTING_MSG_FAILED_STRING; return STR_HELPER_FILE_NOT_EXISTS_STRING;
default: case(12018):
return "UNKNOWN_EVENT"; return STR_HELPER_SENDING_PACKET_FAILED_STRING;
} case(12019):
return 0; return STR_HELPER_REQUESTING_MSG_FAILED_STRING;
default:
return "UNKNOWN_EVENT";
}
return 0;
} }

@ -1 +1 @@
Subproject commit 636670f7a0075533974ca0a668efa9b623a52749 Subproject commit 80312ed21e5a02521fef7959a479bbd79f10e6d1

View File

@ -1,7 +1,7 @@
/** /**
* @brief Auto-generated event translation file. Contains 138 translations. * @brief Auto-generated event translation file. Contains 140 translations.
* @details * @details
* Generated on: 2022-02-03 17:09:37 * Generated on: 2022-02-03 17:13:35
*/ */
#include "translateEvents.h" #include "translateEvents.h"
@ -80,6 +80,8 @@ const char *RF_LOST_STRING = "RF_LOST";
const char *BIT_LOCK_STRING = "BIT_LOCK"; const char *BIT_LOCK_STRING = "BIT_LOCK";
const char *BIT_LOCK_LOST_STRING = "BIT_LOCK_LOST"; const char *BIT_LOCK_LOST_STRING = "BIT_LOCK_LOST";
const char *FRAME_PROCESSING_FAILED_STRING = "FRAME_PROCESSING_FAILED"; const char *FRAME_PROCESSING_FAILED_STRING = "FRAME_PROCESSING_FAILED";
const char *CLOCK_SET_STRING = "CLOCK_SET";
const char *CLOCK_SET_FAILURE_STRING = "CLOCK_SET_FAILURE";
const char *TEST_STRING = "TEST"; const char *TEST_STRING = "TEST";
const char *CHANGE_OF_SETUP_PARAMETER_STRING = "CHANGE_OF_SETUP_PARAMETER"; const char *CHANGE_OF_SETUP_PARAMETER_STRING = "CHANGE_OF_SETUP_PARAMETER";
const char *GPIO_PULL_HIGH_FAILED_STRING = "GPIO_PULL_HIGH_FAILED"; const char *GPIO_PULL_HIGH_FAILED_STRING = "GPIO_PULL_HIGH_FAILED";
@ -145,285 +147,289 @@ const char *STR_HELPER_SENDING_PACKET_FAILED_STRING = "STR_HELPER_SENDING_PACKET
const char *STR_HELPER_REQUESTING_MSG_FAILED_STRING = "STR_HELPER_REQUESTING_MSG_FAILED"; const char *STR_HELPER_REQUESTING_MSG_FAILED_STRING = "STR_HELPER_REQUESTING_MSG_FAILED";
const char * translateEvents(Event event) { const char * translateEvents(Event event) {
switch( (event & 0xffff) ) { switch( (event & 0xffff) ) {
case(2200): case(2200):
return STORE_SEND_WRITE_FAILED_STRING; return STORE_SEND_WRITE_FAILED_STRING;
case(2201): case(2201):
return STORE_WRITE_FAILED_STRING; return STORE_WRITE_FAILED_STRING;
case(2202): case(2202):
return STORE_SEND_READ_FAILED_STRING; return STORE_SEND_READ_FAILED_STRING;
case(2203): case(2203):
return STORE_READ_FAILED_STRING; return STORE_READ_FAILED_STRING;
case(2204): case(2204):
return UNEXPECTED_MSG_STRING; return UNEXPECTED_MSG_STRING;
case(2205): case(2205):
return STORING_FAILED_STRING; return STORING_FAILED_STRING;
case(2206): case(2206):
return TM_DUMP_FAILED_STRING; return TM_DUMP_FAILED_STRING;
case(2207): case(2207):
return STORE_INIT_FAILED_STRING; return STORE_INIT_FAILED_STRING;
case(2208): case(2208):
return STORE_INIT_EMPTY_STRING; return STORE_INIT_EMPTY_STRING;
case(2209): case(2209):
return STORE_CONTENT_CORRUPTED_STRING; return STORE_CONTENT_CORRUPTED_STRING;
case(2210): case(2210):
return STORE_INITIALIZE_STRING; return STORE_INITIALIZE_STRING;
case(2211): case(2211):
return INIT_DONE_STRING; return INIT_DONE_STRING;
case(2212): case(2212):
return DUMP_FINISHED_STRING; return DUMP_FINISHED_STRING;
case(2213): case(2213):
return DELETION_FINISHED_STRING; return DELETION_FINISHED_STRING;
case(2214): case(2214):
return DELETION_FAILED_STRING; return DELETION_FAILED_STRING;
case(2215): case(2215):
return AUTO_CATALOGS_SENDING_FAILED_STRING; return AUTO_CATALOGS_SENDING_FAILED_STRING;
case(2600): case(2600):
return GET_DATA_FAILED_STRING; return GET_DATA_FAILED_STRING;
case(2601): case(2601):
return STORE_DATA_FAILED_STRING; return STORE_DATA_FAILED_STRING;
case(2800): case(2800):
return DEVICE_BUILDING_COMMAND_FAILED_STRING; return DEVICE_BUILDING_COMMAND_FAILED_STRING;
case(2801): case(2801):
return DEVICE_SENDING_COMMAND_FAILED_STRING; return DEVICE_SENDING_COMMAND_FAILED_STRING;
case(2802): case(2802):
return DEVICE_REQUESTING_REPLY_FAILED_STRING; return DEVICE_REQUESTING_REPLY_FAILED_STRING;
case(2803): case(2803):
return DEVICE_READING_REPLY_FAILED_STRING; return DEVICE_READING_REPLY_FAILED_STRING;
case(2804): case(2804):
return DEVICE_INTERPRETING_REPLY_FAILED_STRING; return DEVICE_INTERPRETING_REPLY_FAILED_STRING;
case(2805): case(2805):
return DEVICE_MISSED_REPLY_STRING; return DEVICE_MISSED_REPLY_STRING;
case(2806): case(2806):
return DEVICE_UNKNOWN_REPLY_STRING; return DEVICE_UNKNOWN_REPLY_STRING;
case(2807): case(2807):
return DEVICE_UNREQUESTED_REPLY_STRING; return DEVICE_UNREQUESTED_REPLY_STRING;
case(2808): case(2808):
return INVALID_DEVICE_COMMAND_STRING; return INVALID_DEVICE_COMMAND_STRING;
case(2809): case(2809):
return MONITORING_LIMIT_EXCEEDED_STRING; return MONITORING_LIMIT_EXCEEDED_STRING;
case(2810): case(2810):
return MONITORING_AMBIGUOUS_STRING; return MONITORING_AMBIGUOUS_STRING;
case(2811): case(2811):
return DEVICE_WANTS_HARD_REBOOT_STRING; return DEVICE_WANTS_HARD_REBOOT_STRING;
case(4201): case(4201):
return FUSE_CURRENT_HIGH_STRING; return FUSE_CURRENT_HIGH_STRING;
case(4202): case(4202):
return FUSE_WENT_OFF_STRING; return FUSE_WENT_OFF_STRING;
case(4204): case(4204):
return POWER_ABOVE_HIGH_LIMIT_STRING; return POWER_ABOVE_HIGH_LIMIT_STRING;
case(4205): case(4205):
return POWER_BELOW_LOW_LIMIT_STRING; return POWER_BELOW_LOW_LIMIT_STRING;
case(4300): case(4300):
return SWITCH_WENT_OFF_STRING; return SWITCH_WENT_OFF_STRING;
case(5000): case(5000):
return HEATER_ON_STRING; return HEATER_ON_STRING;
case(5001): case(5001):
return HEATER_OFF_STRING; return HEATER_OFF_STRING;
case(5002): case(5002):
return HEATER_TIMEOUT_STRING; return HEATER_TIMEOUT_STRING;
case(5003): case(5003):
return HEATER_STAYED_ON_STRING; return HEATER_STAYED_ON_STRING;
case(5004): case(5004):
return HEATER_STAYED_OFF_STRING; return HEATER_STAYED_OFF_STRING;
case(5200): case(5200):
return TEMP_SENSOR_HIGH_STRING; return TEMP_SENSOR_HIGH_STRING;
case(5201): case(5201):
return TEMP_SENSOR_LOW_STRING; return TEMP_SENSOR_LOW_STRING;
case(5202): case(5202):
return TEMP_SENSOR_GRADIENT_STRING; return TEMP_SENSOR_GRADIENT_STRING;
case(5901): case(5901):
return COMPONENT_TEMP_LOW_STRING; return COMPONENT_TEMP_LOW_STRING;
case(5902): case(5902):
return COMPONENT_TEMP_HIGH_STRING; return COMPONENT_TEMP_HIGH_STRING;
case(5903): case(5903):
return COMPONENT_TEMP_OOL_LOW_STRING; return COMPONENT_TEMP_OOL_LOW_STRING;
case(5904): case(5904):
return COMPONENT_TEMP_OOL_HIGH_STRING; return COMPONENT_TEMP_OOL_HIGH_STRING;
case(5905): case(5905):
return TEMP_NOT_IN_OP_RANGE_STRING; return TEMP_NOT_IN_OP_RANGE_STRING;
case(7101): case(7101):
return FDIR_CHANGED_STATE_STRING; return FDIR_CHANGED_STATE_STRING;
case(7102): case(7102):
return FDIR_STARTS_RECOVERY_STRING; return FDIR_STARTS_RECOVERY_STRING;
case(7103): case(7103):
return FDIR_TURNS_OFF_DEVICE_STRING; return FDIR_TURNS_OFF_DEVICE_STRING;
case(7201): case(7201):
return MONITOR_CHANGED_STATE_STRING; return MONITOR_CHANGED_STATE_STRING;
case(7202): case(7202):
return VALUE_BELOW_LOW_LIMIT_STRING; return VALUE_BELOW_LOW_LIMIT_STRING;
case(7203): case(7203):
return VALUE_ABOVE_HIGH_LIMIT_STRING; return VALUE_ABOVE_HIGH_LIMIT_STRING;
case(7204): case(7204):
return VALUE_OUT_OF_RANGE_STRING; return VALUE_OUT_OF_RANGE_STRING;
case(7400): case(7400):
return CHANGING_MODE_STRING; return CHANGING_MODE_STRING;
case(7401): case(7401):
return MODE_INFO_STRING; return MODE_INFO_STRING;
case(7402): case(7402):
return FALLBACK_FAILED_STRING; return FALLBACK_FAILED_STRING;
case(7403): case(7403):
return MODE_TRANSITION_FAILED_STRING; return MODE_TRANSITION_FAILED_STRING;
case(7404): case(7404):
return CANT_KEEP_MODE_STRING; return CANT_KEEP_MODE_STRING;
case(7405): case(7405):
return OBJECT_IN_INVALID_MODE_STRING; return OBJECT_IN_INVALID_MODE_STRING;
case(7406): case(7406):
return FORCING_MODE_STRING; return FORCING_MODE_STRING;
case(7407): case(7407):
return MODE_CMD_REJECTED_STRING; return MODE_CMD_REJECTED_STRING;
case(7506): case(7506):
return HEALTH_INFO_STRING; return HEALTH_INFO_STRING;
case(7507): case(7507):
return CHILD_CHANGED_HEALTH_STRING; return CHILD_CHANGED_HEALTH_STRING;
case(7508): case(7508):
return CHILD_PROBLEMS_STRING; return CHILD_PROBLEMS_STRING;
case(7509): case(7509):
return OVERWRITING_HEALTH_STRING; return OVERWRITING_HEALTH_STRING;
case(7510): case(7510):
return TRYING_RECOVERY_STRING; return TRYING_RECOVERY_STRING;
case(7511): case(7511):
return RECOVERY_STEP_STRING; return RECOVERY_STEP_STRING;
case(7512): case(7512):
return RECOVERY_DONE_STRING; return RECOVERY_DONE_STRING;
case(7900): case(7900):
return RF_AVAILABLE_STRING; return RF_AVAILABLE_STRING;
case(7901): case(7901):
return RF_LOST_STRING; return RF_LOST_STRING;
case(7902): case(7902):
return BIT_LOCK_STRING; return BIT_LOCK_STRING;
case(7903): case(7903):
return BIT_LOCK_LOST_STRING; return BIT_LOCK_LOST_STRING;
case(7905): case(7905):
return FRAME_PROCESSING_FAILED_STRING; return FRAME_PROCESSING_FAILED_STRING;
case(9700): case(8900):
return TEST_STRING; return CLOCK_SET_STRING;
case(10600): case(8901):
return CHANGE_OF_SETUP_PARAMETER_STRING; return CLOCK_SET_FAILURE_STRING;
case(10900): case(9700):
return GPIO_PULL_HIGH_FAILED_STRING; return TEST_STRING;
case(10901): case(10600):
return GPIO_PULL_LOW_FAILED_STRING; return CHANGE_OF_SETUP_PARAMETER_STRING;
case(10902): case(10900):
return SWITCH_ALREADY_ON_STRING; return GPIO_PULL_HIGH_FAILED_STRING;
case(10903): case(10901):
return SWITCH_ALREADY_OFF_STRING; return GPIO_PULL_LOW_FAILED_STRING;
case(10904): case(10902):
return MAIN_SWITCH_TIMEOUT_STRING; return SWITCH_ALREADY_ON_STRING;
case(11000): case(10903):
return MAIN_SWITCH_ON_TIMEOUT_STRING; return SWITCH_ALREADY_OFF_STRING;
case(11001): case(10904):
return MAIN_SWITCH_OFF_TIMEOUT_STRING; return MAIN_SWITCH_TIMEOUT_STRING;
case(11002): case(11000):
return DEPLOYMENT_FAILED_STRING; return MAIN_SWITCH_ON_TIMEOUT_STRING;
case(11003): case(11001):
return DEPL_SA1_GPIO_SWTICH_ON_FAILED_STRING; return MAIN_SWITCH_OFF_TIMEOUT_STRING;
case(11004): case(11002):
return DEPL_SA2_GPIO_SWTICH_ON_FAILED_STRING; return DEPLOYMENT_FAILED_STRING;
case(11101): case(11003):
return MEMORY_READ_RPT_CRC_FAILURE_STRING; return DEPL_SA1_GPIO_SWTICH_ON_FAILED_STRING;
case(11102): case(11004):
return ACK_FAILURE_STRING; return DEPL_SA2_GPIO_SWTICH_ON_FAILED_STRING;
case(11103): case(11101):
return EXE_FAILURE_STRING; return MEMORY_READ_RPT_CRC_FAILURE_STRING;
case(11104): case(11102):
return CRC_FAILURE_EVENT_STRING; return ACK_FAILURE_STRING;
case(11201): case(11103):
return SELF_TEST_I2C_FAILURE_STRING; return EXE_FAILURE_STRING;
case(11202): case(11104):
return SELF_TEST_SPI_FAILURE_STRING; return CRC_FAILURE_EVENT_STRING;
case(11203): case(11201):
return SELF_TEST_ADC_FAILURE_STRING; return SELF_TEST_I2C_FAILURE_STRING;
case(11204): case(11202):
return SELF_TEST_PWM_FAILURE_STRING; return SELF_TEST_SPI_FAILURE_STRING;
case(11205): case(11203):
return SELF_TEST_TC_FAILURE_STRING; return SELF_TEST_ADC_FAILURE_STRING;
case(11206): case(11204):
return SELF_TEST_MTM_RANGE_FAILURE_STRING; return SELF_TEST_PWM_FAILURE_STRING;
case(11207): case(11205):
return SELF_TEST_COIL_CURRENT_FAILURE_STRING; return SELF_TEST_TC_FAILURE_STRING;
case(11208): case(11206):
return INVALID_ERROR_BYTE_STRING; return SELF_TEST_MTM_RANGE_FAILURE_STRING;
case(11301): case(11207):
return ERROR_STATE_STRING; return SELF_TEST_COIL_CURRENT_FAILURE_STRING;
case(11501): case(11208):
return SUPV_MEMORY_READ_RPT_CRC_FAILURE_STRING; return INVALID_ERROR_BYTE_STRING;
case(11502): case(11301):
return SUPV_ACK_FAILURE_STRING; return ERROR_STATE_STRING;
case(11503): case(11501):
return SUPV_EXE_FAILURE_STRING; return SUPV_MEMORY_READ_RPT_CRC_FAILURE_STRING;
case(11504): case(11502):
return SUPV_CRC_FAILURE_EVENT_STRING; return SUPV_ACK_FAILURE_STRING;
case(11600): case(11503):
return SANITIZATION_FAILED_STRING; return SUPV_EXE_FAILURE_STRING;
case(11700): case(11504):
return UPDATE_FILE_NOT_EXISTS_STRING; return SUPV_CRC_FAILURE_EVENT_STRING;
case(11701): case(11600):
return ACTION_COMMANDING_FAILED_STRING; return SANITIZATION_FAILED_STRING;
case(11702): case(11700):
return UPDATE_AVAILABLE_FAILED_STRING; return UPDATE_FILE_NOT_EXISTS_STRING;
case(11703): case(11701):
return UPDATE_TRANSFER_FAILED_STRING; return ACTION_COMMANDING_FAILED_STRING;
case(11704): case(11702):
return UPDATE_VERIFY_FAILED_STRING; return UPDATE_AVAILABLE_FAILED_STRING;
case(11705): case(11703):
return UPDATE_FINISHED_STRING; return UPDATE_TRANSFER_FAILED_STRING;
case(11800): case(11704):
return SEND_MRAM_DUMP_FAILED_STRING; return UPDATE_VERIFY_FAILED_STRING;
case(11801): case(11705):
return MRAM_DUMP_FAILED_STRING; return UPDATE_FINISHED_STRING;
case(11802): case(11800):
return MRAM_DUMP_FINISHED_STRING; return SEND_MRAM_DUMP_FAILED_STRING;
case(11901): case(11801):
return INVALID_TC_FRAME_STRING; return MRAM_DUMP_FAILED_STRING;
case(11902): case(11802):
return INVALID_FAR_STRING; return MRAM_DUMP_FINISHED_STRING;
case(11903): case(11901):
return CARRIER_LOCK_STRING; return INVALID_TC_FRAME_STRING;
case(11904): case(11902):
return BIT_LOCK_PDEC_STRING; return INVALID_FAR_STRING;
case(12000): case(11903):
return IMAGE_UPLOAD_FAILED_STRING; return CARRIER_LOCK_STRING;
case(12001): case(11904):
return IMAGE_DOWNLOAD_FAILED_STRING; return BIT_LOCK_PDEC_STRING;
case(12002): case(12000):
return IMAGE_UPLOAD_SUCCESSFUL_STRING; return IMAGE_UPLOAD_FAILED_STRING;
case(12003): case(12001):
return IMAGE_DOWNLOAD_SUCCESSFUL_STRING; return IMAGE_DOWNLOAD_FAILED_STRING;
case(12004): case(12002):
return FLASH_WRITE_SUCCESSFUL_STRING; return IMAGE_UPLOAD_SUCCESSFUL_STRING;
case(12005): case(12003):
return FLASH_READ_SUCCESSFUL_STRING; return IMAGE_DOWNLOAD_SUCCESSFUL_STRING;
case(12006): case(12004):
return FLASH_WRITE_FAILED_STRING; return FLASH_WRITE_SUCCESSFUL_STRING;
case(12007): case(12005):
return FLASH_READ_FAILED_STRING; return FLASH_READ_SUCCESSFUL_STRING;
case(12008): case(12006):
return FPGA_DOWNLOAD_SUCCESSFUL_STRING; return FLASH_WRITE_FAILED_STRING;
case(12009): case(12007):
return FPGA_DOWNLOAD_FAILED_STRING; return FLASH_READ_FAILED_STRING;
case(12010): case(12008):
return FPGA_UPLOAD_SUCCESSFUL_STRING; return FPGA_DOWNLOAD_SUCCESSFUL_STRING;
case(12011): case(12009):
return FPGA_UPLOAD_FAILED_STRING; return FPGA_DOWNLOAD_FAILED_STRING;
case(12012): case(12010):
return STR_HELPER_READING_REPLY_FAILED_STRING; return FPGA_UPLOAD_SUCCESSFUL_STRING;
case(12013): case(12011):
return STR_HELPER_COM_ERROR_STRING; return FPGA_UPLOAD_FAILED_STRING;
case(12014): case(12012):
return STR_HELPER_NO_REPLY_STRING; return STR_HELPER_READING_REPLY_FAILED_STRING;
case(12015): case(12013):
return STR_HELPER_DEC_ERROR_STRING; return STR_HELPER_COM_ERROR_STRING;
case(12016): case(12014):
return POSITION_MISMATCH_STRING; return STR_HELPER_NO_REPLY_STRING;
case(12017): case(12015):
return STR_HELPER_FILE_NOT_EXISTS_STRING; return STR_HELPER_DEC_ERROR_STRING;
case(12018): case(12016):
return STR_HELPER_SENDING_PACKET_FAILED_STRING; return POSITION_MISMATCH_STRING;
case(12019): case(12017):
return STR_HELPER_REQUESTING_MSG_FAILED_STRING; return STR_HELPER_FILE_NOT_EXISTS_STRING;
default: case(12018):
return "UNKNOWN_EVENT"; return STR_HELPER_SENDING_PACKET_FAILED_STRING;
} case(12019):
return 0; return STR_HELPER_REQUESTING_MSG_FAILED_STRING;
default:
return "UNKNOWN_EVENT";
}
return 0;
} }