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

Configurable timeouts and loops #160

Closed
skliper opened this issue Nov 15, 2023 · 0 comments · Fixed by #161
Closed

Configurable timeouts and loops #160

skliper opened this issue Nov 15, 2023 · 0 comments · Fixed by #161
Assignees

Comments

@skliper
Copy link
Contributor

skliper commented Nov 15, 2023

Is your feature request related to a problem? Please describe.
Configurable number of commands processed, SB timeout, and uplink timeout would support a wider set of use cases:

/* Pend on receipt of command packet -- timeout set to 500 millisecs */
status = CFE_SB_ReceiveBuffer(&SBBufPtr, CI_LAB_Global.CommandPipe, 500);

for (i = 0; i <= 10; i++)

ci_lab/fsw/src/ci_lab_app.c

Lines 222 to 223 in 6e55bb4

OsStatus = OS_SocketRecvFrom(CI_LAB_Global.SocketID, CI_LAB_Global.NetBufPtr, CI_LAB_Global.NetBufSize,
&CI_LAB_Global.SocketAddress, OS_CHECK);

Describe the solution you'd like
Move these to internal config

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC

@skliper skliper self-assigned this Nov 15, 2023
dzbaker added a commit that referenced this issue Dec 5, 2023
@dzbaker dzbaker closed this as completed in 0013d43 Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant