Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #661, TBL events update #669

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 31 additions & 13 deletions fsw/cfe-core/src/inc/cfe_tbl_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ***********************/
/*
Expand Down Expand Up @@ -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 <tt> Filename is too long ('%s' (%lu) > %lu) </tt>
** \event <tt> Filename is too long ('%s' (%lu) > %lu) </tt>
**
** \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 <tt> table name mismatch (exp=%s, tblfilhdr=%s) </tt>
** \event <tt> table name mismatch (exp=%s, tblfilhdr=%s) </tt>
**
** \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 <tt> No access to Tbl handle=%d </tt>
** \event <tt> No access to Tbl handle=%d </tt>
**
** \par Type: ERROR
**
** \par Cause:
**
** The application ID does not have access to the table handle.
**/
#define CFE_TBL_HANDLE_ACCESS_ERR_EID 103

/** \} */

Expand Down