ソースを参照

2022-04-12/Jerry Wang
Action:
1. [Improve] SetChargingProfile fuction
a. Rename ChargePointMaxProfile as ChargingStationMaxProfile.
b. Add checking stack quantity logic.
c. Modify checking Profile quantity logic.
d. Add checking replaceable profile logic.
e. Modify parsing chargingProfile format logic to avoid crash.
2. Change variableVersion to 6.
a. Set ProfileStackLevel default value to '3'.
3. [Bug fix] Clear the counterPingSend when the connection established.

File:
1. EVSE/Modularization/ocpp20/MessageHandler.c
--> Action 1,2
2. EVSE/Modularization/ocpp20/Module_OcppBackend20.c
--> Action 3

Jerry Wang 3 年 前
コミット
95b99b2b59

ファイルの差分が大きいため隠しています
+ 396 - 158
EVSE/Modularization/ocpp20/MessageHandler.c


+ 1 - 1
EVSE/Modularization/ocpp20/Module_OcppBackend20.c

@@ -204,8 +204,8 @@ static int OCPP20Callback(struct lws *wsi, enum lws_callback_reasons reason, voi
 			ConnectionEstablished=1;
 			SetOcppConnStatus(TRUE);
 			refreshStartTimer(&startTime.pingOn);
-			queueOpInfo.PreTransactionMessageResend = 0;
 			counterPingSend = 0;
+			queueOpInfo.PreTransactionMessageResend = 0;
 			break;
 		case LWS_CALLBACK_CLIENT_CONNECTION_ERROR://1
 			DEBUG_ERROR("LWS_CALLBACK_CLIENT_CONNECTION_ERROR %s\n", (char *)in );

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません