-
Notifications
You must be signed in to change notification settings - Fork 207
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
cFE Integration candidate: Caelum-rc4+dev66 #2480
Conversation
A topic ID is the same concept as was previously referred to as a portable message number. This just formalizes it, gives it a name, and adds some macros for easier customization of the behavior.
This avoids having an identifier that starts with a digit in the case that the CFE_TIME_ prefix is not needed/used.
The API documentation should not refer to internal headers, only public headers. The fact that the message payload was based on this enum meant that the enum definition is in the wrong place.
…with-CFE_MSG_PTR Fix #2057, Update docs and UT to use CFE_MSG_PTR
Fix #2410, document ES Perf enums
Fix #2473, 2475, document and use topicid numbers for cfe
@@ -49,14 +49,14 @@ | |||
"%s: Application Init Failed,RC=0x%08X\n", | |||
"%s: Failed invalid arguments\n"}; | |||
|
|||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_SEND_HK = {.MsgId = | |||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_SEND_HK = {.MsgId = |
Check notice
Code scanning / CodeQL-coding-standard
Variable scope too large Note
Test_PipeCmds
CFE_SB_MSGID_WRAP_VALUE(CFE_TIME_SEND_HK_MID)}; | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_TONE_CMD = {.MsgId = | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_TONE_CMD = {.MsgId = |
Check notice
Code scanning / CodeQL-coding-standard
Variable scope too large Note
Test_PipeCmds
CFE_SB_MSGID_WRAP_VALUE(CFE_TIME_TONE_CMD_MID)}; | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_DATA_CMD = {.MsgId = | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_DATA_CMD = {.MsgId = |
Check notice
Code scanning / CodeQL-coding-standard
Variable scope too large Note
Test_PipeCmds
.MsgId = CFE_SB_MSGID_WRAP_VALUE(CFE_TIME_CMD_MID), .CommandCode = CFE_TIME_ADD_1HZ_ADJUSTMENT_CC}; | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_CMD_SUB_1HZ_ADJUSTMENT_CC = { | ||
.MsgId = CFE_SB_MSGID_WRAP_VALUE(CFE_TIME_CMD_MID), .CommandCode = CFE_TIME_SUB_1HZ_ADJUSTMENT_CC}; | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_CMD_ADD_ONEHZ_ADJUSTMENT_CC = { |
Check notice
Code scanning / CodeQL-coding-standard
Variable scope too large Note
Test_PipeCmds
.MsgId = CFE_SB_MSGID_WRAP_VALUE(CFE_TIME_CMD_MID), .CommandCode = CFE_TIME_SUB_1HZ_ADJUSTMENT_CC}; | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_CMD_ADD_ONEHZ_ADJUSTMENT_CC = { | ||
.MsgId = CFE_SB_MSGID_WRAP_VALUE(CFE_TIME_CMD_MID), .CommandCode = CFE_TIME_ADD_ONEHZ_ADJUSTMENT_CC}; | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_CMD_SUB_ONEHZ_ADJUSTMENT_CC = { |
Check notice
Code scanning / CodeQL-coding-standard
Variable scope too large Note
Test_PipeCmds
CFE_SB_MSGID_WRAP_VALUE(CFE_TIME_DATA_CMD_MID)}; | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_1HZ_CMD = {.MsgId = | ||
CFE_SB_MSGID_WRAP_VALUE(CFE_TIME_1HZ_CMD_MID)}; | ||
static const UT_TaskPipeDispatchId_t UT_TPID_CFE_TIME_ONEHZ_CMD = {.MsgId = |
Check notice
Code scanning / CodeQL-coding-standard
Variable scope too large Note
Checklist (Please check before submitting)
Describe the contribution
CFE_MSG_PTR
#2472. Addresses Issue Update app dev guide and unit tests to useCFE_MSG_PTR
instead of&(x).Msg
#2057Testing performed
cFS Bundle Checks
cFE Checks
Expected behavior changes
See PRs
System(s) tested on
Ubuntu 20.04
Additional context
Add any other context about the contribution here.
Third party code
If included, identify any third party code and provide text file of license
Contributor Info - All information REQUIRED for consideration of pull request
@thnkslprpt
@jphickey
@irowebbn