Install and Activate
ChargeLink is installed with ChargeLinkSetup-<VERSION>.exe, for example ChargeLinkSetup-0.6.0.exe. The setup is signed by DEVlink AB. It installs one ChargeLink version for all users of the PC, in its own folder, side by side with any other installed version.
Prerequisites
- Windows 10 or Windows 11, 64-bit, and an account with administrator rights for the setup. Running ChargeLink afterwards needs no administrator rights.
- IPv6 enabled on the network adapter that connects the ChargeLink PC to your DUT for ISO 15118 / DIN 70121 traffic. ChargeLink uses link-local IPv6 (
fe80::/10); no IPv6 router is required. A powerline (PLC) link with SLAC needs DEVlink PLC hardware, which is not yet available; see Charging over Powerline (PLC) with SLAC. Without it, ChargeLink runs over Ethernet and link-local IPv6. - A ChargeLink licence from DEVlink, bound to the machine ID of this PC (see Activate the licence).
The setup checks the following software but never installs or downloads it. Install what your use needs before or after the setup:
| Software | Needed for |
|---|---|
| Microsoft Visual C++ 2015-2022 Redistributable (x64) | Every ChargeLink PC. chargelink.exe does not start without it; the setup then installs ChargeLink but leaves the licence step for later. |
| .NET 10 runtime (x64) | The charger side of the NI VeriStand bench. |
| NI VeriStand 2024, licensed | The NI VeriStand bench only (not checked for the Vehicle role). See Set Up the VeriStand Bench. |
| CAN adapter driver (CANlib) | CHAdeMO on a physical CAN bus only. |
Run the setup
Check the signature, then start the setup:
Get-AuthenticodeSignature 'C:\Downloads\ChargeLinkSetup-<VERSION>.exe' | Format-List Status, SignerCertificate
& 'C:\Downloads\ChargeLinkSetup-<VERSION>.exe'
Expected: Status is Valid and the signer is DEVlink AB. The setup pages are: Welcome, Licence terms, Options, Prerequisites, Ready to install, Licence and a final summary.
Role of this PC
The same setup serves every PC of a bench. Choose the role on the Options page:
| Role | Installs | Use it for |
|---|---|---|
| Single PC | Everything: the common files, charger\ and vehicle\ | One ChargeLink PC that plays either role against your DUT, and the self-test on one PC |
| Charger | The common files and charger\ (the NI VeriStand side) | The charger PC of the NI VeriStand bench |
| Vehicle | The common files and vehicle\ | The vehicle PC of a two-PC bench |
The chargelink.exe in charger\bin\ and the one in vehicle\ are the same program; either runs either role.
Options
- Make this the default ChargeLink. Puts this version's
chargelink.exefolder on the system PATH and makes it the version that ChargeLink Admin uses. One version is the default at a time; choosing it for a new version moves the default from the old one. - Start menu shortcuts. A Start menu folder
DEVlink ChargeLink <VERSION>withChargeLink <VERSION> shell(PowerShell with this version on PATH, started in the data folder),ChargeLink licence status,Verify ChargeLink <VERSION>andChargeLink <VERSION> documentation. - Windows Firewall rules. Inbound rules for this version's
chargelink.exe, link-local only (see Windows Firewall). Off by default.
The setup installs no service, starts nothing with Windows, adds no scheduled task and installs no driver. No restart is needed. Running the setup of an installed version again repairs it with the options you choose; it refuses while a ChargeLink program of that version is running.
What goes where
| Folder | Contents | On uninstall |
|---|---|---|
C:\Program Files\DEVlink\ChargeLink\<VERSION>\ | The program files of one version: charger\ and/or vehicle\, docs\, manifest\ (SHA256SUMS and the release records), licenses\ (third-party notices and the SBOM) and ChargeLinkUninstall.exe. Read-only for operators. | Removed |
%ProgramData%\DEVlink\ChargeLink\licenses\ | The installed licences (.dlic). | Kept |
%ProgramData%\DEVlink\ChargeLink\data\ | Runtime state and run evidence, the bench configuration and the bench run folders. The Start menu shell starts here. | Kept |
%ProgramData%\DEVlink\ChargeLink\tls\ | TLS material used by the kit's bench scripts. | Kept |
The setup creates %ProgramData%\DEVlink\ChargeLink and lets the users of the PC add and remove licences and data there. Uninstall never removes it, so licences, evidence and TLS material survive an uninstall and an upgrade.
The examples in this manual use two PowerShell variables:
$CL = 'C:\Program Files\DEVlink\ChargeLink\<VERSION>\charger\bin\chargelink.exe'
$Data = "$env:ProgramData\DEVlink\ChargeLink\data"
On a PC installed with the Vehicle role, set $CL to C:\Program Files\DEVlink\ChargeLink\<VERSION>\vehicle\chargelink.exe. The examples call chargelink from PATH (the default version) and use $CL where a full path is needed, for example for a firewall rule or a file hash. They pass --runtime-root "$Data\runtime" and --artifact-root "$Data\artifacts", the same roots the kit's scripts use. Without these options ChargeLink uses .chargelink\runtime and .chargelink\artifacts under the current folder. Persist the two variables in your PowerShell profile (notepad $PROFILE) so that every new window has them.
Windows Firewall
With the firewall option, the setup adds inbound rules for each installed chargelink.exe of this version, for link-local peers only (fe80::/10, all network profiles):
| Port | Transport | Purpose |
|---|---|---|
| 15118 | UDP / IPv6 | SECC Discovery Protocol (SDP), charger role |
| 50118 and 49152–65535 | TCP / IPv6 | V2GTP session, plain or TLS, charger role. --tcp-port 0 allocates from the dynamic range. |
The rules are named ChargeLink <VERSION> Setup - ... and are removed when that version is uninstalled. The setup never changes rules of other tools. Without the option, add equivalent rules yourself before the charger role runs for the first time:
New-NetFirewallRule -DisplayName 'ChargeLink EVSE SDP UDP 15118' -Direction Inbound -Action Allow `
-Protocol UDP -LocalPort 15118 -RemoteAddress 'fe80::/10' -Program $CL
New-NetFirewallRule -DisplayName 'ChargeLink EVSE TCP' -Direction Inbound -Action Allow `
-Protocol TCP -LocalPort 50118,49152-65535 -RemoteAddress 'fe80::/10' -Program $CL
Other ports:
| Port | Transport | Direction | Purpose |
|---|---|---|---|
15118 to ff02::1, 49152–65535 | UDP, TCP / IPv6 | Outbound (vehicle role) | SDP multicast request and V2GTP connection |
| 50119 | TCP / IPv6 | Inbound (MCS charger role) | See MCS; not covered by the setup's rules. |
| 50051 | TCP / IPv4 loopback | Local only | gRPC Integration API. Keep it on 127.0.0.1; add no rule. |
The gRPC server listens on loopback only (a non-loopback --listen is refused) and has no TLS transport; every call needs its per-start access token. For the NI VeriStand bench, use the rules in Set Up the VeriStand Bench (names prefixed DEVlink ChargeLink).
Quiet install
For automated installation, run the setup from an elevated prompt:
ChargeLinkSetup-<VERSION>.exe /quiet [/role=single|charger|vehicle] [/default=0|1] [/startmenu=0|1] [/firewall=0|1]
[/license=<FILE>.dlic] [/request=<FILE>.json] [/log=<FILE>]
| Option | Default | Effect |
|---|---|---|
/role | single (on a repair: the installed role) | Role of this PC |
/default | 1 | Make this version the default ChargeLink |
/startmenu | 1 | Start menu folder and shortcuts |
/firewall | 0 (on a repair: as installed) | The setup's firewall rules |
/license | none | Install this licence file after the installation |
/request | none | Write an activation request to this file after the installation |
/log | %TEMP%\ChargeLinkSetup.log | Setup log |
Exit codes: 0 success, 1602 cancelled, 1603 failure. Missing prerequisites are written to the log and do not fail the installation; /license and /request fail it when the Visual C++ runtime is missing.
Verify the installation
Open the Start menu shortcut ChargeLink <VERSION> shell, or a new PowerShell window if this version is the default:
chargelink --version
chargelink --runtime-root "$Data\runtime" --artifact-root "$Data\artifacts" --json env doctor
chargelink --runtime-root "$Data\runtime" --artifact-root "$Data\artifacts" --json env doctor --strict
Expected: chargelink 0.6.0. The doctor checks that the runtime root and the artifact root are writable and checks the installation; a result of "status": "ok" with its license check skipped is normal. The licence itself is shown by license status. If the version differs from this manual, read the Release and Version Matrix before continuing.
To check every installed file against manifest\SHA256SUMS, run the Start menu shortcut Verify ChargeLink <VERSION>. Keep the setup file and its SHA-256 with your installation record.
Activate the licence
A ChargeLink licence is a .dlic file issued by DEVlink for the machine ID of one PC.
- Get the machine ID. The setup's Licence page shows it; on the command line:
Or write an activation request file, which carries the machine ID, and send it to DEVlink:chargelink license machine-idchargelink license request --out request.json - DEVlink sends you a
.dlicfile. Install it on the setup's Licence page, or on the command line:chargelink license install <FILE>.dlic - Check the result:
Expected:chargelink license statusDEVlink licence status: LIC_OK, the machine ID, the licence home%ProgramData%\DEVlink\ChargeLink\licenses, each installed licence with its state, and the edition and packages it grants.
license install verifies the file before it installs it. Without a usable licence, a licensed command stops with exit code 20 and CL-LICENSE-001. The free and licensed commands are listed in Licensing.
Record the installation
$Rec = "$Data\support\install-$(Get-Date -Format yyyyMMdd-HHmmss)"
New-Item -ItemType Directory -Force $Rec | Out-Null
chargelink --version | Out-File -Encoding utf8 "$Rec\version.txt"
chargelink --runtime-root "$Data\runtime" --artifact-root "$Data\artifacts" --json env doctor | Out-File -Encoding utf8 "$Rec\doctor.json"
chargelink --json license status | Out-File -Encoding utf8 "$Rec\license-status.json"
Get-FileHash $CL -Algorithm SHA256 | Out-File -Encoding utf8 "$Rec\binary-hash.txt"
Continue with First Session with Your Device Under Test.
Upgrade
- Stop all sessions:
chargelink --json evse stop,chargelink --json evcc stop, close anyintegration servewindow, thenchargelink --json runtime listmust show no live session. - Run the setup of the new version. It installs beside the old version; choose whether the new version becomes the default.
- Run
--version,license status,env doctor --strictandprofile listwith the new version. - Repeat your golden reference runs before you reconnect your DUT or a physical bench.
- Uninstall the old version when you no longer need it for a rollback.
Licences and data stay in %ProgramData%\DEVlink\ChargeLink, so the new version uses them at once. A version released after the maintenance period of your licence ended reports LIC_MAINTENANCE_EXPIRED; renew maintenance, or keep using the earlier version.
Uninstall
- Stop sessions as above.
- Remove the version in Windows Settings > Apps, or run
ChargeLinkUninstall.exein the version folder (ChargeLinkUninstall.exe /uninstall [/quiet]).
Uninstall removes the program files of that version, its Start menu folder, its firewall rules and, if it was the default, its PATH entry. Other versions are not affected. Licences and data in %ProgramData%\DEVlink\ChargeLink are kept; archive or delete them according to your evidence retention policy. To take a licence out of use on this PC, run chargelink license remove <LICENSE_ID>; the file is moved to removed\ in the licence home, never deleted.
Installing without the setup (ZIP kit)
If DEVlink supplied the ZIP kit ChargeLink-<VERSION>-bench-kit-win64.zip for integration and automation, it holds the same files as the setup. Extract it to a local folder without spaces and check every file against manifest\SHA256SUMS:
Expand-Archive 'C:\Downloads\ChargeLink-<VERSION>-bench-kit-win64.zip' -DestinationPath 'C:\ChargeLinkKit\<VERSION>' -Force
cd C:\ChargeLinkKit\<VERSION>
Get-Content .\manifest\SHA256SUMS | ForEach-Object {
$hash, $path = $_ -split ' ', 2
if ((Get-FileHash -LiteralPath $path -Algorithm SHA256).Hash -ne $hash.ToUpperInvariant()) { throw "Changed: $path" }
}
'all files verified'
An extracted kit runs from its own folder. Compared with the setup:
- no Start menu folder, no PATH entry and no default version: call
chargelink.exeby its full path; - no firewall rules: add them yourself as shown in Windows Firewall;
- no registry entries and no entry in Windows Settings > Apps: delete the folder to remove the kit;
- the kit's scripts keep their TLS material in
tls\in the kit, the bench configuration next to the charger scripts and the bench run folders inruns\next tocharger\; - the prerequisites are not checked: install them as listed above.
The licence works the same way: license install puts it in %ProgramData%\DEVlink\ChargeLink\licenses.

