|
@@ -153,6 +153,15 @@ Storage 0x0A200000-0x7FFFFFFF 1886 MB
|
|
|
#define GENERAL_GUN_QUANTITY 0
|
|
|
#define PSU_QUANTITY 2
|
|
|
#define ONE_CONNECTOR_USE 0
|
|
|
+#elif defined Emulator
|
|
|
+ #define MAX_PSU_QUANTITY 62
|
|
|
+ #define CHAdeMO_QUANTITY 3
|
|
|
+ #define CCS_QUANTITY 3
|
|
|
+ #define GB_QUANTITY 3
|
|
|
+ #define AC_QUANTITY 3
|
|
|
+ #define GENERAL_GUN_QUANTITY 0
|
|
|
+ #define PSU_QUANTITY 2
|
|
|
+ #define ONE_CONNECTOR_USE 0
|
|
|
#else
|
|
|
#define MAX_PSU_QUANTITY 62
|
|
|
#define CHAdeMO_QUANTITY 2
|
|
@@ -188,6 +197,7 @@ Storage 0x0A200000-0x7FFFFFFF 1886 MB
|
|
|
#define ShmRelay2BdKey 1013
|
|
|
#define ShmYesCustomKey 1014
|
|
|
#define ShmOcppPHModuleKey 1015
|
|
|
+#define ShmSmartBoxKey 1016
|
|
|
|
|
|
#define FaultCodeLength 5
|
|
|
#define AlarmCodeLength 20
|
|
@@ -332,6 +342,7 @@ enum CoreProfile {
|
|
|
isEnableLocalPowerSharing,
|
|
|
PowerSharingServerIP,
|
|
|
EVCCID_PREFIX,
|
|
|
+ OffLineMaxChargingPower,
|
|
|
ConfigurationVersion,
|
|
|
_CoreProfile_CNT
|
|
|
};
|
|
@@ -370,7 +381,9 @@ struct WifiConfigData
|
|
|
{
|
|
|
unsigned char WifiMode; //0: disable, 1: Infrastructure client, 2: Infrastructure server, 3: Ad-Hoc
|
|
|
unsigned char WifiSsid[256]; //default: Null
|
|
|
- unsigned char WifiPassword[256]; //default: Null
|
|
|
+ unsigned char WifiPassword[224]; //default: Null
|
|
|
+ unsigned char WifiBroadcastSsid; //the SSID broadcast configuration, 0: hidden 1: broadcast
|
|
|
+ unsigned char WifiTargetBssidMac[31]; //Target connect SSID MAC address, default: Null
|
|
|
int WifiRssi; //dbm
|
|
|
unsigned char WifiDhcpServer; //0: enable, 1: disable
|
|
|
unsigned char WifiDhcpClient; //0: enable, 1: disable
|
|
@@ -385,7 +398,8 @@ struct TeleConfigData
|
|
|
{
|
|
|
unsigned char TelcomModelName[64]; //default: Null
|
|
|
unsigned char TelcomSoftwareVer[64]; //default: Null
|
|
|
- unsigned char TelcomApn[256]; //default: Null
|
|
|
+ unsigned char TelcomApn[255]; //default: Null
|
|
|
+ unsigned char TelcomNetworkType; //0: Auto 1: CDMA 2: WCDMA 3: LTE 4: TD-SCDMA 5: UMTS 6: CDMA 7: HDR 8: CDMA/HDR
|
|
|
int TelcomRssi; //dbm
|
|
|
unsigned char TelcomChapPapId[256]; //default: Null
|
|
|
unsigned char TelcomChapPapPwd[256]; //default: Null
|
|
@@ -484,7 +498,8 @@ typedef union
|
|
|
unsigned int InvalidIdStop:1; // 0: no effect, 1: invalid stop when StopTransactionOnInvalidId is true
|
|
|
unsigned int RemoteStop:1; // 0: no effect, 1: remote stop
|
|
|
unsigned int UnlockStop:1; // 0: no effect, 1: unlock stop
|
|
|
- unsigned int res:23;
|
|
|
+ unsigned int SessionTargetStop:1; // 0: no effect, 1: session target stop
|
|
|
+ unsigned int res:22;
|
|
|
}bits;
|
|
|
}ChargingStop;
|
|
|
|
|
@@ -591,6 +606,16 @@ struct SysConfigData
|
|
|
unsigned char MaintainServerSecurityProfile; // Maintain server security profile 0~3
|
|
|
unsigned char MaintainServerSecurityPassword[41]; // Maintain server AuthorizationKey for security profile
|
|
|
unsigned char PowerSharingServerIP[512]; // Local power sharing server ip address
|
|
|
+ unsigned int PowerSharingCapacityPower; // Local power sharing capacity power
|
|
|
+ unsigned char MaxChargingSoc; //0: unlimit, 1 ~ 100 percent
|
|
|
+};
|
|
|
+
|
|
|
+struct DERATING_BY_OTP
|
|
|
+{
|
|
|
+ unsigned char isNeedDerating;
|
|
|
+ unsigned char deratingIndex; // Current used power or current
|
|
|
+ double deratingTargetRate[5]; // Reduce the output energy rate
|
|
|
+ double deratingTargetCurrent[5]; // derating target current
|
|
|
};
|
|
|
|
|
|
struct ChargingInfoData
|
|
@@ -626,6 +651,7 @@ struct ChargingInfoData
|
|
|
int EvBatterySoc; // 0~100%
|
|
|
unsigned char ConnectorPlugIn; //0: unplug, 1: Plug-in
|
|
|
unsigned char GunLocked; //0: unlocked 1: locked
|
|
|
+ unsigned char InProgress; //0: real idle, 1: session(transaction) in progress
|
|
|
float PilotVoltage;
|
|
|
unsigned char PilotState;//1:state A, 2:State B1, 3:State B2, 4:State C, 5:State D, 6:State E, 7:State F, 8: Pilot error
|
|
|
unsigned char PilotDuty; // 0~100%
|
|
@@ -695,6 +721,9 @@ struct ChargingInfoData
|
|
|
unsigned char CCSGunType;
|
|
|
struct timeval PreChargeTimer;
|
|
|
unsigned char _SaftyDetect;
|
|
|
+ unsigned char _TotalPsuCount; // Psu count for connector
|
|
|
+ unsigned char _TakePsuGpCount; // Get the used psu group count
|
|
|
+ struct DERATING_BY_OTP deratingByConnOtp;
|
|
|
};
|
|
|
|
|
|
typedef struct
|
|
@@ -878,6 +907,7 @@ struct ConnectorInfoData
|
|
|
float CostDiscount; // connector user's Discount or couponPoint, unit: 1 point
|
|
|
float EnergyCost; // connector user's energy cost, unit: 1 dollar
|
|
|
float ParkingFee; // connector user's parking fee, unit: 1 dollar
|
|
|
+ float RemainAmount; // connector user's remain amount, unit: 1 dollar
|
|
|
};
|
|
|
|
|
|
typedef union
|
|
@@ -885,15 +915,11 @@ typedef union
|
|
|
unsigned int SettingValue;
|
|
|
struct
|
|
|
{
|
|
|
- unsigned int DispenserDisconnection:1; // 0: no connection, 1: dispenser connected
|
|
|
- unsigned int FlashConfigChanged:1; // 0: no effect, 1: flash config has changed
|
|
|
- unsigned int EnableWriteFlash:1; // 0: no effect, 1: enable to write flash after timeout
|
|
|
- unsigned int CleanWiringInfo:1; // 0: no effect, 1: clean wiring info
|
|
|
- unsigned int res:28;
|
|
|
+ unsigned int res:32;
|
|
|
}bits;
|
|
|
}CabinetSettingFlag;
|
|
|
|
|
|
-typedef struct DC_METER_INFO
|
|
|
+struct DC_METER_INFO
|
|
|
{
|
|
|
double presetVoltage; // resolution: 1.000v
|
|
|
double presentCurrent; // resolution: 1.000a
|
|
@@ -901,7 +927,61 @@ typedef struct DC_METER_INFO
|
|
|
double totlizeImportEnergy; // resolution: 1.000kwh
|
|
|
double totlizeExportEnergy; // resolution: 1.000kwh
|
|
|
unsigned char LinkStatus; // 0 = unknow ,1 = link , 2 miss link
|
|
|
-}DC_Meter_Info;
|
|
|
+};
|
|
|
+
|
|
|
+typedef struct Bazel8Command
|
|
|
+{
|
|
|
+ unsigned char isReq:1;
|
|
|
+ unsigned char isRes:1;
|
|
|
+ unsigned char isWaitRes:1;
|
|
|
+ unsigned char isResultPass:1;
|
|
|
+} bazel8Command;
|
|
|
+
|
|
|
+typedef struct EventInfo
|
|
|
+{
|
|
|
+ int messageId;
|
|
|
+ char messageString[64];
|
|
|
+ unsigned char isGetOn:1;
|
|
|
+}eventInfo;
|
|
|
+
|
|
|
+typedef struct StartTxResp
|
|
|
+{
|
|
|
+ char statusCode[8];
|
|
|
+ char statusText[128];
|
|
|
+ char txnId[32];
|
|
|
+ unsigned char isGetOn:1;
|
|
|
+}startTxResp;
|
|
|
+
|
|
|
+struct BAZEL8
|
|
|
+{
|
|
|
+ eventInfo event;
|
|
|
+ startTxResp txResp;
|
|
|
+
|
|
|
+ bazel8Command cmdPreAuth;
|
|
|
+};
|
|
|
+
|
|
|
+struct Enegate
|
|
|
+{
|
|
|
+ union
|
|
|
+ {
|
|
|
+ unsigned char OperationValue[CONNECTOR_QUANTITY];
|
|
|
+ struct
|
|
|
+ {
|
|
|
+ unsigned char isAuthorizing:1;
|
|
|
+ unsigned char isAuthorized:1;
|
|
|
+ unsigned char isAuthorizedPass:1;
|
|
|
+ unsigned char isSessionStopReq:1;
|
|
|
+ unsigned char isStopService:1;
|
|
|
+ unsigned char isAutoStartEnable:1;
|
|
|
+ unsigned char isConnectTimeout:1;
|
|
|
+ unsigned char :1;
|
|
|
+ } bits[CONNECTOR_QUANTITY];
|
|
|
+ }Operation;
|
|
|
+
|
|
|
+ unsigned char serviceStartTimestamp[36];
|
|
|
+ unsigned char serviceStopTimestamp[36];
|
|
|
+ unsigned char isEnable:1;
|
|
|
+};
|
|
|
|
|
|
struct SysInfoData
|
|
|
{
|
|
@@ -996,10 +1076,12 @@ struct SysInfoData
|
|
|
unsigned char AuthorizedStatus; // cabinet authorized status
|
|
|
CabinetSettingFlag CabinetSetting;
|
|
|
struct LocalSharingInfo localSharingInfo; // Local power sharing info structure
|
|
|
- DC_Meter_Info DcMeterInfo[4];
|
|
|
+ struct 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 BAZEL8 bazel8; // Bazel8 payment used
|
|
|
+ struct Enegate enegate; // Enegate payment used
|
|
|
};
|
|
|
|
|
|
struct SysConfigAndInfo
|
|
@@ -1253,18 +1335,18 @@ char AlarmStatusCode[160][6]=
|
|
|
"012261", //GB groundfault detection timeout (GFD)
|
|
|
"012262", //Circuit Short L1
|
|
|
"012263", // PSU Duplicate ID
|
|
|
- "012264", // PSU Output Short Circuit
|
|
|
+ "012264", // Psu Fault : Infy => Output Short Circuit,UU => Abnormal discharge circuit
|
|
|
"012265", // PSU Discharge Abnormal
|
|
|
"012266", // PSU Dc Side ShutDown
|
|
|
"012267", // PSU Failure Alarm
|
|
|
"012268", // PSU Protection Alarm
|
|
|
- "012269", // PSU FanFailure Alarm
|
|
|
+ "012269", // Psu Fault : Infy => Fan Fault,UU => Fan Fault
|
|
|
"012270", // PSU Input UVP
|
|
|
"012271", // PSU Input OVP
|
|
|
"012272", // PSU WalkIn State
|
|
|
- "012273", // PSU Power Limited State
|
|
|
- "012274", // PSU Id Repeat
|
|
|
- "012275", // PSU Severe Uneven Current
|
|
|
+ "012273", // Psu Fault : Infy => Power Limited State,UU => Dc OVP and shutdown
|
|
|
+ "012274", // Psu Fault : Infy => Id Repeat,UU => Id Repeat
|
|
|
+ "012275", // Psu Fault : Infy => Severe Uneven Current,UU => Pfc internal unbalance
|
|
|
"012276", // PSU Three Phase Input Inadequate
|
|
|
"012277", // PSU Three Phase Onput Imbalance
|
|
|
"012278", // PSU Ffc Side ShutDown
|
|
@@ -1296,18 +1378,18 @@ char AlarmStatusCode[160][6]=
|
|
|
"012304", // connection disconnected from power cabinet
|
|
|
"012305", // Meter communication timeout
|
|
|
"012306", // The dip switch of the PSU may be incorrect
|
|
|
- "012307", // Psu Fuse Burn-Out
|
|
|
- "012308", // Psu Pfc And Dcdc Communication Fault
|
|
|
- "012309", // Psu Bus Voltage Unbalance
|
|
|
- "012310", // Psu Bus Over Voltage
|
|
|
- "012311", // Psu Bus Voltage Abnormal
|
|
|
- "012312", // Psu Bus Under Voltage
|
|
|
- "012313", // Psu Input Phase Loss
|
|
|
- "012314", // Psu Fan Full Speed
|
|
|
- "012315", // Psu Temperature Power Limit
|
|
|
- "012316", // Psu Ac Power Limit
|
|
|
- "012317", // Psu Dcdc Eeprom Fault
|
|
|
- "012318", // Psu Pfc Eeprom Fault
|
|
|
+ "012307", // Psu Fault : Infy => Fuse Burn-Out,UU => Pfc internal OVP
|
|
|
+ "012308", // Psu Fault : Infy => Pfc And Dcdc Communication Fault,UU => Pfc And Dcdc Communication Fault
|
|
|
+ "012309", // Psu Fault : Infy => Bus Voltage Unbalance,UU => Dc output voltage unbalance
|
|
|
+ "012310", // Psu Fault : Infy => Bus Over Voltage,UU => Ac site OVP
|
|
|
+ "012311", // Psu Fault : Infy => Bus Voltage Abnormal,UU => Ac site UVP
|
|
|
+ "012312", // Psu Fault : Infy => Bus Under Voltage,UU => Pfc internal UVP
|
|
|
+ "012313", // Psu Fault : Infy => Input Phase Loss,UU => Dc to Dc don’t work
|
|
|
+ "012314", // Psu Fault : Infy => Fan Full Speed,UU => Fan don’t work
|
|
|
+ "012315", // Psu Fault : Infy => Temperature Power Limit,UU => env OTP、Pfc OTP、output relay broken、Dc OTP
|
|
|
+ "012316", // Psu Fault : Infy => Ac Power Limit,UU => Ac OVP and shutdown
|
|
|
+ "012317", // Psu Fault : Infy => Dcdc Eeprom Fault,UU => Dc to Dc broken
|
|
|
+ "012318", // Psu Fault : Infy => Pfc Eeprom Fault,UU => Pfc broken
|
|
|
"012319", // Psu Dcdc Over Voltage
|
|
|
"012320", // System CHAdeMO output UCP
|
|
|
"012321", // System CCS output UCP
|
|
@@ -1316,13 +1398,13 @@ char AlarmStatusCode[160][6]=
|
|
|
"012324", // Connector 1 detects abnormal voltage on the output line
|
|
|
"012325", // Connector 2 detects abnormal voltage on the output line
|
|
|
"012326", // System task is lost
|
|
|
- "012327", // DC input ovp
|
|
|
- "012328", // DC input uvp
|
|
|
- "012329", // Psu Can Communication Fault
|
|
|
- "012330", // Psu Dc to Dc OTP
|
|
|
- "012331", // Psu Dc to Dc OVP
|
|
|
- "012332", // reserved
|
|
|
- "012333", // reserved
|
|
|
+ "012327", // System DC input ovp
|
|
|
+ "012328", // System DC input uvp
|
|
|
+ "012329", // Psu Fault : Infy => Psu Can Communication Fault,UU =>
|
|
|
+ "012330", // Psu Fault : Infy => Psu Dc to Dc OTP,UU => env UTP
|
|
|
+ "012331", // Psu Fault : Infy => Psu Dc to Dc OVP,UU => Dc output OVP
|
|
|
+ "012332", // Chiller Tube OTP
|
|
|
+ "012333", // Psu Fault : Infy => DC input ovp (Phase OVP),UU => Dc output UVP
|
|
|
"012334", // reserved
|
|
|
"012335", // reserved
|
|
|
"012336", // reserved
|
|
@@ -1336,12 +1418,12 @@ char AlarmStatusCode[160][6]=
|
|
|
"012344", // AC: Meter IC communication timeout
|
|
|
"012345", // AC: Pilot negative error
|
|
|
"012346", // Psu Communication error with CSU
|
|
|
- "012347", // reserved
|
|
|
+ "012347", // AC: Local power sharing communication error (Slave disconnect from Master)
|
|
|
"012348", // reserved
|
|
|
"012349", // reserved
|
|
|
"012350", // reserved
|
|
|
"012351", // reserved
|
|
|
- "012352", // reserved
|
|
|
+ "012352", // Payment system communication timeout
|
|
|
"012353", // reserved
|
|
|
"012354", // reserved
|
|
|
"012355", // reserved
|
|
@@ -1508,16 +1590,20 @@ struct AlarmCodeData
|
|
|
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
|
|
|
+ unsigned char ChillerTubeOTP : 1; //bit 4
|
|
|
+ unsigned char PsuPhaseOvp:1; //bit 5
|
|
|
+ unsigned char :2; //reserved bit 6 ~ 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 PsuComminicationErrWithCSU:1; //bit 2
|
|
|
- unsigned char :5; //reserved bit 3 ~ bit 7
|
|
|
+ unsigned char LocalPowerSharingCommunicationError:1; //bit 3
|
|
|
+ unsigned char :4; //reserved bit 4 ~ bit 7
|
|
|
//AlarmVal[19]
|
|
|
- unsigned char :8; //reserved bit 0 ~ bit 7
|
|
|
+ unsigned char PaymentCommTimeout:1; //Payment system communication timeout
|
|
|
+ unsigned char :7; //reserved bit 1 ~ bit 7
|
|
|
}bits;
|
|
|
}AlarmEvents;
|
|
|
};
|
|
@@ -1843,7 +1929,7 @@ char InfoStatusCode[384][6]=
|
|
|
"023981", // ERROR_CODE_CHADEMO_OUTPUT_VOLTAGE_MORE_THEN_10_PERCENT
|
|
|
"023982", // ERROR_CODE_CHADEMO_ADC_LESS_THAN_10V
|
|
|
"023983", // STOP by EV with unknow reason
|
|
|
- "023984", // Reserved
|
|
|
+ "023984", // STOP by EVSE condition (Config or OCPP)
|
|
|
"023985", // Reserved
|
|
|
"023986", // Reserved
|
|
|
"023987", // Reserved
|
|
@@ -2190,7 +2276,8 @@ struct InfoCodeData
|
|
|
unsigned char CHADEMO_OUTPUT_VOLTAGE_MORE_THEN_10_PERCENT:1; //bit 1
|
|
|
unsigned char CHADEMO_ADC_LESS_THAN_10V:1; //bit 2
|
|
|
unsigned char Stop_by_EV_with_unknow_reason:1; //bit 3
|
|
|
- unsigned char :4; //bit 4 ~ 7 reserved
|
|
|
+ unsigned char Stop_by_EVSE_condition:1; //bit 4
|
|
|
+ unsigned char :3; //bit 5 ~ 7 reserved
|
|
|
//InfoVal[40]
|
|
|
unsigned char BackendDisconnectedViaEthernet:1; //bit 0
|
|
|
unsigned char BackendDisconnectViaWiFi:1; //bit 1
|
|
@@ -2267,6 +2354,8 @@ struct PsuModuleData
|
|
|
unsigned int AlarmCode;
|
|
|
unsigned int FaultCode; //
|
|
|
unsigned int IAvailableCurrent; // unit: 0.1A
|
|
|
+ unsigned short PresentMaxOutputVoltage;//abcd=abc.d volt
|
|
|
+ unsigned short KwAvailablePower; // unit: 0.1 kw
|
|
|
};
|
|
|
|
|
|
/*Following are the information for each PSU Group*/
|
|
@@ -2288,6 +2377,11 @@ struct PsuGroupData
|
|
|
unsigned short TempIAvailableCurrent; // unit: 0.1A
|
|
|
unsigned short StableIAvailableCurrent; // unit: 0.1A
|
|
|
unsigned short StableCurrentCounter; // stable current counter
|
|
|
+ unsigned short GroupMaxVoltage; // unit: 0.1V
|
|
|
+ unsigned char IsUsing; // 0 : none use
|
|
|
+ unsigned char UsingTarget; // 0xFF : Check
|
|
|
+ unsigned char PwSwitchStatus;
|
|
|
+ unsigned short TotalRatingPower; // unit: 1kW
|
|
|
};
|
|
|
|
|
|
/*Following is the information for system all PSU*/
|
|
@@ -2303,6 +2397,54 @@ struct PsuData
|
|
|
unsigned char PsuStopChargeFlag;
|
|
|
};
|
|
|
|
|
|
+struct SmartTimeChk
|
|
|
+{
|
|
|
+ struct timespec FetchLoopTime;
|
|
|
+ unsigned char IsFetchStart;
|
|
|
+
|
|
|
+ struct timespec ReleaseLoopTime;
|
|
|
+ unsigned char IsReleaseStart;
|
|
|
+};
|
|
|
+
|
|
|
+struct DynamicFetchCtrl
|
|
|
+{
|
|
|
+ unsigned char ShareGroup; // 255 : None
|
|
|
+ unsigned char FetchLoopStep; // 0 : None, 1 : Output Vol, 2 : RCB ON, 3 : Current sharing, 4 : Finish
|
|
|
+ unsigned short ShareTargetCurrent; // 0.1A
|
|
|
+ unsigned char TargetRelay; // 255 : None
|
|
|
+};
|
|
|
+
|
|
|
+struct DynamicReleaseCtrl
|
|
|
+{
|
|
|
+ unsigned char ReleaseGroup; // 255 : None
|
|
|
+ unsigned char ReleaseLoopStep; // 0 : None, 1 : Limit Pwr, 2 : Pwr OFF, 3. RCB OFF, 4. Finish
|
|
|
+ float CheckOutPwrIsStable;// 0.1kw
|
|
|
+ unsigned char TargetRelay; // 255 : None
|
|
|
+
|
|
|
+ float LimitCurCap; // Inform 0.1A
|
|
|
+ float LimitPwrCap; // Inform 0.1kw
|
|
|
+ float LimitCur; // Target 0.1A
|
|
|
+ float LimitPwr; // Target 0.1kw
|
|
|
+};
|
|
|
+
|
|
|
+struct ConnInfo
|
|
|
+{
|
|
|
+ unsigned char ConnectorStaus;
|
|
|
+ unsigned char NeedToFetch;
|
|
|
+};
|
|
|
+
|
|
|
+struct SmartBoxData
|
|
|
+{
|
|
|
+ struct ConnInfo ConnectorStatus[CHAdeMO_QUANTITY + CCS_QUANTITY + GB_QUANTITY]; // Connector 1 / 2 Status : None, Wait, Using
|
|
|
+ struct ConnInfo AnotherConnectorStatus[CHAdeMO_QUANTITY + CCS_QUANTITY + GB_QUANTITY];
|
|
|
+ unsigned char ConnectorUsingGroupCount[CHAdeMO_QUANTITY + CCS_QUANTITY + GB_QUANTITY]; // Psu group for connector
|
|
|
+ struct SmartTimeChk SmartChk[CHAdeMO_QUANTITY + CCS_QUANTITY + GB_QUANTITY];
|
|
|
+ struct DynamicFetchCtrl Dynamic4Fetch[CHAdeMO_QUANTITY + CCS_QUANTITY + GB_QUANTITY];
|
|
|
+ struct DynamicReleaseCtrl Dynamic4Release[CHAdeMO_QUANTITY + CCS_QUANTITY + GB_QUANTITY];
|
|
|
+ unsigned char ParallelRelayStatus[3];
|
|
|
+ unsigned char RcbParallelStatus[3];
|
|
|
+};
|
|
|
+
|
|
|
/************************************************************************************/
|
|
|
/**************************CHAdeMO protocol Share memory*********************/
|
|
|
/**************************************************************************************/
|
|
@@ -4449,6 +4591,7 @@ struct Triggers
|
|
|
// be used to trigger a meter value when vehicle stops charging or when vehicle charges at a high power that requires a
|
|
|
// different tariff.
|
|
|
// It is recommended to implement a hysteresis around this value to avoid repetitive triggers when the power fluctuates around this level.
|
|
|
+ unsigned char atCPStatus[100];
|
|
|
};
|
|
|
|
|
|
struct StrcutRunningCost
|
|
@@ -4469,6 +4612,10 @@ struct StrcutFinalCost
|
|
|
{
|
|
|
int txId;
|
|
|
unsigned char description[1024];
|
|
|
+
|
|
|
+ float cost;
|
|
|
+ unsigned char priceText[1024];
|
|
|
+ unsigned char qrCodeText[1024];
|
|
|
};
|
|
|
|
|
|
struct StructCost
|
|
@@ -4874,6 +5021,7 @@ enum OCPP20CtrlrVariable
|
|
|
ChargingStation_SystemUptimeSec,
|
|
|
ChargingStation_FreeVend,
|
|
|
ChargingStation_FreeVendIdtag,
|
|
|
+ ChargingStation_OffLineMaxChargingPower,
|
|
|
Connector_Available,
|
|
|
Connector_ConnectorType,
|
|
|
Connector_SupplyPhases,
|
|
@@ -6008,7 +6156,8 @@ struct OCPP20Data
|
|
|
unsigned char SecurityEventNotificationConf :1;
|
|
|
unsigned char SignCertificateReq :1;
|
|
|
unsigned char SignCertificateConf :1;
|
|
|
- unsigned char :2;
|
|
|
+ unsigned char NotifyCustomerInformationReq :1; //bit 6
|
|
|
+ unsigned char NotifyCustomerInformationConf :1; //bit 7
|
|
|
|
|
|
} bits;
|
|
|
} SpMsg;
|