2020-09-16 16:22:36 +02:00
|
|
|
/**
|
2022-03-01 18:05:11 +01:00
|
|
|
* @brief Auto-generated event translation file. Contains 141 translations.
|
2021-05-17 19:39:35 +02:00
|
|
|
* @details
|
2022-03-01 18:05:11 +01:00
|
|
|
* Generated on: 2022-03-01 18:04:34
|
2020-09-16 16:22:36 +02:00
|
|
|
*/
|
2021-05-17 19:39:35 +02:00
|
|
|
#include "translateEvents.h"
|
2020-09-16 16:22:36 +02:00
|
|
|
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *STORE_SEND_WRITE_FAILED_STRING = "STORE_SEND_WRITE_FAILED";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *STORE_WRITE_FAILED_STRING = "STORE_WRITE_FAILED";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *STORE_SEND_READ_FAILED_STRING = "STORE_SEND_READ_FAILED";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *STORE_READ_FAILED_STRING = "STORE_READ_FAILED";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *UNEXPECTED_MSG_STRING = "UNEXPECTED_MSG";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *STORING_FAILED_STRING = "STORING_FAILED";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *TM_DUMP_FAILED_STRING = "TM_DUMP_FAILED";
|
|
|
|
const char *STORE_INIT_FAILED_STRING = "STORE_INIT_FAILED";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *STORE_INIT_EMPTY_STRING = "STORE_INIT_EMPTY";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *STORE_CONTENT_CORRUPTED_STRING = "STORE_CONTENT_CORRUPTED";
|
|
|
|
const char *STORE_INITIALIZE_STRING = "STORE_INITIALIZE";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *INIT_DONE_STRING = "INIT_DONE";
|
|
|
|
const char *DUMP_FINISHED_STRING = "DUMP_FINISHED";
|
|
|
|
const char *DELETION_FINISHED_STRING = "DELETION_FINISHED";
|
|
|
|
const char *DELETION_FAILED_STRING = "DELETION_FAILED";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *AUTO_CATALOGS_SENDING_FAILED_STRING = "AUTO_CATALOGS_SENDING_FAILED";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *GET_DATA_FAILED_STRING = "GET_DATA_FAILED";
|
|
|
|
const char *STORE_DATA_FAILED_STRING = "STORE_DATA_FAILED";
|
|
|
|
const char *DEVICE_BUILDING_COMMAND_FAILED_STRING = "DEVICE_BUILDING_COMMAND_FAILED";
|
|
|
|
const char *DEVICE_SENDING_COMMAND_FAILED_STRING = "DEVICE_SENDING_COMMAND_FAILED";
|
|
|
|
const char *DEVICE_REQUESTING_REPLY_FAILED_STRING = "DEVICE_REQUESTING_REPLY_FAILED";
|
|
|
|
const char *DEVICE_READING_REPLY_FAILED_STRING = "DEVICE_READING_REPLY_FAILED";
|
|
|
|
const char *DEVICE_INTERPRETING_REPLY_FAILED_STRING = "DEVICE_INTERPRETING_REPLY_FAILED";
|
|
|
|
const char *DEVICE_MISSED_REPLY_STRING = "DEVICE_MISSED_REPLY";
|
|
|
|
const char *DEVICE_UNKNOWN_REPLY_STRING = "DEVICE_UNKNOWN_REPLY";
|
|
|
|
const char *DEVICE_UNREQUESTED_REPLY_STRING = "DEVICE_UNREQUESTED_REPLY";
|
|
|
|
const char *INVALID_DEVICE_COMMAND_STRING = "INVALID_DEVICE_COMMAND";
|
|
|
|
const char *MONITORING_LIMIT_EXCEEDED_STRING = "MONITORING_LIMIT_EXCEEDED";
|
|
|
|
const char *MONITORING_AMBIGUOUS_STRING = "MONITORING_AMBIGUOUS";
|
2022-02-03 12:03:47 +01:00
|
|
|
const char *DEVICE_WANTS_HARD_REBOOT_STRING = "DEVICE_WANTS_HARD_REBOOT";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *FUSE_CURRENT_HIGH_STRING = "FUSE_CURRENT_HIGH";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *FUSE_WENT_OFF_STRING = "FUSE_WENT_OFF";
|
|
|
|
const char *POWER_ABOVE_HIGH_LIMIT_STRING = "POWER_ABOVE_HIGH_LIMIT";
|
|
|
|
const char *POWER_BELOW_LOW_LIMIT_STRING = "POWER_BELOW_LOW_LIMIT";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *SWITCH_WENT_OFF_STRING = "SWITCH_WENT_OFF";
|
|
|
|
const char *HEATER_ON_STRING = "HEATER_ON";
|
|
|
|
const char *HEATER_OFF_STRING = "HEATER_OFF";
|
|
|
|
const char *HEATER_TIMEOUT_STRING = "HEATER_TIMEOUT";
|
|
|
|
const char *HEATER_STAYED_ON_STRING = "HEATER_STAYED_ON";
|
|
|
|
const char *HEATER_STAYED_OFF_STRING = "HEATER_STAYED_OFF";
|
|
|
|
const char *TEMP_SENSOR_HIGH_STRING = "TEMP_SENSOR_HIGH";
|
|
|
|
const char *TEMP_SENSOR_LOW_STRING = "TEMP_SENSOR_LOW";
|
|
|
|
const char *TEMP_SENSOR_GRADIENT_STRING = "TEMP_SENSOR_GRADIENT";
|
|
|
|
const char *COMPONENT_TEMP_LOW_STRING = "COMPONENT_TEMP_LOW";
|
|
|
|
const char *COMPONENT_TEMP_HIGH_STRING = "COMPONENT_TEMP_HIGH";
|
|
|
|
const char *COMPONENT_TEMP_OOL_LOW_STRING = "COMPONENT_TEMP_OOL_LOW";
|
|
|
|
const char *COMPONENT_TEMP_OOL_HIGH_STRING = "COMPONENT_TEMP_OOL_HIGH";
|
|
|
|
const char *TEMP_NOT_IN_OP_RANGE_STRING = "TEMP_NOT_IN_OP_RANGE";
|
2022-02-03 17:10:11 +01:00
|
|
|
const char *FDIR_CHANGED_STATE_STRING = "FDIR_CHANGED_STATE";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *FDIR_STARTS_RECOVERY_STRING = "FDIR_STARTS_RECOVERY";
|
|
|
|
const char *FDIR_TURNS_OFF_DEVICE_STRING = "FDIR_TURNS_OFF_DEVICE";
|
|
|
|
const char *MONITOR_CHANGED_STATE_STRING = "MONITOR_CHANGED_STATE";
|
|
|
|
const char *VALUE_BELOW_LOW_LIMIT_STRING = "VALUE_BELOW_LOW_LIMIT";
|
|
|
|
const char *VALUE_ABOVE_HIGH_LIMIT_STRING = "VALUE_ABOVE_HIGH_LIMIT";
|
|
|
|
const char *VALUE_OUT_OF_RANGE_STRING = "VALUE_OUT_OF_RANGE";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *CHANGING_MODE_STRING = "CHANGING_MODE";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *MODE_INFO_STRING = "MODE_INFO";
|
|
|
|
const char *FALLBACK_FAILED_STRING = "FALLBACK_FAILED";
|
|
|
|
const char *MODE_TRANSITION_FAILED_STRING = "MODE_TRANSITION_FAILED";
|
|
|
|
const char *CANT_KEEP_MODE_STRING = "CANT_KEEP_MODE";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *OBJECT_IN_INVALID_MODE_STRING = "OBJECT_IN_INVALID_MODE";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *FORCING_MODE_STRING = "FORCING_MODE";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *MODE_CMD_REJECTED_STRING = "MODE_CMD_REJECTED";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *HEALTH_INFO_STRING = "HEALTH_INFO";
|
|
|
|
const char *CHILD_CHANGED_HEALTH_STRING = "CHILD_CHANGED_HEALTH";
|
|
|
|
const char *CHILD_PROBLEMS_STRING = "CHILD_PROBLEMS";
|
2022-02-03 17:06:40 +01:00
|
|
|
const char *OVERWRITING_HEALTH_STRING = "OVERWRITING_HEALTH";
|
|
|
|
const char *TRYING_RECOVERY_STRING = "TRYING_RECOVERY";
|
|
|
|
const char *RECOVERY_STEP_STRING = "RECOVERY_STEP";
|
2020-09-16 16:22:36 +02:00
|
|
|
const char *RECOVERY_DONE_STRING = "RECOVERY_DONE";
|
|
|
|
const char *RF_AVAILABLE_STRING = "RF_AVAILABLE";
|
|
|
|
const char *RF_LOST_STRING = "RF_LOST";
|
|
|
|
const char *BIT_LOCK_STRING = "BIT_LOCK";
|
|
|
|
const char *BIT_LOCK_LOST_STRING = "BIT_LOCK_LOST";
|
|
|
|
const char *FRAME_PROCESSING_FAILED_STRING = "FRAME_PROCESSING_FAILED";
|
2022-02-03 17:14:28 +01:00
|
|
|
const char *CLOCK_SET_STRING = "CLOCK_SET";
|
|
|
|
const char *CLOCK_SET_FAILURE_STRING = "CLOCK_SET_FAILURE";
|
2021-05-17 19:39:35 +02:00
|
|
|
const char *TEST_STRING = "TEST";
|
|
|
|
const char *CHANGE_OF_SETUP_PARAMETER_STRING = "CHANGE_OF_SETUP_PARAMETER";
|
2021-11-25 14:07:05 +01:00
|
|
|
const char *GPIO_PULL_HIGH_FAILED_STRING = "GPIO_PULL_HIGH_FAILED";
|
|
|
|
const char *GPIO_PULL_LOW_FAILED_STRING = "GPIO_PULL_LOW_FAILED";
|
|
|
|
const char *SWITCH_ALREADY_ON_STRING = "SWITCH_ALREADY_ON";
|
|
|
|
const char *SWITCH_ALREADY_OFF_STRING = "SWITCH_ALREADY_OFF";
|
|
|
|
const char *MAIN_SWITCH_TIMEOUT_STRING = "MAIN_SWITCH_TIMEOUT";
|
|
|
|
const char *MAIN_SWITCH_ON_TIMEOUT_STRING = "MAIN_SWITCH_ON_TIMEOUT";
|
|
|
|
const char *MAIN_SWITCH_OFF_TIMEOUT_STRING = "MAIN_SWITCH_OFF_TIMEOUT";
|
|
|
|
const char *DEPLOYMENT_FAILED_STRING = "DEPLOYMENT_FAILED";
|
|
|
|
const char *DEPL_SA1_GPIO_SWTICH_ON_FAILED_STRING = "DEPL_SA1_GPIO_SWTICH_ON_FAILED";
|
|
|
|
const char *DEPL_SA2_GPIO_SWTICH_ON_FAILED_STRING = "DEPL_SA2_GPIO_SWTICH_ON_FAILED";
|
2022-02-03 17:10:11 +01:00
|
|
|
const char *MEMORY_READ_RPT_CRC_FAILURE_STRING = "MEMORY_READ_RPT_CRC_FAILURE";
|
|
|
|
const char *ACK_FAILURE_STRING = "ACK_FAILURE";
|
|
|
|
const char *EXE_FAILURE_STRING = "EXE_FAILURE";
|
|
|
|
const char *CRC_FAILURE_EVENT_STRING = "CRC_FAILURE_EVENT";
|
2021-06-29 17:27:39 +02:00
|
|
|
const char *SELF_TEST_I2C_FAILURE_STRING = "SELF_TEST_I2C_FAILURE";
|
|
|
|
const char *SELF_TEST_SPI_FAILURE_STRING = "SELF_TEST_SPI_FAILURE";
|
|
|
|
const char *SELF_TEST_ADC_FAILURE_STRING = "SELF_TEST_ADC_FAILURE";
|
|
|
|
const char *SELF_TEST_PWM_FAILURE_STRING = "SELF_TEST_PWM_FAILURE";
|
|
|
|
const char *SELF_TEST_TC_FAILURE_STRING = "SELF_TEST_TC_FAILURE";
|
|
|
|
const char *SELF_TEST_MTM_RANGE_FAILURE_STRING = "SELF_TEST_MTM_RANGE_FAILURE";
|
|
|
|
const char *SELF_TEST_COIL_CURRENT_FAILURE_STRING = "SELF_TEST_COIL_CURRENT_FAILURE";
|
|
|
|
const char *INVALID_ERROR_BYTE_STRING = "INVALID_ERROR_BYTE";
|
|
|
|
const char *ERROR_STATE_STRING = "ERROR_STATE";
|
2022-02-23 18:15:34 +01:00
|
|
|
const char *BOOTING_FIRMWARE_FAILED_STRING = "BOOTING_FIRMWARE_FAILED";
|
2022-02-27 15:46:06 +01:00
|
|
|
const char *BOOTING_BOOTLOADER_FAILED_STRING = "BOOTING_BOOTLOADER_FAILED";
|
2021-07-13 08:32:14 +02:00
|
|
|
const char *SUPV_MEMORY_READ_RPT_CRC_FAILURE_STRING = "SUPV_MEMORY_READ_RPT_CRC_FAILURE";
|
|
|
|
const char *SUPV_ACK_FAILURE_STRING = "SUPV_ACK_FAILURE";
|
|
|
|
const char *SUPV_EXE_FAILURE_STRING = "SUPV_EXE_FAILURE";
|
|
|
|
const char *SUPV_CRC_FAILURE_EVENT_STRING = "SUPV_CRC_FAILURE_EVENT";
|
2022-03-01 18:05:11 +01:00
|
|
|
const char *ALLOC_FAILURE_STRING = "ALLOC_FAILURE";
|
|
|
|
const char *REBOOT_SW_STRING = "REBOOT_SW";
|
|
|
|
const char *REBOOT_HW_STRING = "REBOOT_HW";
|
2021-08-08 15:02:59 +02:00
|
|
|
const char *UPDATE_FILE_NOT_EXISTS_STRING = "UPDATE_FILE_NOT_EXISTS";
|
|
|
|
const char *ACTION_COMMANDING_FAILED_STRING = "ACTION_COMMANDING_FAILED";
|
|
|
|
const char *UPDATE_AVAILABLE_FAILED_STRING = "UPDATE_AVAILABLE_FAILED";
|
|
|
|
const char *UPDATE_TRANSFER_FAILED_STRING = "UPDATE_TRANSFER_FAILED";
|
|
|
|
const char *UPDATE_VERIFY_FAILED_STRING = "UPDATE_VERIFY_FAILED";
|
|
|
|
const char *UPDATE_FINISHED_STRING = "UPDATE_FINISHED";
|
2021-08-31 11:20:21 +02:00
|
|
|
const char *SEND_MRAM_DUMP_FAILED_STRING = "SEND_MRAM_DUMP_FAILED";
|
|
|
|
const char *MRAM_DUMP_FAILED_STRING = "MRAM_DUMP_FAILED";
|
|
|
|
const char *MRAM_DUMP_FINISHED_STRING = "MRAM_DUMP_FINISHED";
|
2021-11-25 14:07:05 +01:00
|
|
|
const char *INVALID_TC_FRAME_STRING = "INVALID_TC_FRAME";
|
|
|
|
const char *INVALID_FAR_STRING = "INVALID_FAR";
|
|
|
|
const char *CARRIER_LOCK_STRING = "CARRIER_LOCK";
|
2021-11-25 14:09:06 +01:00
|
|
|
const char *BIT_LOCK_PDEC_STRING = "BIT_LOCK_PDEC";
|
2021-12-10 10:07:23 +01:00
|
|
|
const char *IMAGE_UPLOAD_FAILED_STRING = "IMAGE_UPLOAD_FAILED";
|
|
|
|
const char *IMAGE_DOWNLOAD_FAILED_STRING = "IMAGE_DOWNLOAD_FAILED";
|
2021-12-06 19:36:21 +01:00
|
|
|
const char *IMAGE_UPLOAD_SUCCESSFUL_STRING = "IMAGE_UPLOAD_SUCCESSFUL";
|
2021-12-10 10:07:23 +01:00
|
|
|
const char *IMAGE_DOWNLOAD_SUCCESSFUL_STRING = "IMAGE_DOWNLOAD_SUCCESSFUL";
|
2021-12-21 17:27:23 +01:00
|
|
|
const char *FLASH_WRITE_SUCCESSFUL_STRING = "FLASH_WRITE_SUCCESSFUL";
|
|
|
|
const char *FLASH_READ_SUCCESSFUL_STRING = "FLASH_READ_SUCCESSFUL";
|
|
|
|
const char *FLASH_READ_FAILED_STRING = "FLASH_READ_FAILED";
|
2022-02-14 11:28:15 +01:00
|
|
|
const char *FIRMWARE_UPDATE_SUCCESSFUL_STRING = "FIRMWARE_UPDATE_SUCCESSFUL";
|
|
|
|
const char *FIRMWARE_UPDATE_FAILED_STRING = "FIRMWARE_UPDATE_FAILED";
|
2021-12-21 17:27:23 +01:00
|
|
|
const char *STR_HELPER_READING_REPLY_FAILED_STRING = "STR_HELPER_READING_REPLY_FAILED";
|
|
|
|
const char *STR_HELPER_COM_ERROR_STRING = "STR_HELPER_COM_ERROR";
|
|
|
|
const char *STR_HELPER_NO_REPLY_STRING = "STR_HELPER_NO_REPLY";
|
|
|
|
const char *STR_HELPER_DEC_ERROR_STRING = "STR_HELPER_DEC_ERROR";
|
2021-12-09 15:02:30 +01:00
|
|
|
const char *POSITION_MISMATCH_STRING = "POSITION_MISMATCH";
|
2021-12-21 17:27:23 +01:00
|
|
|
const char *STR_HELPER_FILE_NOT_EXISTS_STRING = "STR_HELPER_FILE_NOT_EXISTS";
|
|
|
|
const char *STR_HELPER_SENDING_PACKET_FAILED_STRING = "STR_HELPER_SENDING_PACKET_FAILED";
|
|
|
|
const char *STR_HELPER_REQUESTING_MSG_FAILED_STRING = "STR_HELPER_REQUESTING_MSG_FAILED";
|
2020-09-16 16:22:36 +02:00
|
|
|
|
2022-02-27 15:48:42 +01:00
|
|
|
const char *translateEvents(Event event) {
|
2022-03-04 16:03:57 +01:00
|
|
|
switch ((event & 0xFFFF)) {
|
2022-02-27 15:48:42 +01:00
|
|
|
case (2200):
|
|
|
|
return STORE_SEND_WRITE_FAILED_STRING;
|
|
|
|
case (2201):
|
|
|
|
return STORE_WRITE_FAILED_STRING;
|
|
|
|
case (2202):
|
|
|
|
return STORE_SEND_READ_FAILED_STRING;
|
|
|
|
case (2203):
|
|
|
|
return STORE_READ_FAILED_STRING;
|
|
|
|
case (2204):
|
|
|
|
return UNEXPECTED_MSG_STRING;
|
|
|
|
case (2205):
|
|
|
|
return STORING_FAILED_STRING;
|
|
|
|
case (2206):
|
|
|
|
return TM_DUMP_FAILED_STRING;
|
|
|
|
case (2207):
|
|
|
|
return STORE_INIT_FAILED_STRING;
|
|
|
|
case (2208):
|
|
|
|
return STORE_INIT_EMPTY_STRING;
|
|
|
|
case (2209):
|
|
|
|
return STORE_CONTENT_CORRUPTED_STRING;
|
|
|
|
case (2210):
|
|
|
|
return STORE_INITIALIZE_STRING;
|
|
|
|
case (2211):
|
|
|
|
return INIT_DONE_STRING;
|
|
|
|
case (2212):
|
|
|
|
return DUMP_FINISHED_STRING;
|
|
|
|
case (2213):
|
|
|
|
return DELETION_FINISHED_STRING;
|
|
|
|
case (2214):
|
|
|
|
return DELETION_FAILED_STRING;
|
|
|
|
case (2215):
|
|
|
|
return AUTO_CATALOGS_SENDING_FAILED_STRING;
|
|
|
|
case (2600):
|
|
|
|
return GET_DATA_FAILED_STRING;
|
|
|
|
case (2601):
|
|
|
|
return STORE_DATA_FAILED_STRING;
|
|
|
|
case (2800):
|
|
|
|
return DEVICE_BUILDING_COMMAND_FAILED_STRING;
|
|
|
|
case (2801):
|
|
|
|
return DEVICE_SENDING_COMMAND_FAILED_STRING;
|
|
|
|
case (2802):
|
|
|
|
return DEVICE_REQUESTING_REPLY_FAILED_STRING;
|
|
|
|
case (2803):
|
|
|
|
return DEVICE_READING_REPLY_FAILED_STRING;
|
|
|
|
case (2804):
|
|
|
|
return DEVICE_INTERPRETING_REPLY_FAILED_STRING;
|
|
|
|
case (2805):
|
|
|
|
return DEVICE_MISSED_REPLY_STRING;
|
|
|
|
case (2806):
|
|
|
|
return DEVICE_UNKNOWN_REPLY_STRING;
|
|
|
|
case (2807):
|
|
|
|
return DEVICE_UNREQUESTED_REPLY_STRING;
|
|
|
|
case (2808):
|
|
|
|
return INVALID_DEVICE_COMMAND_STRING;
|
|
|
|
case (2809):
|
|
|
|
return MONITORING_LIMIT_EXCEEDED_STRING;
|
|
|
|
case (2810):
|
|
|
|
return MONITORING_AMBIGUOUS_STRING;
|
|
|
|
case (2811):
|
|
|
|
return DEVICE_WANTS_HARD_REBOOT_STRING;
|
|
|
|
case (4201):
|
|
|
|
return FUSE_CURRENT_HIGH_STRING;
|
|
|
|
case (4202):
|
|
|
|
return FUSE_WENT_OFF_STRING;
|
|
|
|
case (4204):
|
|
|
|
return POWER_ABOVE_HIGH_LIMIT_STRING;
|
|
|
|
case (4205):
|
|
|
|
return POWER_BELOW_LOW_LIMIT_STRING;
|
|
|
|
case (4300):
|
|
|
|
return SWITCH_WENT_OFF_STRING;
|
|
|
|
case (5000):
|
|
|
|
return HEATER_ON_STRING;
|
|
|
|
case (5001):
|
|
|
|
return HEATER_OFF_STRING;
|
|
|
|
case (5002):
|
|
|
|
return HEATER_TIMEOUT_STRING;
|
|
|
|
case (5003):
|
|
|
|
return HEATER_STAYED_ON_STRING;
|
|
|
|
case (5004):
|
|
|
|
return HEATER_STAYED_OFF_STRING;
|
|
|
|
case (5200):
|
|
|
|
return TEMP_SENSOR_HIGH_STRING;
|
|
|
|
case (5201):
|
|
|
|
return TEMP_SENSOR_LOW_STRING;
|
|
|
|
case (5202):
|
|
|
|
return TEMP_SENSOR_GRADIENT_STRING;
|
|
|
|
case (5901):
|
|
|
|
return COMPONENT_TEMP_LOW_STRING;
|
|
|
|
case (5902):
|
|
|
|
return COMPONENT_TEMP_HIGH_STRING;
|
|
|
|
case (5903):
|
|
|
|
return COMPONENT_TEMP_OOL_LOW_STRING;
|
|
|
|
case (5904):
|
|
|
|
return COMPONENT_TEMP_OOL_HIGH_STRING;
|
|
|
|
case (5905):
|
|
|
|
return TEMP_NOT_IN_OP_RANGE_STRING;
|
|
|
|
case (7101):
|
|
|
|
return FDIR_CHANGED_STATE_STRING;
|
|
|
|
case (7102):
|
|
|
|
return FDIR_STARTS_RECOVERY_STRING;
|
|
|
|
case (7103):
|
|
|
|
return FDIR_TURNS_OFF_DEVICE_STRING;
|
|
|
|
case (7201):
|
|
|
|
return MONITOR_CHANGED_STATE_STRING;
|
|
|
|
case (7202):
|
|
|
|
return VALUE_BELOW_LOW_LIMIT_STRING;
|
|
|
|
case (7203):
|
|
|
|
return VALUE_ABOVE_HIGH_LIMIT_STRING;
|
|
|
|
case (7204):
|
|
|
|
return VALUE_OUT_OF_RANGE_STRING;
|
|
|
|
case (7400):
|
|
|
|
return CHANGING_MODE_STRING;
|
|
|
|
case (7401):
|
|
|
|
return MODE_INFO_STRING;
|
|
|
|
case (7402):
|
|
|
|
return FALLBACK_FAILED_STRING;
|
|
|
|
case (7403):
|
|
|
|
return MODE_TRANSITION_FAILED_STRING;
|
|
|
|
case (7404):
|
|
|
|
return CANT_KEEP_MODE_STRING;
|
|
|
|
case (7405):
|
|
|
|
return OBJECT_IN_INVALID_MODE_STRING;
|
|
|
|
case (7406):
|
|
|
|
return FORCING_MODE_STRING;
|
|
|
|
case (7407):
|
|
|
|
return MODE_CMD_REJECTED_STRING;
|
|
|
|
case (7506):
|
|
|
|
return HEALTH_INFO_STRING;
|
|
|
|
case (7507):
|
|
|
|
return CHILD_CHANGED_HEALTH_STRING;
|
|
|
|
case (7508):
|
|
|
|
return CHILD_PROBLEMS_STRING;
|
|
|
|
case (7509):
|
|
|
|
return OVERWRITING_HEALTH_STRING;
|
|
|
|
case (7510):
|
|
|
|
return TRYING_RECOVERY_STRING;
|
|
|
|
case (7511):
|
|
|
|
return RECOVERY_STEP_STRING;
|
|
|
|
case (7512):
|
|
|
|
return RECOVERY_DONE_STRING;
|
|
|
|
case (7900):
|
|
|
|
return RF_AVAILABLE_STRING;
|
|
|
|
case (7901):
|
|
|
|
return RF_LOST_STRING;
|
|
|
|
case (7902):
|
|
|
|
return BIT_LOCK_STRING;
|
|
|
|
case (7903):
|
|
|
|
return BIT_LOCK_LOST_STRING;
|
|
|
|
case (7905):
|
|
|
|
return FRAME_PROCESSING_FAILED_STRING;
|
|
|
|
case (8900):
|
|
|
|
return CLOCK_SET_STRING;
|
|
|
|
case (8901):
|
|
|
|
return CLOCK_SET_FAILURE_STRING;
|
|
|
|
case (9700):
|
|
|
|
return TEST_STRING;
|
|
|
|
case (10600):
|
|
|
|
return CHANGE_OF_SETUP_PARAMETER_STRING;
|
|
|
|
case (10900):
|
|
|
|
return GPIO_PULL_HIGH_FAILED_STRING;
|
|
|
|
case (10901):
|
|
|
|
return GPIO_PULL_LOW_FAILED_STRING;
|
|
|
|
case (10902):
|
|
|
|
return SWITCH_ALREADY_ON_STRING;
|
|
|
|
case (10903):
|
|
|
|
return SWITCH_ALREADY_OFF_STRING;
|
|
|
|
case (10904):
|
|
|
|
return MAIN_SWITCH_TIMEOUT_STRING;
|
|
|
|
case (11000):
|
|
|
|
return MAIN_SWITCH_ON_TIMEOUT_STRING;
|
|
|
|
case (11001):
|
|
|
|
return MAIN_SWITCH_OFF_TIMEOUT_STRING;
|
|
|
|
case (11002):
|
|
|
|
return DEPLOYMENT_FAILED_STRING;
|
|
|
|
case (11003):
|
|
|
|
return DEPL_SA1_GPIO_SWTICH_ON_FAILED_STRING;
|
|
|
|
case (11004):
|
|
|
|
return DEPL_SA2_GPIO_SWTICH_ON_FAILED_STRING;
|
|
|
|
case (11101):
|
|
|
|
return MEMORY_READ_RPT_CRC_FAILURE_STRING;
|
|
|
|
case (11102):
|
|
|
|
return ACK_FAILURE_STRING;
|
|
|
|
case (11103):
|
|
|
|
return EXE_FAILURE_STRING;
|
|
|
|
case (11104):
|
|
|
|
return CRC_FAILURE_EVENT_STRING;
|
|
|
|
case (11201):
|
|
|
|
return SELF_TEST_I2C_FAILURE_STRING;
|
|
|
|
case (11202):
|
|
|
|
return SELF_TEST_SPI_FAILURE_STRING;
|
|
|
|
case (11203):
|
|
|
|
return SELF_TEST_ADC_FAILURE_STRING;
|
|
|
|
case (11204):
|
|
|
|
return SELF_TEST_PWM_FAILURE_STRING;
|
|
|
|
case (11205):
|
|
|
|
return SELF_TEST_TC_FAILURE_STRING;
|
|
|
|
case (11206):
|
|
|
|
return SELF_TEST_MTM_RANGE_FAILURE_STRING;
|
|
|
|
case (11207):
|
|
|
|
return SELF_TEST_COIL_CURRENT_FAILURE_STRING;
|
|
|
|
case (11208):
|
|
|
|
return INVALID_ERROR_BYTE_STRING;
|
|
|
|
case (11301):
|
|
|
|
return ERROR_STATE_STRING;
|
|
|
|
case (11401):
|
|
|
|
return BOOTING_FIRMWARE_FAILED_STRING;
|
|
|
|
case (11402):
|
|
|
|
return BOOTING_BOOTLOADER_FAILED_STRING;
|
|
|
|
case (11501):
|
|
|
|
return SUPV_MEMORY_READ_RPT_CRC_FAILURE_STRING;
|
|
|
|
case (11502):
|
|
|
|
return SUPV_ACK_FAILURE_STRING;
|
|
|
|
case (11503):
|
|
|
|
return SUPV_EXE_FAILURE_STRING;
|
|
|
|
case (11504):
|
|
|
|
return SUPV_CRC_FAILURE_EVENT_STRING;
|
|
|
|
case (11600):
|
2022-03-01 18:05:11 +01:00
|
|
|
return ALLOC_FAILURE_STRING;
|
|
|
|
case (11601):
|
|
|
|
return REBOOT_SW_STRING;
|
|
|
|
case (11603):
|
|
|
|
return REBOOT_HW_STRING;
|
2022-02-27 15:48:42 +01:00
|
|
|
case (11700):
|
|
|
|
return UPDATE_FILE_NOT_EXISTS_STRING;
|
|
|
|
case (11701):
|
|
|
|
return ACTION_COMMANDING_FAILED_STRING;
|
|
|
|
case (11702):
|
|
|
|
return UPDATE_AVAILABLE_FAILED_STRING;
|
|
|
|
case (11703):
|
|
|
|
return UPDATE_TRANSFER_FAILED_STRING;
|
|
|
|
case (11704):
|
|
|
|
return UPDATE_VERIFY_FAILED_STRING;
|
|
|
|
case (11705):
|
|
|
|
return UPDATE_FINISHED_STRING;
|
|
|
|
case (11800):
|
|
|
|
return SEND_MRAM_DUMP_FAILED_STRING;
|
|
|
|
case (11801):
|
|
|
|
return MRAM_DUMP_FAILED_STRING;
|
|
|
|
case (11802):
|
|
|
|
return MRAM_DUMP_FINISHED_STRING;
|
|
|
|
case (11901):
|
|
|
|
return INVALID_TC_FRAME_STRING;
|
|
|
|
case (11902):
|
|
|
|
return INVALID_FAR_STRING;
|
|
|
|
case (11903):
|
|
|
|
return CARRIER_LOCK_STRING;
|
|
|
|
case (11904):
|
|
|
|
return BIT_LOCK_PDEC_STRING;
|
|
|
|
case (12000):
|
|
|
|
return IMAGE_UPLOAD_FAILED_STRING;
|
|
|
|
case (12001):
|
|
|
|
return IMAGE_DOWNLOAD_FAILED_STRING;
|
|
|
|
case (12002):
|
|
|
|
return IMAGE_UPLOAD_SUCCESSFUL_STRING;
|
|
|
|
case (12003):
|
|
|
|
return IMAGE_DOWNLOAD_SUCCESSFUL_STRING;
|
|
|
|
case (12004):
|
|
|
|
return FLASH_WRITE_SUCCESSFUL_STRING;
|
|
|
|
case (12005):
|
|
|
|
return FLASH_READ_SUCCESSFUL_STRING;
|
|
|
|
case (12006):
|
|
|
|
return FLASH_READ_FAILED_STRING;
|
|
|
|
case (12007):
|
|
|
|
return FIRMWARE_UPDATE_SUCCESSFUL_STRING;
|
|
|
|
case (12008):
|
|
|
|
return FIRMWARE_UPDATE_FAILED_STRING;
|
|
|
|
case (12009):
|
|
|
|
return STR_HELPER_READING_REPLY_FAILED_STRING;
|
|
|
|
case (12010):
|
|
|
|
return STR_HELPER_COM_ERROR_STRING;
|
|
|
|
case (12011):
|
|
|
|
return STR_HELPER_NO_REPLY_STRING;
|
|
|
|
case (12012):
|
|
|
|
return STR_HELPER_DEC_ERROR_STRING;
|
|
|
|
case (12013):
|
|
|
|
return POSITION_MISMATCH_STRING;
|
|
|
|
case (12014):
|
|
|
|
return STR_HELPER_FILE_NOT_EXISTS_STRING;
|
|
|
|
case (12015):
|
|
|
|
return STR_HELPER_SENDING_PACKET_FAILED_STRING;
|
|
|
|
case (12016):
|
|
|
|
return STR_HELPER_REQUESTING_MSG_FAILED_STRING;
|
|
|
|
default:
|
|
|
|
return "UNKNOWN_EVENT";
|
|
|
|
}
|
|
|
|
return 0;
|
2020-09-16 16:22:36 +02:00
|
|
|
}
|