|
@@ -322,6 +322,7 @@ enum CoreProfile {
|
|
|
TimeOffsetNextTransition,
|
|
|
SystemUptimeSec,
|
|
|
FreeVend,
|
|
|
+ FreeVendIdtag,
|
|
|
OcppServer,
|
|
|
MaintainServer,
|
|
|
StatusNotificationPeriodically,
|
|
@@ -417,8 +418,16 @@ struct LED
|
|
|
unsigned char Blue[3]; // Blue color 0~100, element 0: IDLE 1: CHARGING 2: FAULT
|
|
|
};
|
|
|
|
|
|
+struct LCD_NOUSE
|
|
|
+{
|
|
|
+ unsigned char page_index; // LCD override page index
|
|
|
+ unsigned char duration; // LCD override duration
|
|
|
+ unsigned char isOverideReq:1; // LCD override request
|
|
|
+};
|
|
|
+
|
|
|
struct LCD_OVERRIDE
|
|
|
{
|
|
|
+ unsigned char connectorId; // LCD override connector id
|
|
|
unsigned char page_index; // LCD override page index
|
|
|
unsigned char duration; // LCD override duration
|
|
|
unsigned char isOverideReq:1; // LCD override request
|
|
@@ -564,7 +573,7 @@ struct SysConfigData
|
|
|
unsigned char isReqFirstUpgrade; //EVSE is request first upgrade from PH server
|
|
|
unsigned char isEnableLocalPowerSharging; //0: Disable power sharing 1: Enable power sharing
|
|
|
unsigned char StopChargingByButton; //0: Disable 1: Enable
|
|
|
- struct LCD_OVERRIDE LcdOveride; // LCD override info
|
|
|
+ struct LCD_NOUSE Legacy_LcdOveride; // LCD override info (no use anymore)
|
|
|
struct TTIA TTIA_Info; // TTIA configuration struct
|
|
|
|
|
|
/************PowerCabinet************/
|
|
@@ -709,7 +718,16 @@ typedef union
|
|
|
unsigned int FirmwareUpdateRequest:1; // firmware update request
|
|
|
unsigned int FirmwareUpdateConfirm:1; // firmware update start
|
|
|
unsigned int FirmwareUpdateCompleted:1; // firmware update completed
|
|
|
- unsigned int res:21;
|
|
|
+ unsigned int BackendStatusRequest:1; // 0: no request, 1: backend connection status has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int EthernetStatusRequest:1; // 0: no request, 1: ethernet connection status has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int WiFiStatusRequest:1; // 0: no request, 1: wifi connection status has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int TelcomModemStatusRequest:1; // 0: no request, 1: 4g connection status has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int BillingStatusRequest:1; // 0: no request, 1: billing status has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int StopButtonStatusRequest:1; // 0: no request, 1: stop charging button status has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int AuthModeConfigRequest:1; // 0: no request, 1: AuthMode Config has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int EVCCIDConfigRequest:1; // 0: no request, 1: EVCCID Config has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int LEDIntensityRequest:1; // 0: no request, 1: LED Intensity has changed ( cabinet -> dispenser)
|
|
|
+ unsigned int res:12;
|
|
|
}bits;
|
|
|
}DispenserSettingFlag;
|
|
|
|
|
@@ -819,7 +837,7 @@ typedef union
|
|
|
unsigned int Disconnection:1;
|
|
|
unsigned int GfdDetection:1; // 0: stop, 1: start
|
|
|
unsigned int GetStartChargingSoc:1; // 0: no effect, 1: get start soc
|
|
|
- unsigned int res:13;
|
|
|
+ unsigned int res:14;
|
|
|
}bits;
|
|
|
}ConnectorParameter;
|
|
|
|
|
@@ -856,10 +874,10 @@ struct ConnectorInfoData
|
|
|
float CapabilityCurrent; // unit 0.1A
|
|
|
float CapabilityPower; // unit 0.1kW
|
|
|
|
|
|
- unsigned int UserPrice; // connector user's user price, unit: 0.01 (dollar / kWh)
|
|
|
- unsigned int TotalCost; // connector user's total cost, unit: 0.01 dollar
|
|
|
- int AccountBalance; // connector user's account balance, unit: 0.01 dollar
|
|
|
- int CostDiscount; // connector user's account balance, unit: 0.01 dollar
|
|
|
+ float UserPrice; // connector user's user price, unit: 1 (dollar / kWh)
|
|
|
+ float TotalCost; // connector user's total cost, unit: 1 dollar
|
|
|
+ float AccountBalance; // connector user's account balance, unit: 1 dollar
|
|
|
+ float CostDiscount; // connector user's account balance, unit: 1 dollar
|
|
|
};
|
|
|
|
|
|
typedef union
|
|
@@ -981,6 +999,7 @@ struct SysInfoData
|
|
|
DC_Meter_Info DcMeterInfo[4];
|
|
|
unsigned char OTPTemp; // OTP Temperature
|
|
|
unsigned char OTPTempR; // OTP Recovery Temperature
|
|
|
+ struct LCD_OVERRIDE LcdOveride; // LCD override info (no use anymore)
|
|
|
};
|
|
|
|
|
|
struct SysConfigAndInfo
|
|
@@ -1299,9 +1318,9 @@ char AlarmStatusCode[160][6]=
|
|
|
"012326", // System task is lost
|
|
|
"012327", // DC input ovp
|
|
|
"012328", // DC input uvp
|
|
|
- "012329", // reserved
|
|
|
- "012330", // reserved
|
|
|
- "012331", // reserved
|
|
|
+ "012329", // Psu Can Communication Fault
|
|
|
+ "012330", // Psu Dc to Dc OTP
|
|
|
+ "012331", // Psu Dc to Dc OVP
|
|
|
"012332", // reserved
|
|
|
"012333", // reserved
|
|
|
"012334", // reserved
|
|
@@ -1316,7 +1335,7 @@ char AlarmStatusCode[160][6]=
|
|
|
"012343", // reserved
|
|
|
"012344", // AC: Meter IC communication timeout
|
|
|
"012345", // AC: Pilot negative error
|
|
|
- "012346", // reserved
|
|
|
+ "012346", // Psu Communication error with CSU
|
|
|
"012347", // reserved
|
|
|
"012348", // reserved
|
|
|
"012349", // reserved
|
|
@@ -1486,13 +1505,17 @@ struct AlarmCodeData
|
|
|
unsigned char DcInputOVP:1; //bit 7
|
|
|
//AlarmVal[16]
|
|
|
unsigned char DcInputUVP:1; //bit 0
|
|
|
- unsigned char :7; //reserved bit 1 ~ bit 7
|
|
|
- //AlarmVal[17]
|
|
|
+ unsigned char PsuCanCommFault:1; //bit 1
|
|
|
+ unsigned char PsuDcDcOtp:1; //bit 2
|
|
|
+ unsigned char PsuDcDcOvp:1; //bit 3
|
|
|
+ unsigned char :4; //reserved bit 4 ~ bit 7
|
|
|
+ //AlarmVal[17]
|
|
|
unsigned char :8; //reserved bit 0 ~ bit 7
|
|
|
//AlarmVal[18]
|
|
|
unsigned char MeterIcCommTimeout:1; //bit 0
|
|
|
unsigned char PilotNegativeError:1; //bit 1
|
|
|
- unsigned char :6; //reserved bit 2 ~ bit 7
|
|
|
+ unsigned char PsuComminicationErrWithCSU:1; //bit 2
|
|
|
+ unsigned char :5; //reserved bit 3 ~ bit 7
|
|
|
//AlarmVal[19]
|
|
|
unsigned char :8; //reserved bit 0 ~ bit 7
|
|
|
}bits;
|
|
@@ -2277,6 +2300,7 @@ struct PsuData
|
|
|
unsigned char GroupCount;
|
|
|
unsigned char Work_Step;
|
|
|
struct PsuModuleVer PsuVersion[MAX_PSU_QUANTITY];
|
|
|
+ unsigned char PsuStopChargeFlag;
|
|
|
};
|
|
|
|
|
|
/************************************************************************************/
|
|
@@ -4566,60 +4590,53 @@ struct StructSessionTarget
|
|
|
//===================================
|
|
|
// YES custom protocol
|
|
|
//===================================
|
|
|
-struct StructRefundStatus
|
|
|
+struct StructChargerInfo
|
|
|
{
|
|
|
- unsigned char status[10];
|
|
|
- unsigned char chargeDate[32];
|
|
|
- int holdAmt;
|
|
|
- int chargeAmt;
|
|
|
- int refundAmt;
|
|
|
- int page;
|
|
|
+ unsigned char station_name[64];
|
|
|
};
|
|
|
|
|
|
-struct StructDeductStatus
|
|
|
+struct StructWeatherInfo
|
|
|
{
|
|
|
- unsigned char status[10];
|
|
|
- int autoLoadAmt;
|
|
|
- int beforeAmt;
|
|
|
- int chargeAmt;
|
|
|
- int afterAmt;
|
|
|
- int page;
|
|
|
+ int weatherId;
|
|
|
+ float temperature;
|
|
|
};
|
|
|
|
|
|
-struct StructChargerInfo
|
|
|
+struct StructCreditDeductResult
|
|
|
{
|
|
|
- unsigned char station_name[64];
|
|
|
- unsigned char station_id[64];
|
|
|
- unsigned char charge_id[4][64];
|
|
|
+ int txId;
|
|
|
+ unsigned char creditNo[64];
|
|
|
+ unsigned char vemData[80];
|
|
|
+ unsigned char ROC[20];
|
|
|
+ unsigned char RRN[20];
|
|
|
+ unsigned char storeId[20];
|
|
|
+ unsigned char approvalNo[20];
|
|
|
+ double amount;
|
|
|
+ unsigned char deductResult:1;
|
|
|
+ unsigned char isDonateInvoice:1;
|
|
|
};
|
|
|
|
|
|
-struct StructWeatherInfo
|
|
|
+struct StructReaderStatus
|
|
|
{
|
|
|
- int weatherId;
|
|
|
- float temperature;
|
|
|
+ int readerStatus;
|
|
|
+ unsigned char creditNo[64];
|
|
|
+ unsigned char ReportReaderStatusReq:1;
|
|
|
};
|
|
|
|
|
|
-struct StructYesCustomData
|
|
|
+struct StructTcciCustomData
|
|
|
{
|
|
|
- struct StructRefundStatus RefundStatus;
|
|
|
- struct StructDeductStatus DeductStatus;
|
|
|
struct StructChargerInfo ChargerInfo;
|
|
|
struct StructWeatherInfo WeatherInfo;
|
|
|
- unsigned char QrCode[4][128];
|
|
|
- unsigned char CallReaderStatus[10];
|
|
|
-
|
|
|
- unsigned char CallReaderReq:1;
|
|
|
- unsigned char CallReaderConf:1;
|
|
|
- unsigned char RefundStatusReq:1;
|
|
|
- unsigned char RefundStatusConf:1;
|
|
|
- unsigned char DeductStatusReq:1;
|
|
|
- unsigned char DeductStatusConf:1;
|
|
|
+ struct StructCreditDeductResult DeductInfo;
|
|
|
+ struct StructReaderStatus ReaderStatus[CONNECTOR_QUANTITY];
|
|
|
+ unsigned char TriggerReaderReq[3];
|
|
|
+ unsigned char SerialNo[CONNECTOR_QUANTITY][37];
|
|
|
+ unsigned char VEMData[CONNECTOR_QUANTITY][65];
|
|
|
+
|
|
|
+ unsigned char ReportCreditDeductReq:1;
|
|
|
unsigned char ChargerInfoReq:1;
|
|
|
unsigned char ChargerInfoConf:1;
|
|
|
unsigned char WeatherInfoReq:1;
|
|
|
unsigned char WeatherInfoConf:1;
|
|
|
- unsigned char SetQrCodeReq:1;
|
|
|
- unsigned char SetQrCodeConf:1;
|
|
|
};
|
|
|
|
|
|
struct OCPP16Data
|
|
@@ -4811,7 +4828,7 @@ struct OCPP16Data
|
|
|
struct StructSignCertificate SignCertificate;
|
|
|
struct StructSignedFirmwareStatusNotification SignedFirmwareStatusNotification;
|
|
|
struct StructSessionTarget SessionTarget[CONNECTOR_QUANTITY];
|
|
|
- struct StructYesCustomData YesCustomData;
|
|
|
+ struct StructTcciCustomData TcciCustomData;
|
|
|
};
|
|
|
|
|
|
|
|
@@ -4856,6 +4873,7 @@ enum OCPP20CtrlrVariable
|
|
|
ChargingStation_SupplyPhases,
|
|
|
ChargingStation_SystemUptimeSec,
|
|
|
ChargingStation_FreeVend,
|
|
|
+ ChargingStation_FreeVendIdtag,
|
|
|
Connector_Available,
|
|
|
Connector_ConnectorType,
|
|
|
Connector_SupplyPhases,
|
|
@@ -4904,6 +4922,8 @@ enum OCPP20CtrlrVariable
|
|
|
OCPPCommCtrlr_WebSocketPingInterval,
|
|
|
OCPPCommCtrlr_ResetRetries,
|
|
|
OCPPCommCtrlr_PublicKeyWithSignedMeterValue,
|
|
|
+ OCPPCommCtrlr_StatusNotificationPeriodically,
|
|
|
+ OCPPCommCtrlr_StatusNotificationInterval,
|
|
|
OCPPCommCtrlr_VariableVersion,
|
|
|
ReservationCtrlr_Enabled,
|
|
|
ReservationCtrlr_Available,
|