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

Multiple cleanup items for TO_LAB #24

Merged
merged 4 commits into from
Mar 9, 2020

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Feb 7, 2020

Describe the contribution
Cleans up multiple aspects of the TO_LAB implementation. Details Below.

Fixes #15
Fixes #22
Fixes #23

These change sets are submitted as a single pull request, as they have inter-dependencies between them and will trigger conflicts if presented individually. This pull request still contains each fix as an individual commit, so each one can be independently reviewed.

For #15 / commit 17180f0: Change TO_LAB to use the OSAL socket API rather than calling BSD sockets functions directly.

For #23 / commit d041045: This creates a TO_LAB_Global namespace to isolate these global variables from other modules and prevent collision

For #22 / commit a66df71: Follow the naming conventions in the CFE naming convention document and follow message processing patterns from other modules

Testing performed
Build for native for both debug/release builds, with unit tests enabled. Confirmed normal operation of TO_LAB using the Python cFS_GroundSystem tool to enable telemetry output and verify that telemetry is being received as normal.

Expected behavior changes
No impact to behavior.

System(s) tested on
Ubuntu 18.04 LTS, 64 bit

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

@jphickey
Copy link
Contributor Author

jphickey commented Feb 7, 2020

Note This pull request is also likely to fix #21 as well (need to test separately)

@jphickey jphickey linked an issue Feb 11, 2020 that may be closed by this pull request
@jphickey
Copy link
Contributor Author

Confirmed this fixes #21 - to_lab builds cleanly on Raspberry Pi.

astrogeco and others added 4 commits February 28, 2020 16:29
Integration Candidate 20200226
Change TO_LAB to use the OSAL socket API rather than calling BSD
sockets functions directly.
This creates a TO_LAB_Global namespace to isolate these
global variables from other modules and prevent collision.
Follow the naming conventions in the CFE naming convention document
and follow message processing patterns from other modules.

- Separate each command into a separate handler function
- Each command handler accepts a const pointer to the full message
- Put Telemetry payload into a separate "Payload" sub-structure
@jphickey jphickey force-pushed the fix-15-22-23-to_lab-cleanup branch from a66df71 to 199c60d Compare March 2, 2020 15:43
@jphickey
Copy link
Contributor Author

jphickey commented Mar 2, 2020

NOTE: rebased to updated master (2020226 baseline) and resolved conflicts.

@skliper skliper added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Mar 2, 2020
@astrogeco astrogeco added IC - 20200226 CCB:Approved Indicates approval by CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Mar 2, 2020
@astrogeco
Copy link
Contributor

CCB Fast Tracked - Reviewed by J. Hageman

@astrogeco astrogeco changed the base branch from master to ic-20200226 March 9, 2020 15:05
@astrogeco astrogeco merged commit e67f968 into nasa:ic-20200226 Mar 9, 2020
@astrogeco astrogeco mentioned this pull request Mar 10, 2020
@astrogeco astrogeco added this to the 2.4.0 milestone Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates approval by CCB CCB:FastTrack
Projects
None yet
3 participants