Skip to content

Commit 33ee0fa

Browse files
author
Jacob Hageman
committed
Fix #181, Add test start command script for cmdUtil
1 parent 24f625b commit 33ee0fa

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# es-delete-app.sh : This script will call the cmdUtil program with a command packet to the
2-
# ES cFE application. It will tell ES to delete the TO App. It is defaulting to the localhost.
2+
# ES cFE application. It will tell ES to delete the named. It is defaulting to the localhost.
33
./cmdUtil --pktid=0x1806 --cmdcode=5 --string="20:ES_APP"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Command to start the test application
2+
# CFE_ES_START_APP_CC = 4
3+
#
4+
# typedef struct CFE_ES_StartAppCmd_Payload
5+
# {
6+
# char Application[CFE_MISSION_MAX_API_LEN]; //CFE_MISSION_MAX_API_LEN = 20
7+
# char AppEntryPoint[CFE_MISSION_MAX_API_LEN];
8+
# char AppFileName[CFE_MISSION_MAX_PATH_LEN]; //CFE_MISSION_MAX_PATH_LEN = 64
9+
# CFE_ES_MemOffset_t StackSize; //uint32
10+
# CFE_ES_ExceptionAction_Enum_t ExceptionAction; //uint8
11+
# undocumented SPARE uint8
12+
# CFE_ES_TaskPriority_Atom_t Priority; //uint16
13+
# } CFE_ES_StartAppCmd_Payload_t;
14+
15+
./cmdUtil --pktid=0x1806 --cmdcode=4 --endian=LE --string="20:CFE_TEST_APP" --string="20:CFE_TestMain" \
16+
--string="64:cfe_testcase" --uint32=16384 --uint8=0 --uint8=0 --uint16=100

0 commit comments

Comments
 (0)