From aa94b2ee0e45ab7b26b318934c49f75eed713ad2 Mon Sep 17 00:00:00 2001 From: Chris Knight Date: Tue, 5 May 2020 05:53:52 -0700 Subject: [PATCH] fix #661 - TBL events update --- fsw/cfe-core/src/inc/cfe_tbl_events.h | 44 +++++++++++++++++++-------- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/fsw/cfe-core/src/inc/cfe_tbl_events.h b/fsw/cfe-core/src/inc/cfe_tbl_events.h index 4f4a5f8d6..8906b5d08 100644 --- a/fsw/cfe-core/src/inc/cfe_tbl_events.h +++ b/fsw/cfe-core/src/inc/cfe_tbl_events.h @@ -46,7 +46,7 @@ ** and when you're done adding, set this to the highest EID you used. It may ** be worthwhile to, on occasion, re-number the EID's to put them back in order. */ -#define CFE_TBL_MAX_EID 105 +#define CFE_TBL_MAX_EID 103 /******************* Macro Definitions ***********************/ /* @@ -1064,20 +1064,38 @@ **/ #define CFE_TBL_LOAD_IN_PROGRESS_ERR_EID 100 -/* TODO: document see https://github.com/nasa/cFE/issues/661 */ -#define CFE_TBL_LOAD_SRC_TYPE_ERR_EID 101 - -/* TODO: document see https://github.com/nasa/cFE/issues/661 */ -#define CFE_TBL_LOAD_FILENAME_LONG_ERR_EID 102 - -/* TODO: document see https://github.com/nasa/cFE/issues/661 */ -#define CFE_TBL_LOAD_SHORT_FILE_ERR_EID 103 +/** \brief Filename is too long ('%s' (%lu) > %lu) +** \event Filename is too long ('%s' (%lu) > %lu) +** +** \par Type: ERROR +** +** \par Cause: +** +** The filename provided for the table file is too long (exceeding OS_MAX_PATH_LEN - 1). +**/ +#define CFE_TBL_LOAD_FILENAME_LONG_ERR_EID 101 -/* TODO: document see https://github.com/nasa/cFE/issues/661 */ -#define CFE_TBL_LOAD_TBLNAME_MISMATCH_ERR_EID 104 +/** \brief table name mismatch (exp=%s, tblfilhdr=%s) +** \event table name mismatch (exp=%s, tblfilhdr=%s) +** +** \par Type: ERROR +** +** \par Cause: +** +** The table name in the table file header does not match the specified table name. +**/ +#define CFE_TBL_LOAD_TBLNAME_MISMATCH_ERR_EID 102 -/* TODO: document see https://github.com/nasa/cFE/issues/661 */ -#define CFE_TBL_HANDLE_ACCESS_ERR_EID 105 +/** \brief No access to Tbl handle=%d +** \event No access to Tbl handle=%d +** +** \par Type: ERROR +** +** \par Cause: +** +** The application ID does not have access to the table handle. +**/ +#define CFE_TBL_HANDLE_ACCESS_ERR_EID 103 /** \} */