We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Given max number of message keys is 1+ highest valid msgid:
cFE/fsw/cfe-core/src/sb/cfe_sb_priv.h
Line 107 in 95f34d2
and message key is uint16:
Line 122 in 95f34d2
Setting CFE_PLATFORM_SB_HIGHEST_VALID_MSGID to 0xFFFF results in forever loop in:
cFE/fsw/cfe-core/src/sb/cfe_sb_init.c
Lines 219 to 224 in 95f34d2
To Reproduce Set CFE_PLATFORM_SB_HIGHEST_VALID_MSGID to 0xFFFF and build/run.
Expected behavior Full 16 bits of message id should be usable.
Code snips See above
System observed on:
Additional context None
Reporter Info Jacob Hageman - NASA/GSFC (per JSC identification of the issue)
The text was updated successfully, but these errors were encountered:
Fix nasa#707, Resolve highest MsgID of 0xFFFF bug
49fab4b
Changes Message Key from uint16 to uint32 to avoid rollover
Test nasa/cFE#707
eafc28f
71f3242
Merge pull request #708 from skliper/fix707-msgkey-type-bug
4d78023
Fix #707, Resolve highest MsgID of 0xFFFF bug
skliper
Successfully merging a pull request may close this issue.
Describe the bug
Given max number of message keys is 1+ highest valid msgid:
cFE/fsw/cfe-core/src/sb/cfe_sb_priv.h
Line 107 in 95f34d2
and message key is uint16:
cFE/fsw/cfe-core/src/sb/cfe_sb_priv.h
Line 122 in 95f34d2
Setting CFE_PLATFORM_SB_HIGHEST_VALID_MSGID to 0xFFFF results in forever loop in:
cFE/fsw/cfe-core/src/sb/cfe_sb_init.c
Lines 219 to 224 in 95f34d2
To Reproduce
Set CFE_PLATFORM_SB_HIGHEST_VALID_MSGID to 0xFFFF and build/run.
Expected behavior
Full 16 bits of message id should be usable.
Code snips
See above
System observed on:
Additional context
None
Reporter Info
Jacob Hageman - NASA/GSFC (per JSC identification of the issue)
The text was updated successfully, but these errors were encountered: