You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix for #377 only addressed removal of error event on nominal semaphore timeout (flow control). When a message buffer isn't available, this error event will flood when silent is false since every wakeup CF will try to resend the PDU. Note silent is set to false on all non-file data PDUs.
I didn't see any justification for why the code was implemented this way (no event for file data PDUs, events on the rest).
Describe the solution you'd like
I think it would be more useful to know it happened and a count of how often. Consider adding a counter for both semaphore timeouts and no message buffer available. Only send an event on the HK cycle when "no message buffer" counter increments, and report both in HK.
Describe alternatives you've considered
Could just send the event once when the no message buffer available count transitions to non-zero.
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
Checklist (Please check before submitting)
Is your feature request related to a problem? Please describe.
Fix for #377 only addressed removal of error event on nominal semaphore timeout (flow control). When a message buffer isn't available, this error event will flood when
silent
is false since every wakeup CF will try to resend the PDU. Notesilent
is set to false on all non-file data PDUs.I didn't see any justification for why the code was implemented this way (no event for file data PDUs, events on the rest).
This is the snip before the fix for #377.
CF/fsw/src/cf_cfdp_sbintf.c
Lines 91 to 116 in b0269ef
Describe the solution you'd like
I think it would be more useful to know it happened and a count of how often. Consider adding a counter for both semaphore timeouts and no message buffer available. Only send an event on the HK cycle when "no message buffer" counter increments, and report both in HK.
Describe alternatives you've considered
Could just send the event once when the no message buffer available count transitions to non-zero.
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: