Browse Source

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 năm trước cách đây
mục cha
commit
95b99b2b59

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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 );

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác