Просмотр исходного кода

2022-11-23/Jerry Wang
[OCPP 1.6]
Action:
1. Add log to observe the low occuring rate RemoteStart rejected problem.

File:
1. EVSE/Modularization/ocppfiles/MessageHandler.c
--> Action 1

Jerry Wang 2 лет назад
Родитель
Сommit
f2e0bb613c
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      EVSE/Modularization/ocppfiles/MessageHandler.c

+ 2 - 0
EVSE/Modularization/ocppfiles/MessageHandler.c

@@ -13007,6 +13007,7 @@ int handleRemoteStartRequest(char *uuid, char *payload)
 	{
 		if(connectorIdInt > 0)
 		{
+			DEBUG_INFO("Specified gun-%d type: %d\n", (connectorIdInt -1), gunType[connectorIdInt -1]);
 			//check Transaction active
 			if(gunType[connectorIdInt -1] == GUN_TYPE_CHAdeMO)
 			{
@@ -13276,6 +13277,7 @@ int handleRemoteStartRequest(char *uuid, char *payload)
 			 uint8_t isHasIdleConnector = FALSE;
 			 for(uint8_t gun_index=0;gun_index<gunTotalNumber;gun_index++)
 			 {
+				 DEBUG_INFO("Check not specified gun-%d type: %d\n", gun_index, gunType[gun_index]);
 				 if(!cpinitateMsg.bits[gun_index].isOnCharging)
 				 {
 					 isHasIdleConnector = TRUE;