소스 검색

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 );

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.