Преглед на файлове

2022-08-18/Jerry Wang
[OCPP 1.6]
Action:
1. Modify OCMF logic.
2. Add logic to check if there is an idTag in RemoteStartTransaction.req.
3. Modify SendLocalList checking list version logic.
4. Add logic to avoid sending StatusNotification before CancelReservation.conf.
5. Add logic to check AuthorizeRemoteTxRequests key to decide the response status in handleRemoteStartRequest().
6. Improve UpdateFirmware related logic.
7. Add logic to set ConnectionTimeOut key default value to 55 if the model is for Japan spec.
8. Add security related functions for higher security profile level.
9. Update git uploading date info.

File:
1. EVSE/Modularization/ocppfiles/MessageHandler.c
--> Action 1-8
2. EVSE/Modularization/ocppfiles/Module_OcppBackend.c
--> Action 9

Jerry Wang преди 2 години
родител
ревизия
a8edce8fc1
променени са 2 файла, в които са добавени 827 реда и са изтрити 146 реда
  1. 823 144
      EVSE/Modularization/ocppfiles/MessageHandler.c
  2. 4 2
      EVSE/Modularization/ocppfiles/Module_OcppBackend.c

Файловите разлики са ограничени, защото са твърде много
+ 823 - 144
EVSE/Modularization/ocppfiles/MessageHandler.c


+ 4 - 2
EVSE/Modularization/ocppfiles/Module_OcppBackend.c

@@ -264,6 +264,7 @@ static int OCPP16Callback(struct lws *wsi, enum lws_callback_reasons reason, voi
 						return -1;
 					}
 					DEBUG_OCPPMESSAGE_INFO("SecurityProfile: %d\n", GetOcppSecurityProfile());
+					DEBUG_OCPPMESSAGE_INFO("Password: %s\n", password);
 					DEBUG_OCPPMESSAGE_INFO("Authorization: %s\n", buf);
 
 					break;
@@ -1100,11 +1101,12 @@ int sentqueue()
 						}
 						else if(strstr(json_object_get_string(json_object_object_get(objPayload, "messageId")), "ID_OCMF") != NULL)
 						{
+							DEBUG_INFO(">>> Sending OCMF queue message...\n");
 							objData = json_tokener_parse(json_object_get_string(json_object_object_get(objPayload, "data")));
 							if(!is_error(objData))
 							{
 								transactionId_org = json_object_get_int(json_object_object_get(objData, "txId"));
-								DEBUG_INFO("original  transactionId   = %d\n", transactionId_org);
+								DEBUG_INFO("original transactionId    = %d\n", transactionId_org);
 
 								if(transactionId_org == 0)
 								{
@@ -1357,7 +1359,7 @@ int main(void)
 	queueOpInfo.TransactionMessageResend = 0;
 
 	DEBUG_INFO("Module_OcppBackend task initialization...\n");
-	DEBUG_INFO("Last update date: 2022/08/05 \n");
+	DEBUG_INFO("Git update date: 2022/08/18 \n");
 	//lws_set_log_level(LLL_PARSER | LLL_HEADER | LLL_ERR | LLL_WARN | LLL_NOTICE | LLL_INFO | LLL_DEBUG | LLL_EXT | LLL_CLIENT | LLL_LATENCY  , NULL);
 
 	if(ProcessShareMemory()== FAIL)

Някои файлове не бяха показани, защото твърде много файлове са промени