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

Fix #85, add CmdCode to sch_lab_table #86

Merged

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Sep 1, 2021

Describe the contribution
Allows the command/function code to be specified in the messages generated by SCH_LAB. This allows it to be used for testing apps that require a specific function code in the internal wakeup message.

Fixes #85

Testing performed
Validated that the feature works by using it to test BP app (which requires a specific code in it's wakeup MID)

Expected behavior changes
SCH_LAB now supports testing apps that require a specific function code in the generated wake up message

System(s) tested on
Ubuntu

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Sep 1, 2021
Allows the command/function code to be specified in the messages
generated by SCH_LAB.  This allows it to be used for testing apps
that require a specific function code in the internal wakeup message.
@skliper
Copy link
Contributor

skliper commented Sep 2, 2021

Add to the default table? More obvious to the user if the element is at minimum described there or provides an example (can be commented out).

Copy link

@pepepr08 pepepr08 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modify table file to add example on how to set command code (or update current entries to include the CC).

@astrogeco astrogeco removed the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Sep 8, 2021
@astrogeco
Copy link
Contributor

CCB:2021-09-08 APPROVED

Adds an explicit initializtion of Function Code to 0 in the sample table,
to demonstrate how a user can set the code nonzero if necessary.
@jphickey jphickey dismissed pepepr08’s stale review September 8, 2021 16:31

Fixed in update commit d01eda7

@astrogeco astrogeco changed the base branch from main to integration-candidate September 8, 2021 18:22
@astrogeco astrogeco merged commit 622d4c7 into nasa:integration-candidate Sep 8, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Sep 8, 2021
astrogeco added a commit to nasa/cFS that referenced this pull request Sep 10, 2021
**Combines**

nasa/cFE#1939, v6.8.0-rc1+dev994
nasa/osal#1145, v5.1.0-rc1+dev604
nasa/PSP#307, v1.5.0-rc1+dev124
nasa/sch_lab#87, v2.4.0-rc1+dev47

**Includes**

*cFE*

nasa/cFE#1903, Update directory diagrams in application developer guide

nasa/cFE#1922, SB code coverage improvements #1905, Improve SB coverage

nasa/cFE#1936, Improve ES code coverage

nasa/cFE#1938, Enforce minimum code coverage

nasa/cFE#1940, Update dev guide for MSG and SBR

nasa/cFE#1941, Support unimplemented features in MSG FT

*osal*

nasa/osal#1144, Regex update in coverage enforcement to match .0

nasa/osal#1142, Add typecast to memchr call

*psp*

nasa/PSP#307, check that module type is not invalid

nasa/PSP#306, do not override add_psp_module for coverage test

*sch_lab*

nasa/sch_lab#86, add CmdCode to sch_lab_table

nasa/sch_lab#88, Fix missing typedef

Co-authored-by: Jacob Hageman           <[email protected]>
Co-authored-by: Joseph Hickey           <[email protected]>
Co-authored-by: Ariel Adams             <[email protected]>
Co-authored-by: Jose F Martinez Pedraza <[email protected]>
@jphickey jphickey deleted the fix-85-specify-cmdcode branch November 1, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow command codes to be specified in sch_lab_table
4 participants