package
1.10.47
Repository: https://github.com/kotodian/protocol.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Constants

本地通过蓝牙启动.
智能充电启动.
本地管理员启动.
鉴权卡刷卡本地鉴权启动.
本地即插即充启动.
车辆VIN本地鉴权启动.
本地钱包卡刷卡启动.
本地通过输入校验码启动.
鉴权卡刷卡在线鉴权启动.
车辆VIN在线鉴权启动.
远程管理员启动.
远程用户启动.
鉴权通过,允许用户充电.
鉴权被挡住,不允许充电.
账户有未结算的订单,不能同时开启多个订单,不允许充电.
账户过期,不允许充电.
账户余额不足,不允许充电.
账户无法识别,无效,不允许充电.
信用额度不足.
不可在此设备充电,Identifier is valid, but not allowed to charge at this type of EVSE.
不可在此站充电.
不可在此时充电.
用户密码错误.
系统错误.
未知.
钴酸锂电池.
铅酸电池.
磷酸铁锂电池.
聚合物锂离子电池.
锰酸锂电池.
钛酸锂电池.
三元材料电池.
镍氢电池.
其它电池.
No description provided by the author
恒流充电.
恒压充电.
.
测量值正常.
过高.
过低或者不可信.
异常.
正常.
不可信.
接受.
未取消预约成功.
余额卡.
次数卡.
默认,未指定类型.
时效卡(月卡/年卡).
No description provided by the author
No description provided by the author
充电中.
No description provided by the author
已连接,未开启充电会话.
充电已开启,电动汽车还未充电.
充电已开启,但充电桩还未输出.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
电动汽车BMS.
读卡器.
充电控制单元.
充电接口.
系统风扇.
显示屏.
电表.
未分类.
智能车位探测.
智能车位锁.
电源模块.
系统.
计费控制单元.
参数支持,已设置.
参数不支持.
参数支持,已设置,但需要重启生效.
参数支持,但设置失败.
No description provided by the author
No description provided by the author
上传日志指令已接受.
未进行日志上传任务状态.
日志上传成功.
日志上传失败.
正在上传日志.
其它错误.
处理请求时,发生内部错误.
不支持该请求.
解析消息payload错误.
解析消息成功,但有域数据类型不对.
固件已下载.
固件下载失败.
固件下载中.
固件暂停下载.
固件安装失败.
固件安装成功.
固件安装中.
固件安装计划中.
固件验证失败.
准备中.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
接受此日志上传,但这样做将取消正在进行的日志文件上传。.
No description provided by the author
This contains the field definition of a diagnostics log file.
Sent by the CSMS to the Charging Station to request that the Charging Station uploads the security log.
No description provided by the author
No description provided by the author
A centrally, in the CSMS (or other server) generated id (for example used for a remotely started transaction that is activated by SMS).
Electro-mobility account id as defined in ISO 15118.
ISO 14443 UID of RFID card.
ISO 15693 UID of RFID card.
User use a private key-code to authorize a charging transaction.
A locally generated id (e.g.
No description provided by the author
Transaction is started and no authorization possible.
充电卡用户.
默认.
定时启动.
离线钱包卡.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
鉴权.应答.
鉴权.请求.
启动通知.应答.
启动通知.请求.
取消预约.应答.
取消预约.请求.
No description provided by the author
No description provided by the author
远程设置参数.应答.
远程设置参数.请求.
充电过程信息.请求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
数据传输.应答.
数据传输.请求.
注册请求.应答.
注册请求.
诊断日志状态通知.请求.
远程升级状态通知.应答.
远程升级状态通知.请求.
获取报告.应答.
获取报告.请求.
No description provided by the author
No description provided by the author
获取设备参数.应答.
获取设备参数.请求.
获取设备诊断日志.应答.
获取设备诊断日志.请求.
获取日志.应答.
获取日志.请求.
.
No description provided by the author
获取离线订单 .应答.
获取离线订单 .请求.
No description provided by the author
No description provided by the author
获取告警记录.应答.
获取告警记录.请求.
心跳.应答.
心跳.请求.
No description provided by the author
No description provided by the author
日志上报状态.应答.
日志上报状态.请求.
错误.
No description provided by the author
No description provided by the author
上报报告.应答.
上报报告.请求.
远程控制.应答.
远程控制.请求.
远程启动充电.应答.
远程启动充电.请求.
远程停止充电.应答.
远程停止充电.请求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
预约充电.应答.
预约充电.请求.
设置本地鉴权列表.应答.
设置本地授权列表.请求.
No description provided by the author
No description provided by the author
.
No description provided by the author
No description provided by the author
No description provided by the author
设置计费模版.应答.
设置计费模版.请求.
设置变量.应答.
设置变量.请求.
No description provided by the author
签发证书.
充电开始通知.应答.
充电开始通知.请求.
枪状态.应答.
枪状态.请求.
充电结束通知.应答.
充电结束通知.请求.
遥测.请求.
上报离线订单 .应答.
上报离线订单 .请求.
No description provided by the author
触发消息重发.请求.
升级固件.应答.
远程升级.请求.
更新用户卡桩端缓存.应答.
更新用户卡桩端缓存.请求.
上报告警记录.应答.
上报告警记录.请求.
No description provided by the author
No description provided by the author
接受.
未预约成功,枪故障.
未预约成功,枪被占用.
未预约成功,设备不支持预约功能.
未预约成功,枪不可用.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
更新不一致的.
更新全部.
No description provided by the author
No description provided by the author
自动充满模式.
自动放电.
预设电量充电模式.
预设金额充电模式.
预设时间充电模式.
按电量放电.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
刷卡器通讯异常.
电子锁异常.
门禁故障.
适配电压错误.
管理员强制结束(原23).
环境过温.
BCL超时错误.
BCP超时错误.
BCS超时错误.
BEM充电错误报文超时.
BHM超时错误.
电动车故障,停止充电.
BMS未就绪.
BMS其他故障.
BRM超时错误.
BROAA超时错误.
BROAA重大错误停止充电.
BRO超时错误.
BSD超时错误.
BSM超时错误.
BST电池组过温.
BST检测点2电压故障.
BST元件过温.
BST连接器故障.
BST高压继电器故障.
BST绝缘故障.
BST电流过大.
BST电压过大.
BST超时错误.
充电枪未连接(充电中车辆控制引导异常/CC1连接异常)(原27).
CC1状态错误.
充电不允许的状态.
充电器关闭错误.
充电器开启错误.
充电桩其他故障.
充电继电器关闭错误.
充电继电器开启错误.
充电枪故障(原26).
枪过温.
CP错误.
取消授权.
急停按下,停止充电.
整车动力蓄电池荷电状态SoC过高.
整车动力蓄电池喝点状态SoC过低.
连接超时.
检测到枪头断开,停止充电.
接口已被占用(原24).
充满自停(原22).
绝缘监测错误.
漏电故障.
避雷.
用户本地刷卡停止充电.
用户本地输入校验码停止充电.
最高电池组过温.
电表通讯故障.
网络同步超时停止充电.
按照服务类型(按电量充电,按时长充电,按金额充电,.
没有计费模版(原25).
余额不足.
充电桩断线,停止充电(对于不允许离线充电的充电桩).
开启电磁锁错误.
其它原因,停止充电.
输出过压错误.
输出过压错误.
过载停止.
超过设置电量.
超过设置SOC.
超过设置时间.
过压停止.
动力蓄电池充电过流.
动力蓄电池温度过高.
动力蓄电池连接器故障.
动力蓄电池绝缘故障.
充电桩掉电,停止充电.
预充适配电压错误.
预充电池电压和报文差5%错误.
预充电压大于允许最大电压.
预充电压小于允许最小电压.
计费模板异常.
系统重启停止充电.
管理员远程结束.
用户远程结束.
平台错误.
单体动力蓄电池电压过高.
单体动力蓄电池电压过低.
soc充满停止.
停止充电电流大于5A.
充电桩故障,停止充电.
欠压停止.
No description provided by the author
No description provided by the author
Accepted this firmware update request.
Accepted this firmware update request, but in doing this has canceled an ongoing firmware update.
The certificate is invalid.
Firmware update request rejected.
Failure end state.
No description provided by the author
No description provided by the author
故障,需要立即中止本次充电,不影响下次充电.
系统严重故障,系统不能工作了.
硬件故障.
信息.
事件通知.
系统故障.
系统警告,不影响充电.

# Variables

Enum value maps for AuthorizationMode.
Enum value maps for AuthorizationMode.
Enum value maps for AuthorizationStatus.
Enum value maps for AuthorizationStatus.
Enum value maps for BatteryType.
Enum value maps for BatteryType.
Enum value maps for BMSChargingType.
Enum value maps for BMSChargingType.
Enum value maps for BMSMeasureStatus.
Enum value maps for BMSMeasureStatus.
Enum value maps for BMSTelesignalStatus.
Enum value maps for BMSTelesignalStatus.
Enum value maps for CancelReservationConf_Status.
Enum value maps for CancelReservationConf_Status.
Enum value maps for CardType.
Enum value maps for CardType.
Enum value maps for ChangeAvailabilityConf_Status.
Enum value maps for ChangeAvailabilityConf_Status.
Enum value maps for ChargerStatus.
Enum value maps for ChargerStatus.
Enum value maps for ChargingProfile_Purpose.
Enum value maps for ChargingProfile_Purpose.
Enum value maps for ChargingProfile_Status.
Enum value maps for ChargingProfile_Status.
Enum value maps for ChargingRateUnit.
Enum value maps for ChargingRateUnit.
Enum value maps for ClearCacheConf_Status.
Enum value maps for ClearCacheConf_Status.
Enum value maps for ClearChargingProfile_Status.
Enum value maps for ClearChargingProfile_Status.
Enum value maps for Components.
Enum value maps for Components.
Enum value maps for ConfigurationStatus.
Enum value maps for ConfigurationStatus.
Enum value maps for DataTransferConf_Status.
Enum value maps for DataTransferConf_Status.
Enum value maps for DiagnosticsStatus.
Enum value maps for DiagnosticsStatus.
Enum value maps for ErrorCode.
Enum value maps for ErrorCode.
No description provided by the author
Enum value maps for FirmwareStatus.
Enum value maps for FirmwareStatus.
Enum value maps for GetBaseReportReq_ReportBaseEnumType.
Enum value maps for GetBaseReportReq_ReportBaseEnumType.
Enum value maps for GetChargingProfilesStatus.
Enum value maps for GetChargingProfilesStatus.
Enum value maps for GetLogConf_LogStatusEnumType.
Enum value maps for GetLogConf_LogStatusEnumType.
Enum value maps for GetLogReq_LogType.
Enum value maps for GetLogReq_LogType.
Enum value maps for GetVariablesResultStatus.
Enum value maps for GetVariablesResultStatus.
Enum value maps for IdTokenEnumType.
Enum value maps for IdTokenEnumType.
Enum value maps for IdType.
Enum value maps for IdType.
Enum value maps for InstallCertificateConf_Status.
Enum value maps for InstallCertificateConf_Status.
Enum value maps for LogStatusNotificationReq_UploadLogStatusEnumType.
Enum value maps for LogStatusNotificationReq_UploadLogStatusEnumType.
Enum value maps for MessageID.
Enum value maps for MessageID.
Enum value maps for ReservationStatusUpdate.
Enum value maps for ReservationStatusUpdate.
Enum value maps for ReserveNowConf_Status.
Enum value maps for ReserveNowConf_Status.
Enum value maps for SalesTariff_ConsumptionCost_Cost_Kind.
Enum value maps for SalesTariff_ConsumptionCost_Cost_Kind.
Enum value maps for SampledValue_Phase.
Enum value maps for SampledValue_Phase.
Enum value maps for SendLocalAuthorizationListConf_Status.
Enum value maps for SendLocalAuthorizationListConf_Status.
Enum value maps for SendLocalAuthorizationListReq_UpdateEnumType.
Enum value maps for SendLocalAuthorizationListReq_UpdateEnumType.
Enum value maps for SendQRCodeConf_Status.
Enum value maps for SendQRCodeConf_Status.
Enum value maps for ServiceMode.
Enum value maps for ServiceMode.
Enum value maps for SetVariablesResult.
Enum value maps for SetVariablesResult.
Enum value maps for SignCertificateConf_Status.
Enum value maps for SignCertificateConf_Status.
Enum value maps for StopReason.
Enum value maps for StopReason.
Enum value maps for TriggerMessageConf_Status.
Enum value maps for TriggerMessageConf_Status.
Enum value maps for UpdateFirmwareConf_Status.
Enum value maps for UpdateFirmwareConf_Status.
Enum value maps for VariableAttributeType_VariableAttributeTypeEnum.
Enum value maps for VariableAttributeType_VariableAttributeTypeEnum.
Enum value maps for WarningLevel.
Enum value maps for WarningLevel.

# Structs

*APDU消息报文定义.
AuthorizationData 授权信息.
*AuthorizeConf鉴权应答.
*AuthorizeReq鉴权请求.
*BMSChargedInfo 已废弃,慢慢的把字段移动到BMSChargingInfo,统一使用BMSChargingInfo充电完成信息定义.
*BMSChargingInfo充电中信息定义.
已废弃,慢慢的把字段移动到BMSChargingInfo,统一使用BMSChargingInfo.
已废弃,慢慢的把字段移动到BMSChargingInfo,统一使用BMSChargingInfo.
*BootNotificationConf启动通知应答消息定义.
*BootNotificationReq启动通知请求消息定义.
* CancelReservationConf 取消预约充电.响应.
* CancelReservationReq 取消预约充电.请求.
No description provided by the author
*Cell单体电池定义.
No description provided by the author
No description provided by the author
*ChangeConfigurationConf远程设置参数应答消息定义.
*ChangeConfigurationReq远程设置参数请求消息定义.
No description provided by the author
*ChargingInfoReq充电过程信息请求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*Cost计费模版相关,充电消费账单消息定义.
No description provided by the author
* DataTransferConf 数据传输,应答.
* DataTransferReq 数据传输,请求.
*注册应答.
*注册请求.
*DiagnosticsStatusNotificationReq诊断日志状态通知请求消息定义.
* FirmwareStatusNotificationConf 远程升级状态通知应答消息定义.
* FirmwareStatusNotificationReq 远程升级状态通知请求消息定义.
* GetBaseReportConf 获取基本报告.应答.
* GetBaseReportReq 获取基本报告.请求.
No description provided by the author
No description provided by the author
*GetConfigurationConf获取设备参数请求消息定义.
*GetConfigurationReq获取设备参数请求消息定义.
*GetDiagnosticsConf获取设备诊断日志应答消息定义.
*GetDiagnosticsReq获取设备诊断日志请求消息定义.
* GetLocalListVersionConf 获取本地授权列表版本.应答.
* GetLocalListVersionRequest 获取本地授权列表版本.请求.
* GetLogResp 获取日志.应答.
* GetLogReq 获取日志.请求.
No description provided by the author
No description provided by the author
No description provided by the author
*GetTransactionsConf获取离线订单应答.
*GetTransactionsReq获取离线订单请求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*GetWarningConf获取告警记录应答.
*GetWarningReq获取告警记录请求.
* HeartbeatReq 心跳回复.
* HeartbeatResp 心跳回复.
*用户身份鉴权信息.
No description provided by the author
No description provided by the author
IdTokenType 身份信息,OCPP以及新版本用.
No description provided by the author
No description provided by the author
No description provided by the author
*KeyValue“获取设备参数”,参数和参数值信息定义.
* LogStatusNotificationConf 日志状态通知.应答.
* LogStatusNotificationReq 日志状态通知.请求.
*MessageError错误消息定义.
No description provided by the author
* NotifyReportConf 上报回复.
* NotifyReportReq 报告上报.请求.
No description provided by the author
No description provided by the author
*RemoteControlConf远程控制应答消息定义.
*RemoteControlReq远程控制请求消息定义.
No description provided by the author
No description provided by the author
*RemoteStartTransactionConf远程启动充电应答消息定义.
*RemoteStartTransactionReq远程启动充电请求消息定义.
*RemoteStopTransactionConf远程停止充电应答消息定义.
*RemoteStopTransactionReq远程停止充电请求消息定义.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* ReserveNowConf 预约充电.响应.
* ReserveNowReq 预约充电.请求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SalesTariff_Entry
No description provided by the author
*SampledValue“系统信息遥测”,遥测量定义。.
* SendLocalAuthorizationListConf 发送本地授权.应答.
* SendLocalAuthorizationListReq 发送本地授权.请求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*SetTariffConf设置计费模版应答.
*SetTariffReq设置计费模版.
* SetVariablesConf 设置变量.应答.
* SetVariablesReq 设置变量.请求.
No description provided by the author
No description provided by the author
No description provided by the author
*StartTransactionConf充电开始通知应答消息定义.
*StartTransactionReq充电开始通知请求消息定义.
No description provided by the author
No description provided by the author
*StopTransactionConf充电结束通知应答消息定义.
*StopTransactionReq充电结束通知请求消息定义.
No description provided by the author
No description provided by the author
计费模版相关分时段按电价计费充电计费模版.
计费模版相关分时段计时停车费.
计费模版相关分功率段按时长充电计费模版.
*TelemetryReq数据收集.
No description provided by the author
*TransactionConf离线记录上送回复.
*Transaction“上报离线订单请求”消息上报充电记录定义.
No description provided by the author
*TriggerMessageReq触发消息重发请求.
* UpdateFirmwareConf 远程升级应答.
*UpdateFirmwareReq远程升级请求消息定义.
*UpdateIdCardCacheReq后台更新充电站用户卡信息.
No description provided by the author
No description provided by the author
* WarningConf.
* WarningReq 上报离线订单请求”消息上报充电记录定义.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

*授权启动充电方式.
*“鉴权应答”消息鉴权结果.
*电池类型定义,枚举类型.
*BMSChargingTypeBMS充电模式.
*BMS测量值状态.
*BMSTelesignallingStatus动力蓄电池绝缘状态.
No description provided by the author
*鉴权卡细分卡类型定义.
No description provided by the author
*ChargerStatus充电接口工作状态定义.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*Components告警和遥测信息,设备组件定义.
*ConfigurationStatus“远程设置参数应答”,设置状态定义.
No description provided by the author
*DiagnosticsStatus日志上传状态通知请求,日志上传进度状态.
*ErrorCode定义错误消息错误代码.
*FirmwareStatus固件升级状态通知请求,固件升级进度状态.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*身份类型.
No description provided by the author
No description provided by the author
*MessageID消息代码定义所有的消息(请求和应答)都定义了消息代码。请求消息的消息代码小于0x80;消息代码加上0x80就是对应消息的应答消息代码;错误应答消息代码为0xff。.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
*ServiceMode充电桩服务模式.
No description provided by the author
No description provided by the author
*StopReason“充电结束通知”请求消息充电停止原因定义.
No description provided by the author
No description provided by the author
No description provided by the author
*WarningLevelWarning类告警等级定义.