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 #181, Add test start command script for cmdUtil #182

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Subsystems/cmdUtil/es-delete-app.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# es-delete-app.sh : This script will call the cmdUtil program with a command packet to the
# ES cFE application. It will tell ES to delete the TO App. It is defaulting to the localhost.
# ES cFE application. It will tell ES to delete the named. It is defaulting to the localhost.
./cmdUtil --pktid=0x1806 --cmdcode=5 --string="20:ES_APP"
16 changes: 16 additions & 0 deletions Subsystems/cmdUtil/start-test-app.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Command to start the test application
# CFE_ES_START_APP_CC = 4
#
# typedef struct CFE_ES_StartAppCmd_Payload
# {
# char Application[CFE_MISSION_MAX_API_LEN]; //CFE_MISSION_MAX_API_LEN = 20
# char AppEntryPoint[CFE_MISSION_MAX_API_LEN];
# char AppFileName[CFE_MISSION_MAX_PATH_LEN]; //CFE_MISSION_MAX_PATH_LEN = 64
# CFE_ES_MemOffset_t StackSize; //uint32
# CFE_ES_ExceptionAction_Enum_t ExceptionAction; //uint8
# undocumented SPARE uint8
# CFE_ES_TaskPriority_Atom_t Priority; //uint16
# } CFE_ES_StartAppCmd_Payload_t;

./cmdUtil --pktid=0x1806 --cmdcode=4 --endian=LE --string="20:CFE_TEST_APP" --string="20:CFE_TestMain" \
--string="64:cfe_testcase" --uint32=16384 --uint8=0 --uint8=0 --uint16=100