Release Notes
These notes describe what ChargeLink 0.6.0 adds and what it carries forward from 0.5.0. Requirement numbers in brackets refer to ISO 15118-20 (V2G20-...), ISO 15118-2 (V2G2-...) and DIN 70121 (V2G-DC-...). The version identities of the release are in the Release and Version Matrix.
What is new in ChargeLink 0.6.0
Corrections
- Corrected: in ISO 15118-20 DC, an EV that asks for more current than the charger's maximum (EVTargetCurrent above EVSEMaximumChargeCurrent) is now charged at the charger's maximum, and DC_ChargeLoopRes reports EVSECurrentLimitAchieved ([V2G20-2187], [V2G20-2188]). A target above the EV's own declared maximum is still answered FAILED ([V2G20-458]).
- Corrected: 0.5.0's changelog said CHAdeMO runs need a ChargeLink source tree and read the CHAdeMO profile through
--source-root. They don't:chargelink dc-can chademo run,dc-can chademo evseanddc-can chademo evhave the CHAdeMO cases built intochargelink.exe. A CHAdeMO run needs the host licence, but no source tree and no profile file. - Corrected: 0.5.0's INSTALL-VEHICLE.md said the vehicle PC's three TLS files are in the
vehiclefolder thattls-material-init --bench-pkiwrites. They are in itspc2subfolder, as INSTALL-CHARGER.md (section 3 A) says. - Corrected: in an MCS run, the charger's CE record (
traces/iso20-mcs-ce-secc.jsonl) could list the first SDP answer up to one 10 ms reading before the D-LINK_READY it rests on, right after the plug was mated. ChargeLink's MCS late-mating test case then failed although the charger had answered on CE B with the plug mated and the link up. The record now always lists D-LINK_READY first. The charging session itself was not affected.
ISO 15118 over powerline (PLC)
- Added: ChargeLink runs complete charging sessions as the charger over real PLC hardware (HomePlug Green PHY, SLAC, control pilot) against an independent open-source EV stack, for DIN 70121, ISO 15118-2 DC/AC and ISO 15118-20 DC/AC with TLS 1.3. This needs DEVlink PLC hardware, which is not yet available; contact DEVlink for availability. The limits are on the <a href="plc-hardware.html#limits">PLC page</a>. The commands are
chargelink plc check,chargelink plc slacandchargelink plc selfcheck, and the vehicle commands'--plc-relayoption.
VeriStand kit
- Added: a DC operator screen. A project can hold one screen per stack next to
ChargeLink_Operator.nivsscr:ChargeLink_Operator_DC.nivsscrandChargeLink_Operator_MCS.nivsscr.Start-ChargeLinkVeriStand.ps1then copies the stack's screen overChargeLink_Operator.nivsscrbefore the session (-Stack Dc, the default, the DC screen;-Stack Mcsthe MCS screen). A project without them opens its screen as before. The copy replaces changes saved inChargeLink_Operator.nivsscr; keep a screen of your own under another file name.-ValidateOnlynames the screen the session would open and does not copy it. The DC screen has no MCS page, has latching E-stop and Reset plant buttons on the Operate page, and shows Last error as display-only fields. - Changed:
Test-ChargeLinkOperatorScreen.ps1asks for the plug control (Connection.McsMated) only on a screen that binds an MCS Connection channel; on a DC screen it notes that the plug is not required.
ISO 15118-20 TLS
- New: Ed448 in both roles, beside ECDSA on secp521r1: the TLS 1.3 CertificateVerify and certificate chains with Ed448 keys and signatures ([V2G20-2319], [V2G20-1666] to [V2G20-1671], [V2G20-2324], [V2G20-2325]). It is verified with ChargeLink's own Ed448 test certificates only; the kit documentation states the limits.
- Changed: with the
x448setting, ed448 also comes first among the signature schemes. The installed certificate chains are not changed by the setting.
Conformance runs
- New:
chargelink conformance run --peer dut --dut-interface <index>runs the selected test cases against your device under test, reached on that network interface. ChargeLink plays the opposite role and judges what it sees on the wire. A run against a device is a test run, not qualification evidence. - New:
conformance run --declaration <FILE>reads your device's PICS/PIXIT declaration. A test case applies when the device declares the PICS values the case needs: a case the declaration excludes is reported as not applicable, and a case whose PICS item is not declared is not run. - New: a conformance run writes a customer report in JSON, Markdown and HTML, with each case's verdict, its source standard and its requirement numbers. Host names and file paths are removed from the report.
Simulated plant
- New:
chargelink plant serve --model dc|ac --stack <stack> --listen [::1]:<port> --evidence-dir <folder>runs a simulated charging plant (signal store, plant model and safety owner) for a ChargeLink charger on the same PC: the DC model for ISO 15118-20 DC (iso20_dc), ISO 15118-2 DC (iso2_dc) and DIN 70121 (din_70121), the AC model for ISO 15118-20 AC (iso20_ac) and ISO 15118-2 AC (iso2_ac). It writesplant-connection.jsonin the evidence folder and prints the charger's command line; the charger couples to it withevse start --plant-connection <file>. The evidence folder must be new or empty, andplant serveends by itself after 240 minutes (--max-runtime-min). - New:
chargelink plant fault <kind> --plant <folder>\plant-connection.jsonlatches an operator fault untilchargelink plant clear --plant <folder>\plant-connection.json: on the DC model e-stop, isolation, contactor and comms-loss; on the AC model e-stop, comms-loss, rcd, contactor-fail-to-close, contactor-weld and pilot-e.plant status --plant <file>shows the plant and the safety owner, andplant stop --plant <file>(or Ctrl+C in theplant servewindow) ends it and writes its summary.
Every protocol stack
- Fixed:
evse start --tcp-port 0no longer fails when Windows has reserved a range of ports (for example for Hyper-V). The charger tries port candidates spread over the whole range instead of consecutive ones. - Fixed: on Windows the charger (DIN 70121, ISO 15118-2 and ISO 15118-20) no longer stops when an SDP answer reaches an EV port that is already closed. The SDP socket's next receive reported ConnectionReset (os error 10054) and the charger ended with exit 40, so an EV that repeats SDP and closes its socket after the first answer took the charger's SDP server down. The charger now goes on to the next SDP request; any other receive error still ends it.
ISO 15118-20 DC and AC
- Changed: the charger records an EV request whose header TimeStamp does not advance and answers it, instead of refusing it with FAILED_SequenceError ([V2G20-1534] to [V2G20-1538] apply to the sender). An EV that does not apply its offset to the charger's time is no longer refused at its second message. This holds for the DC and the AC charger.
- Fixed: the charger answers an EV that selects a value-added service (VAS) with FAILED_ServiceSelectionInvalid, since ChargeLink offers none ([V2G20-467]). Up to 0.5.0 the selection was not read and was answered OK.
ISO 15118-20 AC
- New: bidirectional power transfer (AC_BPT, ServiceID 5) on the charger side and the EV side, with BPTChannel Unified and GeneratorMode GridFollowing. The kit documentation says what is shown and what is not.
ISO 15118-2 DC and AC
- New:
chargelink iso2-evccandchargelink iso2-ac-evcctake--ev-data <file>, a ChargeLink EV profile (chargelink.ev_profile.v1), for the EV's limits and needs: on DC the voltage, current and power limits, targets, battery capacity and state of charge, full and bulk SOC, energy request and departure time; on AC the phases, current and voltage per phase, the onboard charger's power as the EV's charging profile, the energy request and departure time. The profile is first checked aschargelink ev-profile validatechecks it; a profile it refuses (an unknown key, a value out of range, inconsistent values) ends the command with exit code 30. The vehicle needs an inlet the stack can use and ISO 15118-2 among its protocols. A value ISO 15118-2 cannot carry is refused, never rounded or clamped. The run report names the profile, the SHA-256 of its file, the profile values the stack did not use and the values it derived. Without--ev-datanothing changes. - Fixed (DC): with a measured cable check (a real plant or a hardware-in-the-loop rig), the charger reports the measured isolation status in CableCheckRes: a finished check with an insulation warning is answered Warning, and a failed isolation check is answered FAILED with the isolation status Fault and EVSE_Malfunction ([V2G2-365], [V2G2-366]). Up to 0.5.0 a warning was reported as Valid, and a failed check was answered with EVSE_NotReady and no isolation status. The simulated cable check is unchanged.
- Fixed: after a good ISO 15118-2 DC or AC session, summary.json reports "status": "passed". Up to 0.5.0 it could report "attention_required" because its own sequence check compared message names case-sensitively and, for AC over TLS, required a CA file. ISO 15118-2 TLS authenticates only the charger, so the charger needs its certificate chain and key, and a CA file only when it asks for client certificates. The charging session itself was not affected.
- Fixed (DC): a PowerDeliveryReq Start that the charger cannot apply, after a stop or a fault at the charger, is answered FAILED_PowerDeliveryNotApplied ([V2G2-480]). A contactor that does not close is still answered FAILED_ContactorError.
- Changed (DC): while it waits for the customer, the charger answers AuthorizationReq with EVSEProcessing Ongoing_WaitingForCustomerInteraction ([V2G2-854]), as the AC charger does.
DIN 70121
- New:
din-evcc --start-soc,--battery-capacity-whand--target-soc. With a battery capacity, the EV's state of charge rises with the energy the charger reports, and at the target the EV stops charging as a planned stop. Without a capacity the state of charge stays at the start value, as before. - New:
din-evcc --trace-payloadswrites each message's payload and decoded content to traces/engineering-payload-trace.jsonl, for diagnosis. The run's evidence files stay without payloads. - New:
din-evcc --ev-data <file>reads the vehicle from a ChargeLink EV profile (JSON, schemachargelink.ev_profile.v1): the EV's maximum and target voltage and current, maximum power, pre-charge current and tolerance, energy transfer type, welding detection, usable battery capacity, start and target state of charge, and EVCCID. A value DIN 70121 cannot carry, a target above a maximum, target voltage times target current above the maximum power, or a vehicle without DIN 70121 or without a CCS inlet is refused, never clamped. The vehicle options (--max-voltage-v,--target-current-a,--start-socand the others) cannot be combined with it; the test options stay. The run report records the file, its SHA-256 and which profile fields were read, derived, defaulted or ignored.
CHAdeMO
- Changed: the plain (non-
--json) output ofdc-can chademo run,dc-can chademo evseanddc-can chademo evnames the charger and the vehicle side only.runends withCHAdeMO run: passed (<folder>)orCHAdeMO run: not passed (<folder>); the charger's and the vehicle's last line readsCHAdeMO charger: passed, <n> session(s) passed (<folder>)orCHAdeMO vehicle: finished, <n> session(s) (<folder>), the dry runs printCHAdeMO charger dry run validated (<run id>)andCHAdeMO vehicle dry run validated (<run id>), and each charger cycle printswaiting for the vehicle to take the session. The JSON output and the evidence folder names are unchanged, so scripts that read--jsonneed no change. - New:
chargelink dc-can chademo decode-tableprints the CHAdeMO decode table: every field of every message ChargeLink sends or reads, with its bytes, unit, scale and range. With--jsonit is written for tools. - Changed: when a CAN adapter fails, the stop cause names the adapter and its serial number, and each error in the run's record carries its UTC time. Before, the record said only that no frame had arrived.
- New:
dc-can chademo evse,dc-can chademo evanddc-can chademo kvaser-checkread the CAN adapter's bit timing back after bus-on and refuse a session (kvaser-check: report a problem) when it differs from the timing asked for, or cannot be read. The message names the fields that differ. The channel record (kvaser-wire.json) now holds the requested timing and any read error next to the read-back.
MCS and the integration API
- New: the MCS charger (SECC) ends the session with an error shutdown when no SessionStopReq arrives within 20 s after its PowerDeliveryRes to Stop (IEC 61851-23-3 CC.213, t104 to t107). Welding detection requests in between do not extend the 20 s. Before, only the 60 s sequence timeout applied.
- Added: the signal dictionary is 1.6.0, additive: two optional MCS plant inputs,
Connection.McsCeSupply(the CE supply: 1 present, 0 lost) andConnection.McsLinkAvailable(the 10BASE-T1S data link: 1 usable, 0 lost). A plant that never publishes them runs as before; once published, 0 or a value older than 500 ms is a fault. No profile, VeriStand project or FMU change is needed.
EV profiles
- New:
chargelink ev-profilefor the ChargeLink EV-profile formatchargelink.ev_profile.v1(one JSON file per vehicle, SI units in the field names, a recorded source for every value).validatechecks EV profile files,list --stack <id> [--product <p>]lists the profiles a charging stack offers,check --stack chademochecks a profile against the CHAdeMO wire limits, andschemaprints the JSON Schema. Profiles are refused, never clamped: unknown keys, out-of-range values and values without a source are errors. Engineering data for simulation, not conformance evidence.
What ChargeLink 0.5.0 delivered
The sections below describe the capabilities that ChargeLink 0.6.0 carries forward from 0.5.0.
Installation and licensing
- Licences are enforced. ChargeLink's sessions, simulations, conformance runs and servers need a valid DEVlink licence (
.dlic) on the computer. Without one they stop before they start, with exit code 20 (CL-LICENSE-001) and a message that gives the reason. See Licensing. - Licences signed with DEVlink's production key are accepted.
chargelink license status --jsonalso reports the licences of other DEVlink products found on the computer.chargelink license installkeeps the earlier licence in place when the new one is revoked or blocked by the clock check. See Activate the licence.- The setup shows the licence terms. Its charger and vehicle roles install
charger\andvehicle\, and its firewall rules name the side as (charger) or (vehicle). See Install and Activate and Windows Firewall.
Names in the kit and the command line
- Kit folders named for their side. The kit's two folders are
charger\(waspc1\) andvehicle\(waspc2\), and the installation guides aredocs/INSTALL-CHARGER.mdanddocs/INSTALL-VEHICLE.md. The files and scripts inside, their names and their parameters are unchanged; a script that passes-Pc1Rootto the kit's module keeps working. An installation of an earlier version keeps its own layout. - CHAdeMO session command.
chargelink dc-can chademo runruns the CHAdeMO charger and vehicle cases. It runs from the installed ChargeLink alone, with the CHAdeMO cases built in; no profile file is needed. It needs a ChargeLink licence. The earlier command name is still accepted. See IEC 61851-23/-24 System A (CHAdeMO). - Help texts. The
--helptexts name the charger side and the vehicle side. Internal CHAdeMO test runners are no longer shown in--help. - Profile ids.
profile listand the gRPC ListProfiles no longer list some earlier reference profile ids;--profile-idand ResolveProfile still accept them. The built-in ISO 15118-20 AC charger profile is listed asiso15118_20_ac_eim, and the DIN 70121 charger profile asdin70121_dc. See the Profile Catalog.
Every ISO 15118 and DIN 70121 stack
- SupportedAppProtocol accepts up to 20 AppProtocol entries, the schema's maximum, on DIN 70121, ISO 15118-2 and ISO 15118-20 ([V2G-DC-867], [V2G2-167], [V2G20-167]). The selection follows the EV's priority; 21 or more entries are refused, never cut.
evse startwith a non-loopback bind address refuses to start when its SDP answer would advertise an address the EV cannot reach (exit code 40,CL-RUNTIME-001); the message names--advertise-ipv6. See ChargeLink as Charger.
ISO 15118-20 DC
See ISO 15118-20.
- The EV side (EVCC) ends the communication at its own V2G_EVCC_Msg_Timeout when the charger withholds a response, over TLS and plain TCP ([V2G20-434] to [V2G20-438], [V2G20-1966]).
- The charger side (SECC) and the EV side ignore an invalid V2GTP header ([V2G20-800]).
- The EV's welding-detection model follows [V2G20-1573].
- A SessionStopReq between SessionSetup and PowerDelivery(Start) is answered OK, with the plant off and a safe current before the answer, and TCP is kept open for 5 s ([V2G20-2645], [V2G20-1632], [V2G20-1633]).
- With a measured cable check (a real plant or a hardware-in-the-loop rig), a failed insulation test is answered FAILED ([V2G20-458], [V2G20-2222]). A contactor still open at the PowerDelivery(Start) bound is answered FAILED_ContactorError ([V2G20-862]).
ISO 15118-20 AC
See ISO 15118-20.
- The EV side (EVCC) states whether it accepts a power tolerance when the schedule it picked carries one ([V2G20-1866]), so a charger that offers a tolerance accepts the start.
- The EV side (EVCC) continues when a charger sends per-phase (
_L2/_L3) values the EV did not ask for ([V2G20-1209]): it uses the base values and records the charger's deviation ([V2G20-734]). - The charger side (SECC) answers a confirmed power tolerance with OK_PowerToleranceConfirmed ([V2G20-1944]), as the DC SECC does.
- A SessionStopReq between SessionSetup and PowerDelivery(Start) is answered OK ([V2G20-2645]).
- An AuthorizationReq that selects a service the charger did not offer gets WARNING_AuthorizationSelectionInvalid, with a reselection ([V2G20-2209]).
MCS (Megawatt Charging System)
- MCS sessions run as ISO 15118-20 DC with the MCS service (ServiceID 8, TLS only), in the Scheduled control mode, on both roles, with the MCS limits and the connector (CE and ID) gates from ChargeLink's simulated coupler model. See MCS.
ISO 15118-2
The changes for every ISO 15118 and DIN 70121 stack (above) apply: up to 20 SupportedAppProtocol entries, and the SDP address check at evse start. See ISO 15118-2.
DIN 70121
The changes for every ISO 15118 and DIN 70121 stack (above) apply. The DIN 70121 charger profile is listed as din70121_dc. See DIN 70121.
IEC 61851-23/-24 System A (CHAdeMO)
chargelink dc-can chademo runruns the CHAdeMO charger and vehicle cases, built in (see Names in the kit and the command line). See CHAdeMO.
NI VeriStand bench
- The bench kit's folders are
charger\andvehicle\, installed bydocs/INSTALL-CHARGER.mdanddocs/INSTALL-VEHICLE.md. See NI VeriStand Bench and Set Up the VeriStand Bench. - The kit is signed by DEVlink AB, and
manifest\SHA256SUMSin the kit lists the SHA-256 of every file. - With the bench's measured cable check, a failed insulation test is answered FAILED, and a contactor still open at the PowerDelivery(Start) bound is answered FAILED_ContactorError (ISO 15118-20 DC, above).
Evidence and automation
- The V2GTP header of every charger-side ISO 15118-20 frame and of each SDP exchange is recorded in the evidence ([V2G20-2307]). This is evidence only; the protocol behaviour is unchanged. See Trace, Evidence and Reports.
- The gRPC ListProfiles no longer lists some earlier reference profile ids; ResolveProfile still accepts them. See gRPC Integration API.

