-
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
SB Pipe Info 'LastSender' Field is Unused #744
Comments
Is the just the reporting or does CFE_SB_GetLastSenderId API also not work? |
Just the reporting. It looks like the LastSender field is never referenced
by anyone. CFE_SB_GetLastSenderId doesn't reference that field.
…On Wed, Jun 17, 2020 at 10:25 AM jwilmot ***@***.***> wrote:
Is the just the reporting or does CFE_SB_GetLastSenderId API also not work?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#744 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMGKCB3BOMKGRZPVUK54W3RXDG3XANCNFSM4OAUUZHA>
.
|
So cfe_sb.h defines:
The definition in cfe_sb_priv.h does not define what the LastSender field should be, but I'm guessing ProcessorId is not all that helpful. (Even SBN-relayed messages would show up with the local ProcessorId.) I will implement as AppId as that seems the most sensible. I'll also add AppId to CFE_SB_SenderId_t as well, and at some point it might make more sense to deprecate AppName from this struct. Note that SBN uses the GetLastSenderId() API to ensure that it doesn't end up with an echo problem. |
Describe the bug
The LastSender field in in the file produced by a SB 'Send Pipe Info to file' command is always zero. After doing some seraches it appears that this field defined in CFE_SB_PipeD_t in cfe_sb_priv.h is never set.
To Reproduce
Expected behavior
The structure definition does not have any comments as to what to expect in this field. I would expect the AppId of the of the sender of last message send to the particular pipe.
Code snips
n/a
System observed on:
Wndows VM running Ubuntu 18.04
cfE 6.71, OSAL 5.0.1.0, PSP 1.4.0.0
Additional context
None
Reporter Info
David McComas, NASA Emeritus
The text was updated successfully, but these errors were encountered: