chargelink protocol
Decode, validate, inspect, and sequence protocol artifacts.
Reference syntax
usage: chargelink protocol [-h] {decode,validate,inspect,timeline} ...
positional arguments:
{decode,validate,inspect,timeline}
options:
-h, --help show this help message and exit
Subcommands
Subcommand |
Purpose |
|---|---|
|
Decode a message envelope or stored payload. |
|
Validate a protocol run or case directory. |
|
Inspect protocol-level artifacts. |
|
Render a timeline view for protocol messages. |
decode
Decode a message envelope or stored payload.
CLI help
usage: chargelink protocol decode [-h] [--codec CODEC] input
positional arguments:
input
options:
-h, --help show this help message and exit
--codec CODEC
Production examples
Decode a saved message envelope.
chargelink protocol decode 'examples/session_setup_req.json' --codec 'deterministic'
Decode the same envelope through the default codec.
chargelink protocol decode 'examples/session_setup_req.json'
validate
Validate a protocol run or case directory.
CLI help
usage: chargelink protocol validate [-h] [--codec CODEC] [--protocol PROTOCOL]
path
positional arguments:
path
options:
-h, --help show this help message and exit
--codec CODEC
--protocol PROTOCOL
Production examples
Validate an interoperability case.
chargelink protocol validate 'artifacts/evcc_campaign_runs/cl_int_iso20_ac_negative_realistic/case_1'
Validate a conformance case.
chargelink protocol validate 'artifacts/evcc_campaign_runs/cl_conf_iso2_dc_pnc_seed/case_1'
inspect
Inspect protocol-level artifacts.
CLI help
usage: chargelink protocol inspect [-h] [--codec CODEC] [--output OUTPUT]
input
positional arguments:
input
options:
-h, --help show this help message and exit
--codec CODEC
--output OUTPUT
Production examples
Inspect a representative target.
chargelink protocol inspect 'artifacts/evcc_campaign_runs/cl_int_iso20_ac_negative_realistic/case_1'
Inspect a second target.
chargelink protocol inspect 'artifacts/evcc_campaign_runs/cl_conf_iso2_dc_pnc_seed/case_1'
timeline
Render a timeline view for protocol messages.
CLI help
usage: chargelink protocol timeline [-h] [--limit LIMIT] path
positional arguments:
path
options:
-h, --help show this help message and exit
--limit LIMIT
Production examples
Render a short timeline for the latest interoperability case.
chargelink protocol timeline 'artifacts/evcc_campaign_runs/cl_int_iso20_ac_negative_realistic/case_1' --limit 20
Render a short timeline for the conformance case.
chargelink protocol timeline 'artifacts/evcc_campaign_runs/cl_conf_iso2_dc_pnc_seed/case_1' --limit 20