canair wican
usage: canair wican [-h] <command> ...
[UDS] Build and sync the WiCAN device's AutoPID profile.
Nothing is written until you ask for it — a bare `canair wican` prints this help. Choose a subcommand:
autopid write generate AutoPID JSON to the bundle's out/
autopid upload generate + upload to the device (Pro)
autopid download download the device's current AutoPID JSON (Pro)
autopid diff download + diff against the generated JSON (Pro)
autopid stats per-ECU/PID statistics table
mode show show the device's active protocol
mode set MODE switch the device protocol/mode, reboot + align transport (Pro)
positional arguments:
<command>
autopid Generate/sync the WiCAN AutoPID profile JSON
mode Show or set the WiCAN device protocol/mode
options:
-h, --help show this help message and exit
Build and sync the WiCAN device's AutoPID vehicle profile.
`canair wican` groups two families of device operations. Nothing is written
until you ask for it — a bare `canair wican` just prints this help.
Terminology (deliberately disambiguated):
* the canair *profile bundle* — the `profiles/<name>/` directory (ecus/,
profile.yaml, captures/, …) managed by `canair profile`; and
* the WiCAN *AutoPID profile* — the JSON generated from that bundle's
ecus/ and stored on the device's AutoPID feature, managed here.
Subcommands:
autopid write Generate AutoPID JSON to the bundle's out/
autopid upload Generate + upload to the device (Pro only)
autopid download Download the device's current AutoPID JSON (Pro)
autopid diff Download + diff against the generated JSON (Pro)
autopid stats Per-ECU/PID statistics table
mode show Show the device's active protocol
mode set MODE Switch the device protocol/mode + align transport (Pro)
Examples:
canair wican autopid write # verified-only out/autopid.json
canair wican autopid write --include-unverified # also include unverified params
canair wican autopid upload --reboot # upload + reboot to apply
canair wican autopid diff --wican home # compare device vs generated
canair wican mode set slcan # raw CAN + set transport slcan-tcp
canair wican autopid
usage: canair wican autopid [-h] <action> ...
Build the WiCAN AutoPID profile from the active bundle's ecus/ and (optionally) sync it with the device.
positional arguments:
<action>
write Generate the AutoPID JSON to the bundle's out/autopid.json
upload Generate + upload the AutoPID profile to the device (Pro)
download Download the device's current AutoPID profile (Pro)
diff Download + diff the device profile against the generated one
(Pro)
stats Show a per-ECU/PID statistics table
options:
-h, --help show this help message and exit
canair wican mode
usage: canair wican mode [-h] <action> ...
Inspect or switch the WiCAN device's operating protocol (elm327/slcan/auto_pid/…). This is the device's own mode, distinct from the AutoPID profile.
positional arguments:
<action>
show Show the device's active protocol
set Switch the device protocol/mode and reboot (Pro)
options:
-h, --help show this help message and exit