Эх сурвалжийг харах

[Improve][AW-CCS / AX80][Module_CCS]

2022.07.13 / Folus Wen

Actions:
1. SeccComm.c End_Process() change restart process to killall process.
2. Add plctool, plcboot, plcinit to /bin.

Files:
1. As follow commit history

Image version: D0.00.XX.XXXX.XX
Image checksum: XXXXXXXX

Hardware PWB P/N : XXXXXXX
Hardware Version : XXXXXXX
FolusWen 2 жил өмнө
parent
commit
949084dc78

BIN
EVSE/GPL/open-plc-utils-0.3/release/usr/local/bin/plcinit


+ 5 - 1
EVSE/Projects/AW-CCS/Apps/CCS/SeccComm.c

@@ -17612,7 +17612,11 @@ int End_Process()
 	free(V2gtpMsgTxBuf);
 	//DetachShareMemory();
 	Qca7kPowerReset();  //reset QCA7000 /* +++ 20200808, vern, should disconnected PLC connection after session stop ---*/
-    system("cd /root;./reset_soft.sh");
+#ifdef AWCCS
+	system("killall SeccComm");
+#else	
+    	system("cd /root;./reset_soft.sh");
+#endif
     while(1)
     {
         //wait for CSU configrm

+ 5 - 1
EVSE/Projects/AX80/Apps/CCS/SeccComm.c

@@ -17612,7 +17612,11 @@ int End_Process()
 	free(V2gtpMsgTxBuf);
 	//DetachShareMemory();
 	Qca7kPowerReset();  //reset QCA7000 /* +++ 20200808, vern, should disconnected PLC connection after session stop ---*/
-    system("cd /root;./reset_soft.sh");
+#ifdef	AX80
+	system("killall SeccComm");
+#else
+	system("cd /root;./reset_soft.sh");
+#endif
     while(1)
     {
         //wait for CSU configrm

+ 5 - 1
EVSE/Projects/CCS/Apps/SeccComm.c

@@ -17612,7 +17612,11 @@ int End_Process()
 	free(V2gtpMsgTxBuf);
 	//DetachShareMemory();
 	Qca7kPowerReset();  //reset QCA7000 /* +++ 20200808, vern, should disconnected PLC connection after session stop ---*/
-    system("cd /root;./reset_soft.sh");
+#ifdef AWCCS
+	system("killall SeccComm");
+#else	
+    	system("cd /root;./reset_soft.sh");
+#endif
     while(1)
     {
         //wait for CSU configrm

BIN
EVSE/rootfs/bin/plcboot


BIN
EVSE/rootfs/bin/plcinit


BIN
EVSE/rootfs/bin/plctool