瀏覽代碼

[Improve][Modularization][Module_OcppBackend / Module_OcppBackend20]

2021.02.19 / Folus Wen

Actions:
1. Model name parsing to gun type variable change from character to enumeration.

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 4 年之前
父節點
當前提交
688d45df21

File diff suppressed because it is too large
+ 272 - 105
EVSE/Modularization/ocpp20/MessageHandler.c


+ 10 - 0
EVSE/Modularization/ocpp20/Module_OcppBackend20.h

@@ -61,6 +61,16 @@ typedef enum {
 	ON
 }Switch_Value;
 
+enum GUN_TYPE
+{
+	GUN_TYPE_UNKNOWN=0,
+	GUN_TYPE_CHAdeMO,
+	GUN_TYPE_CCS,
+	GUN_TYPE_GBT,
+	GUN_TYPE_DO,
+	GUN_TYPE_AC
+};
+
 #ifndef SPEC_LATEST_SUPPORTED
 	#define SPEC_LATEST_SUPPORTED 	13
 #endif

File diff suppressed because it is too large
+ 119 - 125
EVSE/Modularization/ocppfiles/MessageHandler.c


+ 9 - 0
EVSE/Modularization/ocppfiles/Module_OcppBackend.h

@@ -76,6 +76,15 @@
 #define QUEUE_OPERATION_STORE		5
 #define QUEUE_MESSAGE_LENGTH		3584
 
+enum GUN_TYPE
+{
+	GUN_TYPE_UNKNOWN=0,
+	GUN_TYPE_CHAdeMO,
+	GUN_TYPE_CCS,
+	GUN_TYPE_GBT,
+	GUN_TYPE_DO,
+	GUN_TYPE_AC
+};
 
 struct yuarel {
 	char *scheme; /* scheme, without ":" and "//" */

Some files were not shown because too many files changed in this diff