|
@@ -4745,6 +4745,15 @@ void CheckSystemValue(void)
|
|
|
//===============================
|
|
|
for(int gun_index=0;gun_index < gunTotalNumber ;gun_index++)
|
|
|
{
|
|
|
+ //==========================================
|
|
|
+ // csu trigger DataTransferReq
|
|
|
+ //==========================================
|
|
|
+ if(isWebsocketSendable && (server_sign == TRUE) && (ShmOCPP20Data->CsMsg.bits[gun_index].DataTransferReq == ON))
|
|
|
+ {
|
|
|
+ sendDataTransferRequest(gun_index);
|
|
|
+ ShmOCPP20Data->CsMsg.bits[gun_index].DataTransferReq = OFF;
|
|
|
+ }
|
|
|
+
|
|
|
//===============================
|
|
|
// CSU Trigger Smart Charging Profilw
|
|
|
//===============================
|
|
@@ -5349,15 +5358,6 @@ void CheckSystemValue(void)
|
|
|
sendReserveNowConfirmation((char *)ShmOCPP20Data->ReserveNow[gun_index].guid, gun_index);
|
|
|
ShmOCPP20Data->CsMsg.bits[gun_index].ReserveNowConf = OFF;
|
|
|
}
|
|
|
-
|
|
|
- //==========================================
|
|
|
- // csu trigger DataTransferReq
|
|
|
- //==========================================
|
|
|
- if(isWebsocketSendable && (server_sign == TRUE) && (ShmOCPP20Data->CsMsg.bits[gun_index].DataTransferReq == ON))
|
|
|
- {
|
|
|
- sendDataTransferRequest(gun_index);
|
|
|
- ShmOCPP20Data->CsMsg.bits[gun_index].DataTransferReq = OFF;
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
|