فهرست منبع

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
2فایلهای تغییر یافته به همراه397 افزوده شده و 159 حذف شده
  1. 396 158
      EVSE/Modularization/ocpp20/MessageHandler.c
  2. 1 1
      EVSE/Modularization/ocpp20/Module_OcppBackend20.c

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 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 );

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است