|
@@ -178,6 +178,10 @@ Storage 0x0A200000-0x7FFFFFFF 1886 MB
|
|
|
#define ShmOcpp20ModuleKey 1012
|
|
|
#define ShmRelay2BdKey 1013
|
|
|
|
|
|
+#define FaultCodeLength 5
|
|
|
+#define AlarmCodeLength 16
|
|
|
+#define InfoCodeLength 41
|
|
|
+
|
|
|
/**************************************************************************************/
|
|
|
/****************** Share memory configuration value constant define ******************/
|
|
|
/**************************************************************************************/
|
|
@@ -298,7 +302,7 @@ enum CoreProfile {
|
|
|
DefaultPrice,
|
|
|
CustomDisplayCostAndPrice,
|
|
|
CustomIdleFeeAfterStop,
|
|
|
- ConfigurationVersion,
|
|
|
+ ConfigurationVersion,
|
|
|
_CoreProfile_CNT
|
|
|
};
|
|
|
|
|
@@ -414,6 +418,14 @@ typedef union
|
|
|
}bits;
|
|
|
}ChargingStop;
|
|
|
|
|
|
+typedef struct
|
|
|
+{
|
|
|
+ unsigned char DispenserSequence; // dispenser sequence
|
|
|
+ unsigned char MaxConnectorQuantity; // max connector quantity
|
|
|
+ unsigned char WiringSetting[8]; // record connector quantity of dispenser
|
|
|
+ unsigned char PowerCabinetReserved[32];
|
|
|
+}WiringInfoData;
|
|
|
+
|
|
|
struct SysConfigData
|
|
|
{
|
|
|
/**************System***************/
|
|
@@ -474,7 +486,10 @@ struct SysConfigData
|
|
|
unsigned char ShowInformation;
|
|
|
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
|
|
|
+ unsigned char StopChargingByButton; //0: Disable 1: Enable
|
|
|
+
|
|
|
+ /************PowerCabinet************/
|
|
|
+ WiringInfoData WiringInfo;
|
|
|
};
|
|
|
|
|
|
struct ChargingInfoData
|
|
@@ -589,7 +604,9 @@ typedef union
|
|
|
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 res:11;
|
|
|
+ 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 res:9;
|
|
|
}bits;
|
|
|
}DispenserSettingFlag;
|
|
|
|
|
@@ -645,10 +662,13 @@ struct ConnectionInfoData
|
|
|
|
|
|
struct DispenserInfoData
|
|
|
{
|
|
|
- unsigned char DispenserQuantity;
|
|
|
- unsigned char TotalConnectorQuantity;
|
|
|
+ unsigned char DispenserQuantity; // record max dispenser quantity
|
|
|
+ unsigned char TotalConnectorQuantity; // record max connector quantity
|
|
|
struct DispenserModule Dispenser[GENERAL_GUN_QUANTITY];
|
|
|
|
|
|
+ unsigned char PresentDispenserQuantity;
|
|
|
+ unsigned char PresentConnectorQuantity;
|
|
|
+
|
|
|
union
|
|
|
{
|
|
|
unsigned char Status;
|
|
@@ -756,7 +776,10 @@ typedef union
|
|
|
unsigned int AuthorizingCompleted:1; // 0: not yet, 1: authorizing completed
|
|
|
unsigned int DispenserDisconnection:1; // 0: no connection, 1: dispenser connected
|
|
|
unsigned int BackendAuthorized:1; // 0: local authorized, 1: backend authorized
|
|
|
- unsigned int res:28;
|
|
|
+ unsigned int WiringInfoChanged:1; // 0: no effect, 1: wiring info has changed
|
|
|
+ unsigned int EnableWriteWiringInfo:1; // 0: no effect, 1: enable write wiring info after timeout
|
|
|
+ unsigned int CleanWiringInfo:1; // 0: no effect, 1: clean wiring info
|
|
|
+ unsigned int res:25;
|
|
|
}bits;
|
|
|
}CabinetSettingFlag;
|
|
|
|
|
@@ -769,6 +792,8 @@ typedef struct
|
|
|
unsigned int EthernetStatus; // 0: disable, 1: connected, 2: disconnected
|
|
|
unsigned int WiFiStatus; // 0: disable, 1: connected, 2: disconnected
|
|
|
unsigned int TelcomModemStatus; // 0: disable, 1: connected, 2: disconnected
|
|
|
+ unsigned int BillingStatus; // 0: disable, 1: enable
|
|
|
+ unsigned int StopChargingButton; // 0: disable, 1: enable
|
|
|
unsigned int HardwareReboot; // 1: HardwareReboot, Other value: no effect
|
|
|
unsigned int SoftwareRestart; // 1: SoftwareRestart, Other value: no effect
|
|
|
}CabinetMiscCommand;
|
|
@@ -991,10 +1016,10 @@ char FaultStatusCode[40][6]=
|
|
|
|
|
|
struct FaultCodeData
|
|
|
{
|
|
|
- unsigned char PreviousFaultVal[5];
|
|
|
+ unsigned char PreviousFaultVal[FaultCodeLength];
|
|
|
union
|
|
|
{
|
|
|
- unsigned char FaultVal[5];
|
|
|
+ unsigned char FaultVal[FaultCodeLength];
|
|
|
struct
|
|
|
{
|
|
|
//FaultVal[0]
|
|
@@ -1177,10 +1202,10 @@ char AlarmStatusCode[128][6]=
|
|
|
};
|
|
|
struct AlarmCodeData
|
|
|
{
|
|
|
- unsigned char PreviousAlarmVal[16];
|
|
|
+ unsigned char PreviousAlarmVal[AlarmCodeLength];
|
|
|
union
|
|
|
{
|
|
|
- unsigned char AlarmVal[16];
|
|
|
+ unsigned char AlarmVal[AlarmCodeLength];
|
|
|
struct
|
|
|
{
|
|
|
//AlarmVal[0]
|
|
@@ -1659,10 +1684,10 @@ char InfoStatusCode[384][6]=
|
|
|
};
|
|
|
struct InfoCodeData
|
|
|
{
|
|
|
- unsigned char PreviousInfoVal[41];
|
|
|
+ unsigned char PreviousInfoVal[InfoCodeLength];
|
|
|
union
|
|
|
{
|
|
|
- unsigned char InfoVal[41];
|
|
|
+ unsigned char InfoVal[InfoCodeLength];
|
|
|
struct
|
|
|
{
|
|
|
//InfoVal[0]
|
|
@@ -2084,6 +2109,10 @@ struct PsuGroupData
|
|
|
unsigned int GroupPresentOutputPower; //Watt
|
|
|
struct PsuModuleData PsuModule[MAX_PSU_QUANTITY];
|
|
|
PsuGroupError GroupErrorFlag;
|
|
|
+ unsigned short TotalIAvailableCurrent; // unit: 0.1A
|
|
|
+ unsigned short TempIAvailableCurrent; // unit: 0.1A
|
|
|
+ unsigned short StableIAvailableCurrent; // unit: 0.1A
|
|
|
+ unsigned short StableCurrentCounter; // stable current counter
|
|
|
};
|
|
|
|
|
|
/*Following is the information for system all PSU*/
|
|
@@ -4231,104 +4260,104 @@ struct StructCost
|
|
|
|
|
|
struct CertificateHashDataType
|
|
|
{
|
|
|
- unsigned char hashAlgorithm[8]; // Required. Used algorithms for the hashes provided.
|
|
|
- unsigned char issuerNameHash[129]; // Required. hashed value of the IssuerName.
|
|
|
- unsigned char issuerKeyHash[129]; // Required. Hashed value of the issuers public key
|
|
|
- unsigned char serialNumber[41]; // Required. The serial number of the certificate.
|
|
|
+ unsigned char hashAlgorithm[8]; // Required. Used algorithms for the hashes provided.
|
|
|
+ unsigned char issuerNameHash[129]; // Required. hashed value of the IssuerName.
|
|
|
+ unsigned char issuerKeyHash[129]; // Required. Hashed value of the issuers public key
|
|
|
+ unsigned char serialNumber[41]; // Required. The serial number of the certificate.
|
|
|
};
|
|
|
|
|
|
struct LogParametersType
|
|
|
{
|
|
|
- unsigned char remoteLocation[513]; // Required. The URL of the location at the remote system where the log should be stored.
|
|
|
- unsigned char oldestTimestamp[36]; // Optional. This contains the date and time of the oldest logging information to include in the diagnostics.
|
|
|
- unsigned char latestTimestamp[36]; // Optional. This contains the date and time of the latest logging information to include in the diagnostics.
|
|
|
+ unsigned char remoteLocation[513]; // Required. The URL of the location at the remote system where the log should be stored.
|
|
|
+ unsigned char oldestTimestamp[36]; // Optional. This contains the date and time of the oldest logging information to include in the diagnostics.
|
|
|
+ unsigned char latestTimestamp[36]; // Optional. This contains the date and time of the latest logging information to include in the diagnostics.
|
|
|
};
|
|
|
|
|
|
struct FirmwareType
|
|
|
{
|
|
|
- unsigned char location[513]; // Required. URI defining the origin of the firmware.
|
|
|
- unsigned char retrieveDateTime[36]; // Required. Date and time at which the firmware shall be retrieved.
|
|
|
- unsigned char installDateTime[36]; // Optional. Date and time at which the firmware shall be installed.
|
|
|
- unsigned char signingCertificate[5501]; // Optional. Certificate with which the firmware was signed. X.509 certificate, first DER encoded into binary, and then Base64 encoded.
|
|
|
- unsigned char signature[801]; // Optional. Base64 encoded firmware signature.
|
|
|
+ unsigned char location[513]; // Required. URI defining the origin of the firmware.
|
|
|
+ unsigned char retrieveDateTime[36]; // Required. Date and time at which the firmware shall be retrieved.
|
|
|
+ unsigned char installDateTime[36]; // Optional. Date and time at which the firmware shall be installed.
|
|
|
+ unsigned char signingCertificate[5501]; // Optional. Certificate with which the firmware was signed. X.509 certificate, first DER encoded into binary, and then Base64 encoded.
|
|
|
+ unsigned char signature[801]; // Optional. Base64 encoded firmware signature.
|
|
|
};
|
|
|
|
|
|
struct StructCertificateSigned
|
|
|
{
|
|
|
- unsigned char certificateChain[10001];
|
|
|
- unsigned char Response_status[16];
|
|
|
+ unsigned char certificateChain[10001];
|
|
|
+ unsigned char Response_status[16];
|
|
|
};
|
|
|
|
|
|
struct StructDeleteCertificate
|
|
|
{
|
|
|
- struct CertificateHashDataType certificateHashData;
|
|
|
- unsigned char Response_status[16];
|
|
|
+ struct CertificateHashDataType certificateHashData;
|
|
|
+ unsigned char Response_status[16];
|
|
|
};
|
|
|
|
|
|
struct StructExtendedTrigger
|
|
|
{
|
|
|
- unsigned char requestedMessage[32];
|
|
|
- int connectorId;
|
|
|
- unsigned char Response_status[16];
|
|
|
+ unsigned char requestedMessage[32];
|
|
|
+ int connectorId;
|
|
|
+ unsigned char Response_status[16];
|
|
|
};
|
|
|
|
|
|
struct StructGetInstalledCertificateIds
|
|
|
{
|
|
|
- unsigned char certificateType[32];
|
|
|
- unsigned char Response_status[16];
|
|
|
- struct CertificateHashDataType Response_certificateHashData[3];
|
|
|
+ unsigned char certificateType[32];
|
|
|
+ unsigned char Response_status[16];
|
|
|
+ struct CertificateHashDataType Response_certificateHashData[3];
|
|
|
};
|
|
|
|
|
|
struct StructGetLog
|
|
|
{
|
|
|
- unsigned char logType[16];
|
|
|
- int requestId;
|
|
|
- int retries;
|
|
|
- int retryInterval;
|
|
|
- struct LogParametersType log;
|
|
|
- unsigned char Response_status[16];
|
|
|
- unsigned char Response_filename[256];
|
|
|
+ unsigned char logType[16];
|
|
|
+ int requestId;
|
|
|
+ int retries;
|
|
|
+ int retryInterval;
|
|
|
+ struct LogParametersType log;
|
|
|
+ unsigned char Response_status[16];
|
|
|
+ unsigned char Response_filename[256];
|
|
|
};
|
|
|
|
|
|
struct StructInstallCertificate
|
|
|
{
|
|
|
- unsigned char certificateType[32];
|
|
|
- unsigned char certificate[5501];
|
|
|
- unsigned char Response_status[16];
|
|
|
+ unsigned char certificateType[32];
|
|
|
+ unsigned char certificate[5501];
|
|
|
+ unsigned char Response_status[16];
|
|
|
};
|
|
|
|
|
|
struct StructSignedUpdateFirmware
|
|
|
{
|
|
|
- int retries;
|
|
|
- int retryInterval;
|
|
|
- int requestId;
|
|
|
- struct FirmwareType firmware;
|
|
|
- unsigned char Response_status[16];
|
|
|
+ int retries;
|
|
|
+ int retryInterval;
|
|
|
+ int requestId;
|
|
|
+ struct FirmwareType firmware;
|
|
|
+ unsigned char Response_status[16];
|
|
|
};
|
|
|
|
|
|
struct StructLogStatusNotification
|
|
|
{
|
|
|
- unsigned char status[32];
|
|
|
- int requestId;
|
|
|
+ unsigned char status[32];
|
|
|
+ int requestId;
|
|
|
};
|
|
|
|
|
|
struct StructSecurityEventNotification
|
|
|
{
|
|
|
- unsigned char type[51];
|
|
|
- unsigned char timestamp[28];
|
|
|
- unsigned char techInfo[256];
|
|
|
+ unsigned char type[51];
|
|
|
+ unsigned char timestamp[28];
|
|
|
+ unsigned char techInfo[256];
|
|
|
};
|
|
|
|
|
|
struct StructSignCertificate
|
|
|
{
|
|
|
- unsigned char csr[5501];
|
|
|
- unsigned char Response_status[16];
|
|
|
+ unsigned char csr[5501];
|
|
|
+ unsigned char Response_status[16];
|
|
|
};
|
|
|
|
|
|
struct StructSignedFirmwareStatusNotification
|
|
|
{
|
|
|
- unsigned char status[32];
|
|
|
- int requestId;
|
|
|
+ unsigned char status[32];
|
|
|
+ int requestId;
|
|
|
};
|
|
|
|
|
|
struct OCPP16Data
|
|
@@ -4363,23 +4392,23 @@ struct OCPP16Data
|
|
|
struct
|
|
|
{
|
|
|
//SpMsgValue[0]
|
|
|
- unsigned char BootNotificationReq :1; //bit 0,
|
|
|
- unsigned char BootNotificationConf :1; //bit 1,
|
|
|
- unsigned char AuthorizeReq :1; //bit 2,
|
|
|
- unsigned char AuthorizeConf :1; //bit 3,
|
|
|
- unsigned char DiagnosticsStatusNotificationReq :1; //bit 4,
|
|
|
- unsigned char DiagnosticsStatusNotificationConf :1; //bit 5,
|
|
|
- unsigned char FirmwareStatusNotificationReq :1; //bit 6,
|
|
|
- unsigned char FirmwareStatusNotificationConf :1; //bit 7,
|
|
|
+ unsigned char BootNotificationReq :1; //bit 0,
|
|
|
+ unsigned char BootNotificationConf :1; //bit 1,
|
|
|
+ unsigned char AuthorizeReq :1; //bit 2,
|
|
|
+ unsigned char AuthorizeConf :1; //bit 3,
|
|
|
+ unsigned char DiagnosticsStatusNotificationReq :1; //bit 4,
|
|
|
+ unsigned char DiagnosticsStatusNotificationConf :1; //bit 5,
|
|
|
+ unsigned char FirmwareStatusNotificationReq :1; //bit 6,
|
|
|
+ unsigned char FirmwareStatusNotificationConf :1; //bit 7,
|
|
|
//SpMsgValue[1]
|
|
|
unsigned char LogStatusNotificationReq :1; //bit 0,
|
|
|
- unsigned char LogStatusNotificationConf :1; //bit 1,
|
|
|
- unsigned char SecurityEventNotificationReq :1; //bit 2,
|
|
|
- unsigned char SecurityEventNotificationConf :1; //bit 3,
|
|
|
- unsigned char SignCertificateReq :1; //bit 4,
|
|
|
- unsigned char SignCertificateConf :1; //bit 5,
|
|
|
- unsigned char SignedFirmwareStatusNotificationReq :1; //bit 6,
|
|
|
- unsigned char SignedFirmwareStatusNotificationConf :1; //bit 7,
|
|
|
+ unsigned char LogStatusNotificationConf :1; //bit 1,
|
|
|
+ unsigned char SecurityEventNotificationReq :1; //bit 2,
|
|
|
+ unsigned char SecurityEventNotificationConf :1; //bit 3,
|
|
|
+ unsigned char SignCertificateReq :1; //bit 4,
|
|
|
+ unsigned char SignCertificateConf :1; //bit 5,
|
|
|
+ unsigned char SignedFirmwareStatusNotificationReq :1; //bit 6,
|
|
|
+ unsigned char SignedFirmwareStatusNotificationConf :1; //bit 7,
|
|
|
} bits;
|
|
|
} SpMsg;
|
|
|
|
|
@@ -4425,40 +4454,40 @@ struct OCPP16Data
|
|
|
struct
|
|
|
{
|
|
|
//CsMsgValue[0]
|
|
|
- unsigned char ChangeConfigurationReq :1; //bit 0,
|
|
|
- unsigned char ChangeConfigurationConf :1; //bit 1,
|
|
|
- unsigned char ClearCacheReq :1; //bit 2,
|
|
|
- unsigned char ClearCacheConf :1; //bit 3,
|
|
|
- unsigned char GetConfigurationReq :1; //bit 4,
|
|
|
- unsigned char GetConfigurationConf :1; //bit 5,
|
|
|
- unsigned char UpdateFirmwareReq :1; //bit 6,
|
|
|
- unsigned char UpdateFirmwareConf :1; //bit 7,
|
|
|
+ unsigned char ChangeConfigurationReq :1; //bit 0,
|
|
|
+ unsigned char ChangeConfigurationConf :1; //bit 1,
|
|
|
+ unsigned char ClearCacheReq :1; //bit 2,
|
|
|
+ unsigned char ClearCacheConf :1; //bit 3,
|
|
|
+ unsigned char GetConfigurationReq :1; //bit 4,
|
|
|
+ unsigned char GetConfigurationConf :1; //bit 5,
|
|
|
+ unsigned char UpdateFirmwareReq :1; //bit 6,
|
|
|
+ unsigned char UpdateFirmwareConf :1; //bit 7,
|
|
|
//CsMsgValue[1]
|
|
|
- unsigned char GetDiagnosticsReq :1; //bit 0,
|
|
|
- unsigned char GetDiagnosticsConf :1; //bit 1,
|
|
|
- unsigned char GetLocalListVersionReq :1; //bit 2,
|
|
|
- unsigned char GetLocalListVersionConf :1; //bit 3,
|
|
|
- unsigned char ResetReq :1; //bit 4,
|
|
|
- unsigned char ResetConf :1; //bit 5,
|
|
|
- unsigned char SendLocalListReq :1; //bit 6,
|
|
|
- unsigned char SendLocalListConf :1; //bit 7,
|
|
|
+ unsigned char GetDiagnosticsReq :1; //bit 0,
|
|
|
+ unsigned char GetDiagnosticsConf :1; //bit 1,
|
|
|
+ unsigned char GetLocalListVersionReq :1; //bit 2,
|
|
|
+ unsigned char GetLocalListVersionConf :1; //bit 3,
|
|
|
+ unsigned char ResetReq :1; //bit 4,
|
|
|
+ unsigned char ResetConf :1; //bit 5,
|
|
|
+ unsigned char SendLocalListReq :1; //bit 6,
|
|
|
+ unsigned char SendLocalListConf :1; //bit 7,
|
|
|
//CsMsgValue[2]
|
|
|
- unsigned char CertificateSignedReq :1; //bit 0
|
|
|
- unsigned char CertificateSignedConf :1; //bit 1
|
|
|
- unsigned char DeleteCertificateReq :1; //bit 2
|
|
|
- unsigned char DeleteCertificateConf :1; //bit 3
|
|
|
- unsigned char ExtendedTriggerMessageReq :1; //bit 4
|
|
|
- unsigned char ExtendedTriggerMessageConf :1; //bit 5
|
|
|
- unsigned char GetInstalledCertificateIdsReq :1; //bit 6
|
|
|
- unsigned char GetInstalledCertificateIdsConf :1; //bit 7
|
|
|
+ unsigned char CertificateSignedReq :1; //bit 0
|
|
|
+ unsigned char CertificateSignedConf :1; //bit 1
|
|
|
+ unsigned char DeleteCertificateReq :1; //bit 2
|
|
|
+ unsigned char DeleteCertificateConf :1; //bit 3
|
|
|
+ unsigned char ExtendedTriggerMessageReq :1; //bit 4
|
|
|
+ unsigned char ExtendedTriggerMessageConf :1; //bit 5
|
|
|
+ unsigned char GetInstalledCertificateIdsReq :1; //bit 6
|
|
|
+ unsigned char GetInstalledCertificateIdsConf :1; //bit 7
|
|
|
//CsMsgValue[3]
|
|
|
- unsigned char GetLogReq :1; //bit 0
|
|
|
- unsigned char GetLogConf :1; //bit 1
|
|
|
- unsigned char InstallCertificateReq :1; //bit 2
|
|
|
- unsigned char InstallCertificateConf :1; //bit 3
|
|
|
- unsigned char SignedUpdateFirmwareReq :1; //bit 4
|
|
|
- unsigned char SignedUpdateFirmwareConf :1; //bit 5
|
|
|
- unsigned char :2; //bit 6 & 7
|
|
|
+ unsigned char GetLogReq :1; //bit 0
|
|
|
+ unsigned char GetLogConf :1; //bit 1
|
|
|
+ unsigned char InstallCertificateReq :1; //bit 2
|
|
|
+ unsigned char InstallCertificateConf :1; //bit 3
|
|
|
+ unsigned char SignedUpdateFirmwareReq :1; //bit 4
|
|
|
+ unsigned char SignedUpdateFirmwareConf :1; //bit 5
|
|
|
+ unsigned char :2; //bit 6 & 7
|
|
|
} bits;
|
|
|
} MsMsg;
|
|
|
|
|
@@ -4475,48 +4504,48 @@ struct OCPP16Data
|
|
|
} bits[CONNECTOR_QUANTITY];
|
|
|
}CSUMsg;
|
|
|
|
|
|
- struct StructBootNotification BootNotification;
|
|
|
- struct StructHeartbeat Heartbeat;
|
|
|
- struct StructAuthorize Authorize;
|
|
|
- struct StructStartTransaction StartTransaction[CONNECTOR_QUANTITY];
|
|
|
- struct StructStopTransaction StopTransaction[CONNECTOR_QUANTITY];
|
|
|
- struct StructStatusNotification StatusNotification[CONNECTOR_QUANTITY];
|
|
|
- struct StructCancelReservation CancelReservation[CONNECTOR_QUANTITY];
|
|
|
- struct StructChangeAvailability ChangeAvailability[CONNECTOR_QUANTITY];
|
|
|
- struct StructChangeConfiguration ChangeConfiguration;
|
|
|
- struct StructClearCache ClearCache;
|
|
|
- struct StructClearChargingProfile ClearChargingProfile[CONNECTOR_QUANTITY];
|
|
|
- struct StructDataTransfer DataTransfer[CONNECTOR_QUANTITY];
|
|
|
- struct StructDiagnosticsStatusNotification DiagnosticsStatusNotification;
|
|
|
- struct StructFirmwareStatusNotification FirmwareStatusNotification;
|
|
|
- struct StructGetCompositeSchedule GetCompositeSchedule[CONNECTOR_QUANTITY];
|
|
|
- struct StructGetConfiguration GetConfiguration;
|
|
|
- struct StructGetDiagnostics GetDiagnostics;
|
|
|
- struct StructGetLocalListVersion GetLocalListVersion;
|
|
|
- struct StructMeterValues MeterValues[CONNECTOR_QUANTITY];
|
|
|
- struct StructRemoteStartTransaction RemoteStartTransaction[CONNECTOR_QUANTITY];
|
|
|
- struct StructRemoteStopTransaction RemoteStopTransaction[CONNECTOR_QUANTITY];
|
|
|
- struct StructReserveNow ReserveNow[CONNECTOR_QUANTITY];
|
|
|
- struct StructReset Reset;
|
|
|
- struct StructSendLocalList SendLocalList;
|
|
|
- struct StructSetChargingProfile SetChargingProfile[CONNECTOR_QUANTITY];
|
|
|
- struct StructTriggerMessage TriggerMessage[CONNECTOR_QUANTITY];
|
|
|
- struct StructUnlockConnector UnlockConnector[CONNECTOR_QUANTITY];
|
|
|
- struct StructUpdateFirmware UpdateFirmware;
|
|
|
- struct OCPP16ConfigurationTable ConfigurationTable;
|
|
|
- struct StructChargingProfile SmartChargingProfile[CONNECTOR_QUANTITY];
|
|
|
- struct StructCost Cost;
|
|
|
- struct StructCertificateSigned CertificateSigned;
|
|
|
- struct StructDeleteCertificate DeleteCertificate;
|
|
|
- struct StructExtendedTrigger ExtendedTriggerMessage;
|
|
|
- struct StructGetInstalledCertificateIds GetInstalledCertificateIds;
|
|
|
- struct StructGetLog GetLog;
|
|
|
- struct StructInstallCertificate InstallCertificate;
|
|
|
- struct StructSignedUpdateFirmware SignedUpdateFirmware;
|
|
|
- struct StructLogStatusNotification LogStatusNotification;
|
|
|
- struct StructSecurityEventNotification SecurityEventNotification;
|
|
|
- struct StructSignCertificate SignCertificate;
|
|
|
- struct StructSignedFirmwareStatusNotification SignedFirmwareStatusNotification;
|
|
|
+ struct StructBootNotification BootNotification;
|
|
|
+ struct StructHeartbeat Heartbeat;
|
|
|
+ struct StructAuthorize Authorize;
|
|
|
+ struct StructStartTransaction StartTransaction[CONNECTOR_QUANTITY];
|
|
|
+ struct StructStopTransaction StopTransaction[CONNECTOR_QUANTITY];
|
|
|
+ struct StructStatusNotification StatusNotification[CONNECTOR_QUANTITY];
|
|
|
+ struct StructCancelReservation CancelReservation[CONNECTOR_QUANTITY];
|
|
|
+ struct StructChangeAvailability ChangeAvailability[CONNECTOR_QUANTITY];
|
|
|
+ struct StructChangeConfiguration ChangeConfiguration;
|
|
|
+ struct StructClearCache ClearCache;
|
|
|
+ struct StructClearChargingProfile ClearChargingProfile[CONNECTOR_QUANTITY];
|
|
|
+ struct StructDataTransfer DataTransfer[CONNECTOR_QUANTITY];
|
|
|
+ struct StructDiagnosticsStatusNotification DiagnosticsStatusNotification;
|
|
|
+ struct StructFirmwareStatusNotification FirmwareStatusNotification;
|
|
|
+ struct StructGetCompositeSchedule GetCompositeSchedule[CONNECTOR_QUANTITY];
|
|
|
+ struct StructGetConfiguration GetConfiguration;
|
|
|
+ struct StructGetDiagnostics GetDiagnostics;
|
|
|
+ struct StructGetLocalListVersion GetLocalListVersion;
|
|
|
+ struct StructMeterValues MeterValues[CONNECTOR_QUANTITY];
|
|
|
+ struct StructRemoteStartTransaction RemoteStartTransaction[CONNECTOR_QUANTITY];
|
|
|
+ struct StructRemoteStopTransaction RemoteStopTransaction[CONNECTOR_QUANTITY];
|
|
|
+ struct StructReserveNow ReserveNow[CONNECTOR_QUANTITY];
|
|
|
+ struct StructReset Reset;
|
|
|
+ struct StructSendLocalList SendLocalList;
|
|
|
+ struct StructSetChargingProfile SetChargingProfile[CONNECTOR_QUANTITY];
|
|
|
+ struct StructTriggerMessage TriggerMessage[CONNECTOR_QUANTITY];
|
|
|
+ struct StructUnlockConnector UnlockConnector[CONNECTOR_QUANTITY];
|
|
|
+ struct StructUpdateFirmware UpdateFirmware;
|
|
|
+ struct OCPP16ConfigurationTable ConfigurationTable;
|
|
|
+ struct StructChargingProfile SmartChargingProfile[CONNECTOR_QUANTITY];
|
|
|
+ struct StructCost Cost;
|
|
|
+ struct StructCertificateSigned CertificateSigned;
|
|
|
+ struct StructDeleteCertificate DeleteCertificate;
|
|
|
+ struct StructExtendedTrigger ExtendedTriggerMessage;
|
|
|
+ struct StructGetInstalledCertificateIds GetInstalledCertificateIds;
|
|
|
+ struct StructGetLog GetLog;
|
|
|
+ struct StructInstallCertificate InstallCertificate;
|
|
|
+ struct StructSignedUpdateFirmware SignedUpdateFirmware;
|
|
|
+ struct StructLogStatusNotification LogStatusNotification;
|
|
|
+ struct StructSecurityEventNotification SecurityEventNotification;
|
|
|
+ struct StructSignCertificate SignCertificate;
|
|
|
+ struct StructSignedFirmwareStatusNotification SignedFirmwareStatusNotification;
|
|
|
};
|
|
|
|
|
|
|
|
@@ -5083,8 +5112,8 @@ struct TransactionType
|
|
|
|
|
|
struct StatusInfoType
|
|
|
{
|
|
|
- unsigned char reasonCode[21]; // Required. A predefined code for the reason why thestatus is returned in this response. The string is case-insensitive.
|
|
|
- unsigned char additionalInfo[513]; // Optional. Additional text to provide detailed information.
|
|
|
+ unsigned char reasonCode[21]; // Required. A predefined code for the reason why thestatus is returned in this response. The string is case-insensitive.
|
|
|
+ unsigned char additionalInfo[513]; // Optional. Additional text to provide detailed information.
|
|
|
};
|
|
|
/*
|
|
|
* =============== Message ===============
|
|
@@ -5115,11 +5144,11 @@ struct CancelReservation_20
|
|
|
|
|
|
struct CertificateSigned_20
|
|
|
{
|
|
|
- unsigned char certificateChain[10001]; // Required. Required. The signed PEM encoded X.509 certificate.This can also contain the necessary sub CA certificates.In that case, the order of the bundle should follow thecertificate chain, starting from the leaf certificate.The Configuration Variable MaxCertificateChainSize canbe used to limit the maximum size of this field.
|
|
|
- unsigned char certificateType[32]; // Optional. Indicates the type of the signed certificate that is returned.
|
|
|
- unsigned char Response_status[16]; // Required. Returns whether certificate signing has been accepted, otherwise rejected.
|
|
|
- struct StatusInfoType Response_statusInfo; // Optional. Detailed status information.
|
|
|
- unsigned char guid[37]; // Save guid from server request
|
|
|
+ unsigned char certificateChain[10001]; // Required. Required. The signed PEM encoded X.509 certificate.This can also contain the necessary sub CA certificates.In that case, the order of the bundle should follow thecertificate chain, starting from the leaf certificate.The Configuration Variable MaxCertificateChainSize canbe used to limit the maximum size of this field.
|
|
|
+ unsigned char certificateType[32]; // Optional. Indicates the type of the signed certificate that is returned.
|
|
|
+ unsigned char Response_status[16]; // Required. Returns whether certificate signing has been accepted, otherwise rejected.
|
|
|
+ struct StatusInfoType Response_statusInfo; // Optional. Detailed status information.
|
|
|
+ unsigned char guid[37]; // Save guid from server request
|
|
|
};
|
|
|
|
|
|
struct ChangeAvailability_20
|
|
@@ -5549,10 +5578,10 @@ struct SetVariables_20
|
|
|
|
|
|
struct SignCertificate_20
|
|
|
{
|
|
|
- unsigned char csr[5501]; // Required. The Charging Station SHALL send the public key in form of a Certificate Signing Request (CSR) as described in RFC 2986 [22] using the SignCertificateRequest message.
|
|
|
- unsigned char certificateType[32]; // Optional. Indicates the type of certificate that is to be signed. When omitted the certificate is to be used for both the 15118 connection (if implemented) and the Charging Station to CSMS connection.
|
|
|
- unsigned char Response_status[16]; // Required. Specifies whether the CSMS can process the request.
|
|
|
- struct StatusInfoType Response_statusInfo; // Optional. Detailed status information.
|
|
|
+ unsigned char csr[5501]; // Required. The Charging Station SHALL send the public key in form of a Certificate Signing Request (CSR) as described in RFC 2986 [22] using the SignCertificateRequest message.
|
|
|
+ unsigned char certificateType[32]; // Optional. Indicates the type of certificate that is to be signed. When omitted the certificate is to be used for both the 15118 connection (if implemented) and the Charging Station to CSMS connection.
|
|
|
+ unsigned char Response_status[16]; // Required. Specifies whether the CSMS can process the request.
|
|
|
+ struct StatusInfoType Response_statusInfo; // Optional. Detailed status information.
|
|
|
};
|
|
|
|
|
|
struct StatusNotification_20
|