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
Is your feature request related to a problem? Please describe.
Since uplink processing relies on CFE_SB_ReceiveBuffer return (either receive or timeout), actual uplink processing can not be synchronized or scheduled reliably and is inconsistent. Also could flood the interface by simply providing a CI_Lab cmd in each set of 10 msgs.
/* Regardless of packet vs timeout, always process uplink queue */
if (CI_LAB_Global.SocketConnected)
{
CI_LAB_ReadUpLink();
}
}
Also hard coded to process up to 10 messages per return from CFE_SB_ReceiveBuffer.
Describe the solution you'd like
Separate uplink processing from command processing by using a timer/callback and child task. Could then actually limit uplink processing and provide more consistent behavior.
Describe alternatives you've considered
Could add an uplink processing command that could come from a scheduler and/or support both commands and timer callback.
Additional context
Would simplify faster than real time (FRT) execution to remove dependency of uplink processing on CFE_SB_ReceiveBuffer timeout.
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
skliper
added a commit
to skliper/ci_lab
that referenced
this issue
Nov 15, 2023
Is your feature request related to a problem? Please describe.
Since uplink processing relies on
CFE_SB_ReceiveBuffer
return (either receive or timeout), actual uplink processing can not be synchronized or scheduled reliably and is inconsistent. Also could flood the interface by simply providing a CI_Lab cmd in each set of 10 msgs.ci_lab/fsw/src/ci_lab_app.c
Lines 91 to 110 in ed38aa2
Also hard coded to process up to 10 messages per return from
CFE_SB_ReceiveBuffer
.Describe the solution you'd like
Separate uplink processing from command processing by using a timer/callback and child task. Could then actually limit uplink processing and provide more consistent behavior.
Describe alternatives you've considered
Could add an uplink processing command that could come from a scheduler and/or support both commands and timer callback.
Additional context
Would simplify faster than real time (FRT) execution to remove dependency of uplink processing on
CFE_SB_ReceiveBuffer
timeout.Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: