Skip to content

Commit

Permalink
Fix #181, Add test start command script for cmdUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Jun 11, 2021
1 parent 24f625b commit 33ee0fa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
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

0 comments on commit 33ee0fa

Please sign in to comment.