Skip to content

Commit

Permalink
Merge pull request nasa#669 from CDKnightNASA/fix-661-tbl_events_fix
Browse files Browse the repository at this point in the history
Fix nasa#661, TBL events update
  • Loading branch information
astrogeco authored May 8, 2020
2 parents d2c54cc + aa94b2e commit fd802f3
Showing 1 changed file with 31 additions and 13 deletions.
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

0 comments on commit fd802f3

Please sign in to comment.