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

MsgID check should use SB wrapper #79

Closed
jphickey opened this issue Jan 22, 2024 · 0 comments · Fixed by #81
Closed

MsgID check should use SB wrapper #79

jphickey opened this issue Jan 22, 2024 · 0 comments · Fixed by #81
Assignees
Labels
bug Something isn't working

Comments

@jphickey
Copy link
Contributor

Describe the bug
The MsgId validity check should use the SB IsValidMsgId() check, rather than checking against a fixed maximum. This is the same change as was in nasa/cFE#2489 but EDS has its own msg implementation (originally cloned from the CFE msg module) but this still has the same check and thus needs to be changed here too.

To Reproduce
N/A

Expected behavior
MsgID validity check should be consistent everywhere

Additional context
Single source of truth here should be via CFE_SB_IsValidMsgId()

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey self-assigned this Jan 22, 2024
@jphickey jphickey added the bug Something isn't working label Jan 22, 2024
jphickey added a commit to jphickey/EdsLib that referenced this issue Jan 22, 2024
Use the "CFE_SB_IsValidMsgId()" function to check msgids, as this
is the source of truth.
jphickey added a commit to jphickey/EdsLib that referenced this issue Jan 22, 2024
Use the "CFE_SB_IsValidMsgId()" function to check msgids, as this
is the source of truth.
dzbaker added a commit that referenced this issue Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant