diff --git a/src/config.rs b/src/config.rs index 5fcf541..e9c08a2 100644 --- a/src/config.rs +++ b/src/config.rs @@ -225,6 +225,7 @@ pub mod tmtc_err { UNKNOWN_TARGET_ID_EXT, ROUTING_ERROR_EXT, NOT_ENOUGH_APP_DATA_EXT, + REQUEST_TIMEOUT_EXT, ]; } @@ -288,6 +289,9 @@ pub mod ctrl_err { SHELL_CMD_IO_ERROR_EXT, SHELL_CMD_EXECUTION_FAILURE_EXT, SHELL_CMD_INVALID_FORMAT_EXT, + FILESYSTEM_COPY_ERROR_EXT, + IMAGE_NOT_FOUND_FOR_COPY_EXT, + INVALID_LOGFILE_PATH_EXT, ]; } @@ -318,6 +322,15 @@ pub mod cam_error { pub const LIST_FILE_ERROR: ResultU16 = ResultU16::new(GroupId::Camera as u8, 4); #[resultcode] pub const IO_ERROR: ResultU16 = ResultU16::new(GroupId::Camera as u8, 5); + + pub const CAM_ERR_RESULTS: &[ResultU16Info] = &[ + TAKE_IMAGE_ERROR_EXT, + NO_DATA_EXT, + ACTION_REQ_VARIANT_NOT_IMPL_EXT, + DESERIALIZE_ERROR_EXT, + LIST_FILE_ERROR_EXT, + IO_ERROR_EXT, + ]; } pub mod pool {