Changelog¶
All notable changes to CANExplorer are documented in this file. The format follows Keep a Changelog.
CANExplorer follows semantic versioning from 1.0.0 on. Between 0.0.1 and 1.0.0, the
development stages are listed by date and commit, newest first.
Unreleased¶
[1.11.1] – 2026-12-01¶
Added¶
- Reverse-engineering agent skill: a Claude Code plugin (
plugins/canexplorer, installable with/plugin marketplace add AKJ7/CANExplorer) with thecan-reverse-engineeringskill. The skill walks an agent through the read-only MCP tools: survey the bus, find the fields, work out what they mean from marked actions or a reference, confirm the layout, and save a DBC that records the evidence for each signal. A test checks that the skill only names tools the server has. - Compact trace storage (experimental, off by default; Preferences → Trace storage: compact): the frames in
memory are kept as numpy columns (
core/trace_columns.py,ColumnarTraceStore) instead of one object per frame. A frame takes about 40 bytes instead of about 320, Python's full garbage collections no longer walk the trace (on Python 3.14, where they cannot be deferred, the longest pause while receiving drops from 20–70 ms to under 4 ms and SocketCAN at 20 000 frames/s loses 0.02–0.04 % instead of 0.3–0.9 %), and filtering the trace by identifier and frame type runs vectorised, also over the history on disk: 0.4 ms instead of 138 ms for 100 000 frames.BusSession(columnar_trace=True)selects it in scripts. tools/benchmark.pycompares both trace stores;tools/benchmark_socketcan.pyhas--store columnsand--no-gc-control, and runs without root in a private network namespace.canexplorer --check-interfacesloads every python-can interface the installation should have and reports each one; the release workflow runs it on every bundle, so a build that leaves an interface out fails.
Changed¶
- The trace view filters through the store's new
matching_indicesmethod.
Fixed¶
- Interfaces missing from the installers (#30): the 1.11.0 installers could not load gs_usb ("No module named
'usb'") and CANExplorer's own elm327_kline, j1708, kvaser_lin, panda, panda_udp, plin, rp1210,
toomoss, vector_lin and zlg interfaces ("No module named 'can_explorer.core.…'"). The build now bundles
every interface registered in
pyproject.tomlinstead of a list of its own, and the installers include the newusbextra: gs_usb (candleLight), CANalyst-II and pyusb with the libusb library, so these adapters work on Windows and macOS without installing anything. pyusb-based interfaces load that bundled libusb (core/usb_backend.py). - CAN FD over socketcand: SocketCanDaemonBus now receives and sends CAN FD frames in socketcand's raw mode
(
< fdframe … >/< fdsend … >, with the BRS and ESI flags). Payloads are padded to a valid CAN FD length. The flagless format of socketcand's 2020rawmode-canfdbranch (< sendfd … >) is recognised and used once the server sends it. The remote interface must be in FD mode; socketcand drops FD frames sent to a classic bus without reporting an error. - socketcand: a closed connection or a read error now raises a
CanOperationErrorinstead of spinning or reporting a generic error, and an unterminated message can no longer make the receive buffer grow without bound.
1.11.0 – 2026-11-22¶
Added¶
- VW TP 2.0 transport (
core.tp20): the CAN transport of VW, Audi, Seat and Škoda diagnostics before UDS —Tp20Clientopens a channel to a module's logical address (setup on 0x200, parameters, acknowledged data, channel-test keep-alive, disconnect) and is aUdsTransport, so diagnostic clients run over it. TP 2.0 has no public specification: it follows the community description at jazdw.net/tp20, whose example exchange the tests replay; the points that page states only by example (channel-id and timing byte layouts, ACK numbering, block size) are inferred and documented. Refused setups carry no reason and broadcasts are only labelled. Not yet checked against a real vehicle. - KWP2000 client (
core.kwp2000_client): an active ISO 14230-3 client over TP 2.0, ISO-TP or a K-Line bus (KLineTransport, on theelm327_klineinterface) — sessions (e.g. 0x89), ECU reset, identification, security access with yourcompute_key, local identifiers, routines and raw requests. A client of its own because UDS's suppress-positive-response bit would misread KWP session 0x89. The trouble-code services (0x18, 0x17, 0x14) stay raw requests: their layouts are in the paywalled ISO 14230-3 and could not be confirmed. - Measuring blocks (
core.measuring_blocks): KWP2000 group reads (0x21) parsed into formula byte and data bytes a, b; a layout that is not three-byte values keeps its remainder unparsed. VW's scaling is not built in: a user-supplied JSON formula table names and scales the values with safe expressions over a and b. - VW TP 2.0 trace decoder: channel setups, parameters, ACKs, channel tests, disconnects and the data packets reassembled into KWP2000 messages; the channel identifiers are learnt from the setup response.
- MCP KWP2000 tools:
kwp_read_measuring_blockandkwp_read_identification(diagnostics tier) andkwp_request(control tier), over a TP 2.0 channel or ISO-TP. - VW TP 2.0 page: a channel to a module (with channel tests and a TesterPresent keep-alive), the module scan, measuring blocks read once or live, coding records edited field by field with a confirmation, backup and read-back check, security access with a key file or key-store entry, and raw KWP2000 requests.
- VW TP 2.0 module scan (
core.tp20_scan): a channel setup to each logical address (0.1 s each), closed again; optionally StartDiagnosticSession and ReadECUIdentification with an option you give. MCPkwp_scan_modules. - Label files (
core.diagnostic_labels): your own JSON with module names, measuring-block formulas and value names, and coding records with their fields — no manufacturer data is built in, and Ross-Tech's label files are not read. Plain formula tables still load. - Coding records (
core.coding): a record at a KWP2000 local identifier or a UDS data identifier, decoded into bit fields;write_recordreads it first (the backup), refuses another length or a record that changed since it was read, writes and reads it back. MCPcoding_read(diagnostics tier) andcoding_write(control tier). - KWP2000 session keep-alive (
KwpKeepAlive): TesterPresent after two idle seconds;KwpClientnow runs one request at a time so the keep-alive never interleaves with a request. Tp20Clienttakes a separatesetup_timeout, andopen()raisesTp20NoAnswerorTp20Refused.-
Shared safe expression evaluator (
a2l.evaluate_expression): the A2L formula evaluator over any named variables, used by the measuring-block formulas. -
Active probe executor (
core.reverse.active_prober): runs the passive probing plans (enumerate_plan,brute_plan,scan_plan_non_standard) on a bench with safety rails — dry run, request-ID allowlist, state-changing services (DANGEROUS_SERVICES) skipped by default, rate limit, request cap and per-step confirmation. For authorised benches only; the caller supplies thesendcallable. MCPpreview_probe_plan(dry run); the live run is driven from the gateway panel. - Responsible-disclosure report (
gateway_security.disclosure_report): a PSIRT-ready Markdown or JSON document built from the captured gateway findings — each weakness with its evidence, remediation and WP.29 R155 / ISO 21434 reference, most-severe first; states only what the capture shows and names no exploit. MCPdisclosure_report; a menu item in the gateway security panel. - More seed/key families (
core.seedkey_crack): hash truncation (MD5/SHA-1/SHA-256), CRC (common CRC-16/32 parameter sets with the xorout solved from a pair) and a DES/3DES KDF alongside the AES KDF. -
Findings to artifacts (
core.reverse.findings_artifacts):gateway_map_to_dbcwrites a DBC scaffold naming each discovered ECU's request/response message;match_to_scriptturns a recovered closed-form seed/key algorithm into acompute_keyscript to store in the key store. MCPgateway_findings_to_dbc; a menu item in the gateway security panel. -
OEM right-to-repair token providers (
core.oem_tokens): the legitimate path to diagnostic access through a vehicle security gateway — obtain a short-lived token from the OEM portal rather than circumventing the gateway.- Provider plug-in architecture: an
OemTokenProviderprotocol and aProviderRegistryextensible through thecan_explorer.oem_token_providersentry point group, so a provider for a specific OEM portal can be shipped without changing CANExplorer. - Ready providers:
OAuthTokenProvider(OAuth 2.0 portals, reusingcore.oauth) andHttpTokenProvider(single-request REST portals), both unit-tested through an injectable transport. - Encrypted credentials: a new
oem-tokenkey store purpose (KeyStore.add_oem_credentials) keeps a shop's portal login encrypted at rest, added and listed in the Security Manager dialog like any other entry. - Honesty about the vehicle side: the gateway-unlock frame is provider-supplied, never guessed; a portal with no provider yields a token to present by a documented mechanism.
- MCP tools
oem_token_providersandrequest_oem_token(metadata only; the token value is never returned). Documented in the Security Manager guide (docs/user-guide/security-manager.md).
- Provider plug-in architecture: an
-
SecOC reverse engineering guide (
docs/user-guide/secoc-reverse-engineering.md): dedicated documentation page covering the SecOC reverse engineering workflow, including layout detection, freshness reconstruction, strength assessment, key recovery, bypass detection and the MCP tools. - E2E reverse engineering (
core.reverse.e2e_reverse): passive recovery of AUTOSAR E2E protection parameters from captured CAN traffic without an ARXML.- Profile detection: identifies profiles 2, 4, 5, 6, 7 and 22 by testing each profile's CRC computation at plausible byte offsets.
- Alive counter detection: scans nibbles and bytes for monotonic increment modulo N.
- Data ID recovery: deterministic recovery for P2/P22, 16-bit brute-force for P5/P6, header extraction for P4/P7.
- E2E bypass detection: static CRC, frozen counter, zero/0xFF CRC bytes.
- Header computation (
compute_e2e_header): compute valid E2E headers with recovered parameters for authorised bench testing. - Integrated into the Cryptanalysis tab; MCP tools
detect_e2eandcompute_e2e.
- Seed/key algorithm recovery (
core.seedkey_crack): given captured UDS 0x27 SecurityAccess (seed, key) pairs, tests hypotheses from identity through GF(2) linear algebra and reports every confirmed match with acompute_keycallable. Pairs are split into fit and verify sets; a match must predict all held-back pairs. MCP toolcrack_seed_key.- AES-based KDF hypotheses: tests candidate master keys against AES-ECB, CMAC-AES, HMAC-SHA-256 and HMAC-SHA-256(level || seed) patterns. Well-known default keys (all-zeros, all-ones, etc.) are tried automatically for seeds up to 16 bytes.
- LFSR hypothesis: Berlekamp-Massey over GF(2) recovers LFSR-based seed-to-key scramblers from the concatenated seed+key bit sequence.
- Seed entropy assessment (
assess_seed_quality): Shannon entropy, unique ratio, sequential pattern and fixed byte detection; weak seeds are flagged as predictable. - Crack UI in the Security Manager: paste hex seed:key pairs and see the matched algorithms.
- Crack integration in Gateway security: the analysis automatically cracks seed/key pairs per ECU and reports recovered algorithms; a dedicated Crack seed/key button re-runs cracking.
- Gateway security analysis (
core.reverse.gateway_security): passive analysis of captured UDS traffic for gateway authentication patterns, bypass paths and cross-ECU seed/key correlations.- Authentication pattern detection: which services are locked behind 0x27 or 0x29, at what level and in what session type.
- Bypass detection: unfiltered diagnostic IDs, session fallback, timing windows after session changes, and functional addressing bypass.
- Cross-ECU seed/key correlation: whether different ECUs share the same algorithm or master key.
- Automated gateway mapping (
map_gateway): clusters ECUs by response timing into bus segments, with per-ECU service and authentication summary. - UDS service access matrix (
build_access_matrix): records every (ECU, service, session) observed and classifies as granted, denied or conditional. - Unlock sequence extraction (
extract_unlock_sequence): reconstructs the exact authentication recipe (session change, seed/key exchange, timing) from the captured traffic. - Consolidated gateway report (
gateway_report): combines all analyses into a single report with an overall severity rating and prioritised summary. - NRC fingerprinting (
fingerprint_ecu): identifies ECU software stacks from their NRC response patterns and timing profile. - Multi-session probing planner (
plan_probing): suggests services to try in sessions where they have not been observed yet. - DID/routine security classification (
classify_did_security): per-DID breakdown of read/ write access and authentication posture. - Authentication timing analysis (
analyse_auth_timing): times each step of the 0x27 flow and flags unusually fast or slow key verification. - Bus segmentation detection (
detect_bus_segments): clusters CAN IDs by timing and ID range to infer physical bus segments (periodic vs event-driven classification). - Response-after-reset analysis (
analyse_reset_behaviour): detects services that succeed shortly after an ECU reset, indicating a boot-up security bypass window. - OEM-specific NRC decoder (
decode_nrc): decodes vendor-specific NRCs (0x70-0x7E) from public sources; integrated intoanalyse_gateway_authdetails output. - Export gateway findings (
export_report): exportsGatewayReportas structured JSON or CSV. - MCP tools
analyse_gateway_auth,analyse_gateway_filtering,correlate_ecu_seeds,map_gateway,access_matrix,extract_unlock_sequence,gateway_report,classify_did_security,assess_seed_quality,detect_bus_segments,analyse_reset_behaviour,export_gateway_report,fingerprint_ecu,analyse_auth_timing,plan_probing,auth_state_machine,differential_analysis,infer_filter_rules,enumerate_plan,identify_ecu,brute_plan,detect_timing_side_channel,infer_routing_table,detect_rewriting,discover_unlock_chains,scan_plan_non_standard,analyse_doip_gateway,gateway_compliance_report,assess_fd_security,attack_surface_report.
- Cryptanalysis tab in the Reverse engineering view: runs randomness tests (monobit, runs,
chi-square, serial correlation), linear dependency search and keystream reuse detection on every
identifier's payloads. Same analyses as the MCP tool
assess_frame_security, now in the GUI. - Gateway security tab in the Reverse engineering view: authentication patterns, bypass detection and cross-ECU seed/key correlations from the captured UDS traffic.
- SecOC tab in the Reverse engineering view: detects AUTOSAR SecOC-protected frames from statistical payload properties, reconstructs freshness counters, assesses MAC truncation strength, attempts key recovery from common/weak keys and detects bypass paths. Passive — reads captured frames only.
- Security dashboard tab in the Reverse engineering view: combined security posture from gateway
analysis, SecOC analysis, seed quality and NRC fingerprints. Summary cards (ECU count, findings,
overall score and grade) and a prioritised findings table. MCP tool:
attack_surface_report. - Cryptanalysis suite for CAN frames — passive security assessment of any identifier's payloads:
- Randomness tests (
core.reverse.crypto): monobit, runs, chi-square and serial correlation tests replace the simple half-set/half-flip threshold for detecting random trailing bytes (possible MACs or encrypted data). Counter correlation detects bytes that track a counter. - Freshness and replay analysis (
core.reverse.crypto): evaluates counter+MAC pairs for replay protection — counter wraps, MAC repetition on wrap, forgery probability and expected forgery time. - Linear dependency search (
core.reverse.linear): GF(2) Gaussian elimination finds affine bit relations (CRC-16, CRC-32, XOR masks, arbitrary affine functions) and matches them against known CRC polynomials (0x1021, 0x8005, 0x04C11DB7, 0xF4ACFB13, 0x42F0E1EBA9EA3693). - Keystream reuse detection (
core.reverse.crypto): finds repeated counter values in suspected encrypted bytes and checks whether XOR of same-counter frames shows structure. - Active bench tests (
core.active_security_test): replay, MAC forgery, functional addressing bypass, session race condition, ECU reset bypass and DoS resilience tests against an ECU on an authorised bench — the only part that sends frames. - MCP tool
assess_frame_security: runs the passive analyses on one identifier and returns a combined security assessment. - MCP tools for SecOC reverse engineering:
detect_secoc_layout,assess_secoc_strength,detect_secoc_bypass,try_secoc_key_recovery,detect_shared_secoc_keys,predict_freshness,replay_window,classify_secoc_profile,analyse_e2e_secoc_interaction. - New synthetic traffic behaviours:
cmac,cmac_no_freshness,xor_obfuscated,crc16.
- Randomness tests (
Improved¶
- Cryptanalysis: MAC pattern detection (
classify_mac) classifies suspected MAC byte ranges by length, inferring CMAC-AES-128 (truncated/full), HMAC-SHA-256 or CRC. When a freshness counter is present, 24-32 bit fields are strongly associated with AUTOSAR SecOC. The MCP toolassess_frame_securitynow includes MAC classification and SecOC config cross-check in its output. - Cryptanalysis: double-clicking a row in the Cryptanalysis tab navigates to the identifier in the Bits tab; the plot button shows the inter-frame interval.
- Gateway security: the controller now runs the full analysis pipeline automatically — topology mapping, access matrix, authentication timing, seed/key cracking, entropy assessment, bus segmentation and reset-behaviour analysis — in addition to auth pattern detection, bypass detection and cross-ECU correlation. Double-clicking a gateway result navigates to the ECU identifier. Generate report, Crack seed/key and Export buttons provide one-click access to the consolidated report, standalone algorithm recovery and JSON/CSV export.
- Gateway security: vendor-specific NRCs (0x70-0x7E) are decoded from public sources and shown in authentication pattern details.
- Gateway security: the response-ID convention (request + offset) is now configurable via the
response_offsetparameter (default 8), supporting OEMs that use non-standard offsets. Functional addressing (0x7DF) responses are paired with any ECU's physical response ID. - Gateway security: O(n^2) timing-window analysis replaced with pre-indexed timestamp lookup.
- Gateway security:
_is_positive_responseis bounded to 0x41..0x7E (was >= 0x41), excluding 0x7F negative-response header and invalid bytes above 0x7E. - Gateway security MCP:
analyse_gateway_authandanalyse_gateway_filteringuse_recent()(capped at 20k frames) instead of scanning the full trace. - Linear relations: the
LinearRelationdataclass carries aconfidencefield (share of verification frames that matched), surfaced in the GUI and MCP output. - MCP: added send-tier active security bench tests:
replay_test,forgery_test,functional_bypass_test,session_race_test,reset_bypass_testanddos_resilience_test. - Synthetic traffic: the
xor_obfuscatedbehaviour's keystream is configurable viaBehaviour(keystream=...).
Fixed¶
- Cryptanalysis GUI: the
detect_keystream_reusecall now passes all three required arguments (payloads, counter_field, encrypted_range) instead of just payloads, and uses the correct attributes (structured_xor_pairs,reused_counter_values,findings) ofKeystreamReuseReport. - Diagnostics: the Authentication section no longer runs past its edge in a narrow pane or with a long translation: its captions sit above the fields, which take the section's whole width, and its buttons wrap onto a second line when they do not fit.
- XCP/CCP: the "No A2L file loaded" hint is centred in the variables card instead of sitting on its left.
- Updates: long release notes wrap inside the update dialog instead of running past its right edge.
1.10.0 – 2026-11-20¶
Added¶
-
ARXML export of signal databases: the converter (dialog and
can-db-convert), the database editor's Save as… and scripts (save_database,core.arxml_writer) write AUTOSAR R20-11 system descriptions of the CAN part of a database, valid against the officialAUTOSAR_00049.xsdschema.- One
CAN-CLUSTERper bus, so a multi-bus database keeps its buses apart, unlike DBC. Frames, signal PDUs with their cycle times, multiplexed PDUs (one selector), container frames (short headers), signals with base types, initial and invalid values, conversions (linear, value tables or both, with limits), units, comments, and ECUs with what they send and receive. - E2E protections (profile, Data IDs) and SecOC secured PDUs (Data ID, algorithm names, lengths) of an ARXML are written back, so the E2E and SecOC checks keep working on the exported file.
- Signal start bits are written unchanged: AUTOSAR counts them like DBC (checked against the schema's
documentation of
START-POSITION). - Reported, not silently dropped: nested multiplexing (ARXML has one selector field), renamed names (ARXML
allows only letters, digits and
_), and per-signal receivers, which become per-message. - An opened ARXML is never overwritten, as it usually holds more than the signal database: the editor saves it under a new name. ARXML files CANExplorer wrote are marked and saved over directly.
- One
-
UDS SecuredDataTransmission (0x84 / 0xC4), the ISO 14229-1:2020 envelope that carries any diagnostic request and its response signed, encrypted, or both, with an anti-replay counter.
- Diagnostics: a Secured transmission (0x84) section sends every request of the page in envelopes (reads, writes, DTCs, routines, raw requests) and checks and unwraps the responses. Settings: the algorithm byte, signing, encryption, signed responses (unsigned ones are refused) and the counter. The History notes the counter and whether the response signature verified.
- Keys: a new UDS secured data key in the Security Manager uses CANExplorer's own reference scheme
(HMAC-SHA-256 or AES-CMAC over the message, optionally truncated; a documented choice, not from the standard).
A Python provider file (
signature_length,sign,verify,encrypt,decrypt) implements a manufacturer's scheme, encryption included. - Trace and decoding: 0x84/0xC4 messages show their flags, counter, algorithm and signature length, and the wrapped service unless it is encrypted. Messages in the ISO 14229-1:2013 format (an opaque record) are labelled and kept raw. The NRCs 0x38 secureDataTransmissionRequired, 0x39 secureDataTransmissionNotAllowed and 0x3A secureDataVerificationFailed are named.
- Scripts:
uds_secured.SecuredTransportruns anyUdsClientservice secured;secured_requestsends a single request. - Simulated ECU: answers 0x84 with a
SecuredServerConfig. It checks signatures and counters (replays are refused), signs and encrypts its responses as asked, and has DIDs that only answer inside an envelope. - MCP: a new
uds_secured_requesttool (control tier). - Session keys from Authentication (0x29): the Authentication section's Session key (the
communicationConfiguration) asks the ECU for one, and Session key (Authentication) protects the secured
requests with it (pre-established key bit) until de-authentication. The session key information is turned
into a key by a security profile's new
session_provider(context), or, for a shared authentication key, by CANExplorer's reference derivation (HKDF-SHA-256 over the challenges; a documented choice, since the standard leaves the contents to the manufacturer). The certificate exchange can send and keep ephemeral public keys for key agreements. The simulated ECU issues session keys (SessionKeyIssuer). - The layout follows Wireshark's UDS dissector and the py-uds knowledge base, which agree. Scapy mirrors the administrative bits; that is noted in the docs. The standard leaves the cryptography to the vehicle manufacturer.
- ISO-TP extended and mixed addressing (ISO 15765-2), where every frame starts with an address byte (N_TA or
N_AE), as used by BMW and many gateway-routed setups.
- Diagnostics: the Request ID and Response ID take the address byte after a colon (
6F1:12/612:F1). Requests, tester present, listening, flashing and UDS discovery all use it. - Trace: new ISO-TP (extended), UDS (extended) and KWP2000 (extended) decoders show the address byte and reassemble the transfers of each address separately.
- Scripts and simulation:
IsoTpClient(…, tx_address=, rx_address=);UdsEcuSimulator(…, request_address=, response_address=)simulates such an ECU. - MCP: the
obd_*/uds_*tools take the sameID:AAidentifiers.
- Diagnostics: the Request ID and Response ID take the address byte after a colon (
-
J1939 transport and network management, completed (J1939-21/-81; layouts checked against the Linux kernel's J1939 stack and AgIsoStack++).
- Extended transport protocol (ETP) for messages over 1785 bytes: decoded and reassembled in the trace
(RTS, CTS, DPO, EndOfMsgAck) and sent from the J1939 view and scripts (
J1939Sender.sendto one node). - RTS/CTS retransmissions: a CTS that asks for packets again is followed in the trace, and the sender repeats them.
- Answering transport sessions: once the J1939 view has sent something, the tool answers RTS/CTS and ETP
sessions addressed to it (CTS, EndOfMsgAck, aborts on timeout). A node's long answer to a request (e.g. its
software identification) now arrives instead of timing out. Scripts:
TransportResponder. - Address claiming: Claim in the J1939 view claims the tool address with a service tool NAME. The tool
then defends the address, answers requests for address claims, follows commanded addresses, and moves to a
free self-configurable address when it loses. Scripts:
AddressClaimer. - Decoding: acknowledgments (ACK/NACK/access denied/cannot respond), the reasons of connection aborts, commanded addresses, and the text of the identification groups (software, component, vehicle).
- Scripts:
request_pgnrequests a parameter group and returns the answers, reassembled, or the node's acknowledgment. - MCP: new
j1939_request(diagnostics tier; DM3/DM11 need the control tier) andj1939_send(send tier) tools.
- Extended transport protocol (ETP) for messages over 1785 bytes: decoded and reassembled in the trace
(RTS, CTS, DPO, EndOfMsgAck) and sent from the J1939 view and scripts (
-
comma.ai pandas on USB (interface
panda, experimental): the red panda and the panda of comma three/3X/four, CAN and CAN FD on all three buses or one (@1, or the serial number). Listen only uses the SILENT safety mode. Otherwise CANExplorer asks for ALLOUTPUT; release firmware lacks it, so it falls back to ELM327, which sends diagnostic frames only, and says so in the log. Needs pyusb/libusb (now part of thedriversextra). Written from panda's open-source firmware and library; not tested on a real panda. - LIN adapters on Windows (and Kvaser on Linux), as LIN master or slave (
@slave), with the existing LIN trace, LDF decoding, schedule tables and LIN diagnostics:- PEAK PLIN-USB and PCAN-USB Pro LIN channels (interface
plin, PLIN-API); - Kvaser LIN Leaf (interface
kvaser_lin, LINlib); - LIN channels of Vector interfaces (interface
vector_lin, XL Driver Library).
- PEAK PLIN-USB and PCAN-USB Pro LIN channels (interface
All three are experimental: written from the vendors' published APIs and tested against simulated libraries.
LIN connections now pass their baud rate to these adapters. Lipowsky Baby-LIN is not supported, because its
library is only available to Lipowsky's customers.
- comma.ai panda over WiFi UDP (interface panda_udp, experimental): receives the CAN stream that the
original WiFi panda sends to UDP port 1338, from all buses or one (192.168.0.10@1), and keeps the subscription
alive. Receive only, because the stream is one way. Classic CAN; timestamps are the host's arrival time. The
format comes from panda's open-source WiFi code and has not been tested against a real panda. Detect offers
the panda when the computer is in its network.
- XCP and CCP measurement & calibration, extended (the XCP/CCP page):
- Transports: XCP on CAN FD and on Ethernet (UDP and TCP, XcpEthernetTransport), besides CAN.
Settings from A2L fills in the identifiers or address from the A2L's IF_DATA.
- Seed & key: GET_SEED/UNLOCK (multi-packet seeds) for XCP and CCP, with an algorithm from a Python file or
the Security Manager. A locked resource is unlocked when a command needs it.
- Reliability:
- XCP address granularity (word and dword ECUs) and slave/master block modes.
- Command busy answers are repeated.
- After a timeout, SYNCH, then SET_MTA, then the command again, so uploads and downloads are never shifted.
- DAQ: DAQ lists per event channel, for XCP (all identification field types, DAQ timestamps, ODTs
split to the packet size) and for CCP. Start and stop from the page; DAQ samples go into the table and the
plot. XCP ECUs with static DAQ have their fixed lists configured (GET_DAQ_LIST_INFO, CLEAR_DAQ_LIST): each
event takes the first free list that can run on it and is large enough. Predefined lists (dynamic or static
ECUs) measure what they carry: their content comes from the A2L's DAQ_LIST … PREDEFINED, now read, or from
the ECU (READ_DAQ). xcp_measure uses them too.
- STIM: set a scalar calibration value's Measure column to STIM on an event, and while DAQ runs, Set
sends the value for the ECU to write at that event. In scripts, start_stimulation / stimulate, alone or
with a measurement, optionally repeated each period. A STIM timeout from the ECU sends the data again and is
counted in the slave details.
- Flash programming over XCP (PGM, core/xcp_flash.py): the new Flash programming section programs an
Intel HEX, S-record or binary file: PROGRAM_START, PROGRAM_CLEAR of the sectors the image touches (from
GET_SECTOR_INFO; or the image's ranges), PROGRAM in master blocks when the ECU takes them, PROGRAM with no
data to end, a BUILD_CHECKSUM check of each range, and PROGRAM_RESET. Each step shows its state. More
options: functional erasing (calibration, code, NVRAM areas), a flash kernel (PROGRAM_PREPARE), compressed or
encrypted images (PROGRAM_FORMAT, with an optional Python encoder), PROGRAM_MAX, and an ECU check
(PROGRAM_VERIFY, internal or with a value).
- Plot: any measurement or value can be plotted next to the bus signals.
- Polling: neighbouring measurements are read with one upload.
- A2L:
- /include files, ECU_ADDRESS_EXTENSION, BYTE_ORDER, BIT_MASK.
- Arrays (ARRAY_SIZE, MATRIX_DIM), VAL_BLK, ASCII, CURVE, MAP and AXIS_PTS.
- Standard, fixed and common axes; record layouts with axis point counts and alignment.
- Conversions: non-linear RAT_FUNC, TAB_INTP, TAB_NOINTP, verbal tables (TAB_VERB) and formulae
(FORM).
- IF_DATA of XCP (protocol layer, DAQ events, CAN/CAN FD/UDP/TCP) and CCP (TP_BLOB, rasters).
- EPK.
- Calibration: an editor for curves, maps, blocks and arrays (with standard-axis points). Values are checked
against the A2L limits. Calibration pages (XCP GET/SET/COPY_CAL_PAGE; CCP SELECT/GET_ACTIVE_CAL_PAGE).
BUILD_CHECKSUM, verified against an upload for the standard XCP types.
- EPK check: on connect, the A2L's EPK is compared with the ECU, and a mismatch is reported.
- The page is reorganised:
- A header shows the session's state: transport, connection, A2L, EPK, locked resources, DAQ.
- Sections on the left hold the slave (with what it reported) and the tools: seed & key, measuring,
pages, memory, dataset.
- The variable table has a name and kind filter and columns that stay aligned. Narrow windows get a compact
layout.
- Curves and maps are summarised by size and range. The log can be resized.
- The curve and map editor fits its content, shades cells by value, outlines changed cells, shows limits and
axis names, and can revert.
- Datasets: save the characteristics to JSON or DCM, compare a dataset with the ECU, and write it.
- More commands: GET_ID, GET_COMM_MODE_INFO, CCP EXCHANGE_ID, DNLOAD_6, GET/SET_S_STATUS.
- Trace: new XCP and CCP protocol decoders label commands, responses, errors, events and DAQ data,
and for XCP the master's STIM data and the programming commands. They learn the identifiers from a CONNECT,
or from the page when it connects.
- MCP:
- xcp_list_variables (always available).
- xcp_connect, xcp_disconnect, xcp_status, xcp_read, xcp_read_memory, xcp_measure,
xcp_daq_info and xcp_flash_info (diagnostics tier).
- xcp_write, xcp_write_memory, xcp_stimulate and xcp_program (control tier).
- Simulators: the XCP slave (core/xcp_slave.py, also on UDP/TCP) and the CCP slave answer seed & key,
pages, checksums, identification and DAQ with cyclic events, and inject busy answers and lost responses. The
XCP slave also has static and predefined DAQ lists, READ_DAQ, STIM with optional timeouts, and a flash in
sectors that must be erased before it is programmed, with a demonstration cipher, PROGRAM_VERIFY and an
optional flash kernel.
example_memory() matches the extended examples/calibration/example.a2l.
- Limits: XCP programming follows public implementations (OpenBLT, pyxcp) and a public command
reference, and is not yet tried on a production bootloader. The data of the STIM timeout event is not
interpreted (its layout is not public). Some CCP details the public sources leave open are
documented as assumptions: the byte order of multi-byte parameters, ODT element positions, and the TP_BLOB
byte-order code.
- J1939-22 Multi-PG and FD transport decoding. The J1939-22 decoder used to label these frames only.
- Multi-PG frames are split into their parameter groups. Each is decoded like a single frame: requests,
acknowledgments, DM1 and the other known PGs.
- FD.TP messages are reassembled, BAM and RTS/CTS, including segments a receiver asks for again. The control
frames show their session, size, segment counts, CTS windows, end-of-message status and abort reasons.
- Sources: SAE J1939-22 is not public. The layouts follow the open-source python-can-j1939 implementation
(MIT), and the header widths agree with public J1939-22 presentations. The tests replay frames generated by
that library (tests/data/j1939_22_frames.txt).
- Limits: FD.TP transfers announcing assurance data are labelled with its type and size only (where its
bytes travel is not public). Not yet checked against a J1939-22 ECU.
- J1939-22 assurance data trailers (cybersecurity and functional safety). The trailer of a parameter group
is split off by its type of service and trailer format (32/64-bit cybersecurity, functional safety, or both;
reserved formats stay raw), so its data now decodes like any parameter group, and the trailer is shown after it.
- Checks, for the parameter groups configured in j1939_assurance.json (or CANEXPLORER_J1939_ASSURANCE):
functional safety data with AUTOSAR E2E Profile 22 (CRC, counter sequence: lost, repeated, wrong
sequence), and J1939-91C cybersecurity data (the truncated AES-CMAC tag with a key of the Security Manager,
and a freshness value that must increase). Encrypted payloads are labelled, not decrypted.
- E2E Profile 22 at any offset (Profile22(data_ids, offset)), tested against the AUTOSAR offset example.
- Sources and choices: the TOS/TF table, Profile 22 for safety data and the J1939-91C tag construction
come from a public J1939-91C presentation (New Eagle, 2025). The field widths, the nonce encoding and what
Profile 22 covers are not public, so they are configuration or documented choices, never assumed: a wrong
layout shows "does not verify with this configuration".
- UDS Authentication (0x29), extended (Diagnostics view, scripts, MCP):
- transmitCertificate (0x04) as a procedure: Transmit sends a certificate of the Security Manager
under a certificateEvaluationId (UdsClient.transmit_certificate).
- Roles and white lists from the tester's certificate, as the AUTOSAR Dcm reads them (role bit field,
services, DIDs, routines, fault memory selections; the extension OIDs are given): uds_auth.access_rights.
After a certificate exchange the log lists the certificate's private extensions.
- Simulated ECU: role checks per service with NRC 0x34, role size checks (NRC 0x55), transmitCertificate
(NRC 0x31 for unknown evaluation ids), and de-authentication when idle in the default session or on an S3
timeout, after the AUTOSAR Dcm specification (R23-11, §7.6.2.10).
- MCP: uds_authenticate (certificate exchange, challenge-response or the ECU's configuration),
uds_deauthenticate and uds_transmit_certificate (control tier); uds_secured_request(key="session")
protects requests with the session key of the authentication.
- End-to-end SocketCAN benchmark (tools/benchmark_socketcan.py, for developers): receive throughput, lost
frames, CPU use and garbage collection pauses at increasing rates, and periodic transmit timing (software and
kernel-timed, idle and under load), through the Linux SocketCAN stack on vcan interfaces. See Building and
testing.
- socketcand host and port: the New Connection dialog and BusConfig take the host (or IP address) and TCP
port of a remote socketcand daemon; without them, 127.0.0.1:29536 is used.
Fixed¶
- XCP: error codes from 0x23 on were named one off, e.g. access locked (0x25) was shown as page not valid. The table now follows the standard.
- XCP/CCP: the address extension of A2L variables was ignored, so every value was read from extension 0.
- CCP: a response was accepted without checking its command counter. A late answer to an earlier command could be taken for the current one, and DAQ data or event messages on the response identifier for a response.
- ISO-TP: a classic CAN frame with a zero single-frame length is no longer read as the CAN FD escape sequence (only valid in CAN FD frames over 8 bytes).
- ISO-TP: a segmented message whose consecutive frames stop (N_Cr timeout) is dropped instead of being continued by a later, unrelated frame.
- Application menu: every entry has its own bundled line icon, tinted with the theme and dimmed when disabled. The icons used to come from the desktop's icon theme, so they were missing on Windows and macOS, mixed styles on Linux, and several entries shared one; the Recent submenus now have an icon too.
- Combo boxes: the drop-down arrow is a drawn chevron, centred and clear of the border, that points up while the list is open. It was a small "▾" character that sat low against the edge, could be overlapped by long text and showed as a box with fonts that lack it. The database editor's New menu button and the fold markers of its By sender tree use the same chevron.
- Documentation: the MCP page is reorganised around a quick start, client setup (Claude Code, JSON configs), example
sessions with real tool outputs, a tool reference grouped by task and tier with each tool's main arguments, and
troubleshooting. Its Python examples now use the
mcp2 client API (the HTTP example importedstreamablehttp_client, whichmcp2 no longer has) and read list answers in full instead of only their first item. - RP1210: 11-bit identifiers are now sent and read in 2 bytes, 29-bit ones in 4. All identifiers used to take 4 bytes, which, going by the open RP1210 code the layout now follows (PyRP1210), gave 11-bit frames a wrong identifier and cost them their first two data bytes. J1939 traffic (29-bit only) was not affected. Not yet checked against an adapter.
- Live capture lost frames on busy buses: from about 5 000 frames/s (0.2–4 % at 5 000–20 000 frames/s). Python's full garbage collections, which walk every frame in the trace, stopped the program for 35–150 ms, longer than the kernel's socket buffer can bridge. They also delayed periodic transmissions (one interval of 145 ms instead of 10). While a bus is open, full collections now run only when traffic is low (below 500 frames/s over all buses, at most once a minute, and in any case after 30 minutes). Measured on SocketCAN: no frames lost up to 20 000 frames/s, and periodic transmit stays within 2 ms under load. On Python 3.14, whose incremental collector has no such full collections (it ignores the threshold that suspends them), this stays off.
- socketcand: connecting failed with
Expected '< ok >' got: '< ok > < frame ... >'when the bus already carried traffic. Frames that arrive during the rawmode handshake are now buffered.
1.9.0 – 2026-11-15¶
Added¶
- Breakpoints and single stepping in playbacks, for replays of recordings and recordings replayed on a bus: pause right after a frame (identifiers and an optional data pattern with wildcards), when a database signal's condition becomes true or its value changes, or at a time; let a breakpoint pass its first hits; step frame by frame. The playback bar shows where it stopped.
- FlexRay tool: the frames of a FlexRay cluster with their slot, cycle and channel, named and decoded with a
FIBEX or AUTOSAR ARXML cluster description, from a simulated cluster, a capture or log file, or a Vector or
Intrepid interface; records to pcap (LINKTYPE_FLEXRAY, as Wireshark reads it).
- PDUs: frames carrying several PDUs, each at its position, with update bits (a PDU its sender did not refresh is shown "not updated", not decoded as current); FIBEX multiplexed PDUs and CYCLE-COUNTER timings.
- Cluster parameters (cycle, macrotick, static slots, payload length, minislots, network idle time, bit rate) and the ECUs' FlexRay controllers; the cluster to use when a file describes several.
- Logs: pcap/pcapng (frames, symbols, and FlexRay tunnelled in IEEE 1722 ACF), Vector BLF (frames with their errors, symbols, the protocol state, interface errors) and Vector ASC.
- Schedule and bus check (Analysis tab): missing, undescribed, wrong-length and mistimed frames, dynamic slot order, channel A/B mismatches; per channel null frames, errors, sync frames per cycle, cycle counter jumps and the cycle time. Symbols, protocol states and interface errors in an Events tab.
- Signal plots of the cluster's signals, and sending: frames of the description encoded from physical values (update bits set) or raw bytes, sent in their slot and cycles — in the simulation, or with an interface taking part in the cluster.
- Interfaces (experimental, written from the vendors' published interfaces and tested against simulated
drivers): Vector (XL Driver Library) in spy mode or as a node with the channel's or a given cluster
configuration; Intrepid (
pip install icsneopy) watching with the device's configuration or as a node configured from the ARXML cluster and ECU controller. - MCP tools on files:
flexray_load_cluster,flexray_read_log,flexray_analyze_log,flexray_decode.
- Panel builder: build simulation panels without writing QML (Build Panel… in the Simulation view). Drag text, values, gauges, bars, lamps, trends, switches, sliders and buttons onto a panel, bind them to signals and shared variables, set what buttons send, and preview the panel live on the running simulation. It saves an ordinary QML panel (the panel API, editable by hand), which the builder opens again from the layout it keeps.
- Key servers behind OAuth 2.0. A key server entry can use the client credentials grant (a bench computer's own client ID and secret, kept encrypted) or sign in on the web with the device authorization grant (RFC 8628): the Security Manager shows an address and a code, the user signs in at their identity provider, and the refresh token is kept encrypted for later sessions. Access tokens are renewed before they expire and once more when a server refuses one. Works with any provider implementing the RFCs (Entra ID, Okta, Keycloak, …).
- PKCS#11 tokens (smart cards, USB tokens, HSMs) as a key store entry: the tester certificate and the proof of
ownership of UDS Authentication (certificate exchange and challenge-response) come from the token, so the private
key never leaves it. ECDSA, RSA (PSS and PKCS#1 v1.5) and Ed25519. Needs the new optional
pkcs11extra (python-pkcs11); tested against a simulated token so far. - ZLG and Toomoss adapters (experimental): the ZLG USBCAN-II, USBCAN-E-U and USBCANFD series (interface
zlg, Windows) and Toomoss USB2CAN and USB2CANFD adapters (interfacetoomoss, Windows, Linux, macOS), CAN and CAN FD. Written from the vendors' published headers and manuals, with the structure layouts checked against the headers, and tested against simulated libraries; not yet tested on the devices. - PKCS#12 files (
.p12,.pfx) as TLS client certificates: the certificate, its chain and its key in one file, as browsers, Windows and many PKIs export them. - 10BASE-T1S documented in the Ethernet capture guide: T1S adapters and captures work with the Ethernet tool as they are (ordinary Ethernet frames); PLCA beacons, transmit opportunities and collisions are not visible in a capture.
- More ReadDTCInformation reports. The Trouble codes pane reads supported DTCs (0x19 0x0A), fault detection
counters (0x14), a user-defined DTC memory (0x17) and the permanent WWH-OBD DTCs (0x55) besides DTCs by status
mask, and Details reads a DTC's snapshot (freeze frame, 0x04) and extended data (0x06) records. Snapshot DIDs
are split and decoded with the loaded CDD/ODX description; records whose lengths are unknown are shown in hex, not
split at a guess. In scripts also 0x01, 0x03, 0x07, 0x18, 0x19 and 0x42 (
can_explorer.core.uds_dtc). - Functional addressing: Find ECUs in the Diagnostics view lists the ECUs answering a functional
TesterPresent (0x7DF, or 0x18DB33F1 with 29-bit identifiers). In scripts,
FunctionalUdsClientsends a request to all ECUs and collects every answer, including segmented ones and "response pending" (can_explorer.core.uds_functional; CAN with the OBD conventions or an explicit mapping, and DoIP functional addresses). - More UDS services in scripts: ReadScalingDataByIdentifier (0x24), CommunicationControl (0x28), DynamicallyDefineDataIdentifier (0x2C), ReadDataByPeriodicIdentifier (0x2A) with a receiver for the periodic data, RequestFileTransfer (0x38), ResponseOnEvent (0x86) with a collector for the event-triggered responses, ControlDTCSetting (0x85) and LinkControl (0x87). SecuredDataTransmission (0x84) is named, not decoded. Checked against the AUTOSAR Dcm specification, udsoncan and Wireshark's UDS dissector; what they leave open is kept as bytes.
- Flashing: quieting the bus, sequence presets and encoders. Quiet the bus puts all ECUs in the extended
session, stops their DTC setting and communication before programming (kept there by a functional TesterPresent)
and restores them afterwards. Sequence preset… loads a JSON file with a manufacturer's own order of steps
(sessions, security access, DID writes, routines, raw requests, waits;
examples/flashing/sequence_quiet_bus.json). Data format and Encoder… send compressed or encrypted downloads, encoded by your ownencode(data, address). - Periodic data in the Diagnostics view: define a DID from parts of other DIDs or memory areas (DynamicallyDefineDataIdentifier 0x2C) and have the ECU send DIDs at its slow, medium or fast rate (ReadDataByPeriodicIdentifier 0x2A), with the latest values, message counts and rates listed. Both ways ECUs send periodic data are received: single frames on a CAN ID of their own (ISO 14229-1:2020) and 0x6A messages on the diagnostic response ID.
- Unsolicited messages in the Diagnostics History. Event-triggered (ResponseOnEvent) responses, late answers and other messages that answer no request are listed as Unsolicited (sent by the ECU) instead of being dropped. Listen between requests (off by default) receives them between requests too; requests, tester present, flashing and scans then share one ISO-TP receiver, so flow control is never answered twice.
- MCP:
uds_dtc_details(a DTC's snapshot and extended data records) anduds_find_ecus(functional TesterPresent), in the diagnostics tier. - The simulated ECU answers all of these services, takes functional requests on 0x7DF, sends periodic data and event-triggered responses, and has a small file system.
- Restbus simulation sends what the nodes would send, not frozen frames:
- Send modes from the DBC
GenMsgSendType, changeable per message: cyclic, on change (withGenMsgNrOfRepetitionrepetitions), cyclic + on change, and if active (atGenMsgCycleTimeFastwhile a signal differs from itsGenSigInactiveValue).GenMsgStartDelayTimeandGenMsgDelayTimeare used;NoMsgSendTypemessages are listed off. Send now sends a message with its repetitions. - Counters count and wrap at their range (signals named like counters by default), and checksum signals are computed over the other bytes for every frame (CRC-8 SAE J1850, CRC-8H2F, SMBus, Maxim, CDMA2000, XOR, sum, inverted sum, with an optional constant).
- AUTOSAR E2E protected PDUs of an ARXML get a new counter and CRC in every frame (profiles 2, 5, 22), before SecOC secures them.
- Multiplexed messages take turns through their pages, which can be chosen.
- Timing: cyclic messages start staggered 1 ms apart instead of all at once; frames that never change can use the interface's hardware timing; the expected bus load is shown.
- Each message shows its state (sending, on change, inactive, stopped, with the reason), values with a value table offer its choices, and raw values can be entered.
- The setup is kept when the database is reloaded (and the simulation keeps running), and saved in workspaces.
Changed¶
- The UDS client uses the timing the ECU reports. The P2 and P2* times of a DiagnosticSessionControl response (plus 0.5 s) lengthen the response timeouts for the new session, never below 1 s and 5 s; an ECU needing longer than 5 s between "response pending" answers (erasing a large flash) is no longer timed out.
- UDS responses must echo the request's sub-function or identifier. A response of the same service for another DID, routine or sub-function (a stale answer, an event-triggered response) is not taken as the answer; such responses go to the new unsolicited-response listeners instead of being dropped.
-
UDS discovery also probes the services 0x24, 0x2A, 0x2C, 0x38, 0x84, 0x86 and 0x87.
-
MCP tools, resources and prompts have titles and descriptions. Each carries an explicit name, a human-readable title for clients to show, and a description. The diagnostics, control and send tools now say in their description which permission tier they need and what they do to the bus or the ECU. The resources have descriptions for the first time, and are named for what they hold (
status,identifiers,frames,database) instead ofstatus_resourceetc.; their URIs (can://…) and every tool and prompt name are unchanged.
Fixed¶
- Test runs stopped right after starting report being stopped; before, the run ended with an internal cancellation error instead of its report.
- Preferences: Cancel and Escape restore the previous theme at once, not after the dialog has faded out.
- UDS fuzzing no longer reports a request with the suppress-positive-response bit set (e.g.
10 81) as an unresponsive ECU: silence is the expected answer to it. - The simulated ECU ends an unfinished download when the session changes or it is reset, as ECUs do.
- Restbus: CAN FD messages of 8 bytes or less were sent as classic CAN frames, and CAN FD frames without bit
rate switching; the database's frame format and
CANFD_BRSare now used. A message whose transmission ended (a send error, a bus-off) still showed as sending; it now shows as stopped, with the reason. Editing a value no longer collapses the expanded messages. - A periodic transmission stopped before it sent its first frame stayed registered with the connection.
1.8.0 – 2026-11-14¶
Added¶
- Camera video and GPS map in step with recordings (Video & map view). Pick a camera in the Record dialog
to record a video next to the log (
drive.blf→drive.mp4), in H.264 where the graphics hardware encodes it, else in MPEG-4 Part 2 (switched to automatically when the hardware encoder fails); adrive.blf.media.jsonsidecar ties the interface's clock to the video, also for split and triggered recordings. Replaying the log plays the video at the replay's position and speed, through pausing and seeking. GPX tracks and NMEA 0183 logs (RMC/GGA) can be attached to a replay, aligned by UTC time (or at the start, for tracks without dates), and are shown on a map with the position, speed and altitude at the replay time. Video and GPS offsets fine-tune the alignment. Map tiles (OpenStreetMap by default, any{z}/{x}/{y}server) are off until enabled in the preferences, and are cached on disk. - Trace time formats. A selector in the trace toolbar (and the multi-bus trace) shows frame times as relative (seconds since the start), delta (since the previous row, following the display filter), absolute (local time of day) or Unix time. The choice is shared by all traces and remembered.
- Security Manager (menu and command palette): a password-protected key store for the keys and certificates
of secured vehicle networks, and the tools that use them. Secrets are encrypted (scrypt, AES-256-GCM, each
entry's settings bound into its encryption); only names and settings are shown while it is locked, and keys
never reach logs, reports or the MCP interface.
CANEXPLORER_KEYSTORE_PASSWORDunlocks it for headless runs. - SecOC checks in the trace. The secured PDUs of an ARXML (
SECURED-I-PDU) are verified frame by frame:[SecOC ok, FV 1042],MAC ERROR, orFRESHNESS ERRORfor a replayed value. Bit-packed trailers of any length are read; CMAC/AES and HMAC-SHA-256 are recognised from the ARXML's algorithm names (others can be set on the key, never guessed). Freshness values are reconstructed as counters from their transmitted low bits, or by a manufacturer scheme given as a Python file. The toolbar shows SecOC: n of m checked. Scripts can build secured PDUs withSecOcVerifier.secure. - DoIP over TLS with certificates: verify the entity against trusted certificates and present a client
certificate (mutual TLS); the top bar says when the entity was verified.
SSLKEYLOGFILEwrites the session keys for decrypting captures. - IPsec and MACsec decryption in Ethernet captures: ESP with AES-GCM, AES-CBC or NULL encryption (with HMAC-SHA-256/SHA-1), tunnel and transport mode, and MACsec GCM-AES-128/256, encrypted or integrity-only. The packet list shows what the packets carried, and the details pane a dissection of the decrypted frame.
- Sending secured PDUs: the restbus simulation, the Transmit panel (SecOC, on by default) and test scripts secure SecOC secured PDUs with a new freshness value and MAC in every frame. Periodic sending prepares each frame afresh (software timing).
- SecOC statistics and test steps: counts of frames verified, MAC errors, freshness errors and frames sent per
secured PDU in the connection toolbar, the MCP tool
secoc_status(results only, never keys), and the test stepst.secoc_status,t.expect_secoc_okandt.send(..., secure=…). - SecOC security tests:
t.send_secoc_attacksends frames an ECU must reject — a replay, a stale freshness value, a wrong MAC, a flipped payload bit — so test benches can check that it does. - TLS in Ethernet captures: TLS key log… decrypts TLS 1.2 and 1.3 sessions (AES-GCM, ChaCha20-Poly1305)
with an
SSLKEYLOGFILEkey log and decodes what they carried, e.g. DoIP; TLS packets are recognised as such. - Seed/key algorithms in the key store: UDS seed/key scripts are kept encrypted and chosen with From key store in the Diagnostics (and Flashing) and GMLAN views.
- Certificate expiry notices for TLS certificates that expired or expire within 30 days.
- Security Manager, continued:
- Key bundles: export chosen entries to a file encrypted with its own passphrase, and import them on another computer (existing entries are kept unless replaced).
- Remember the password in the OS keychain (Windows Credential Manager, macOS Keychain, Secret Service), so
the key store unlocks at start; off by default. New dependency:
keyring. - Test certificates: a CA with a tester and an ECU certificate (EC, Ed25519 or RSA) for benches and simulators, ready for DoIP over TLS and UDS Authentication.
- AUTOSAR trip/reset freshness values for SecOC: trip, reset and message counters synchronised by a TripResetSyncMsg, received and sent as in Annex A of the AUTOSAR SecOC specification (§11.4).
- Security events page per connection: SecOC and E2E failures, unknown identifiers, frames faster than their cycle time and refused security access or authentication, counted per identifier with severity, exportable as CSV or JSON.
- Security testing and evidence:
- Security access tests (Diagnostics, test scripts): seed analysis (repeated seeds, constant bytes, predictable steps, short seeds; seeds renewed by session change, ECU reset or repeated requests) and a lockout test (attempts until exceedNumberOfAttempts, the delay, and whether an ECU reset ends it). The simulated ECU can now generate random seeds and lock out wrong keys.
- Audit log of the security manager: unlocking, entries added, exported and imported, keys and certificates used, authentications, security tests and attack frames, each record chained with an HMAC under a key in the key store; Verify shows whether records were changed, removed or reordered.
- Security events in Ethernet captures: SOME/IP E2E failures, IPsec/MACsec integrity failures, TLS records that fail to decrypt, refused DoIP routing activations and security access, SOME/IP services not offered.
- Certificate revocation lists in the key store, applied to DoIP TLS and UDS Authentication (a revoked certificate is refused; the simulated ECU answers NRC 0x57).
- SecOC and E2E checks of the PDUs inside container frames, in the trace and the security events.
- MKA (MACsec Key Agreement, EAPOL) decoded in Ethernet captures: key server, SCI, message number and parameter sets.
- UDS Authentication (0x29) by certificate exchange: the Diagnostics view (also over DoIP) authenticates with
a client certificate from the Security Manager — verifyCertificateUnidirectional or Bidirectional, then
proofOfOwnership signed over the ECU's challenge (ECDSA, Ed25519 or RSA, as the ECU expects) — checks a
bidirectional ECU's certificate and proof, and de-authenticates. Test scripts use
t.uds.authenticate(…). All sub-functions and the authentication NRCs (0x34, 0x50–0x5D) are named in the trace. The message layouts follow python-udsoncan (cross-checked byte for byte) and the exchange the public AUTOSAR Dcm specification. The simulated ECU supports it, protecting DIDs withauthenticationRequired. - UDS Authentication by challenge-response (requestChallengeForAuthentication, then
verifyProofOfOwnershipUnidirectional or Bidirectional, 0x05–0x07): authentication without certificates, with a
key shared with the ECU (new UDS authentication key entries: HMAC-SHA-256 or AES-CMAC over the challenge), a
client certificate's private key (a signature) or a security profile; the algorithmIndicator as hex or an OID,
additional parameters, and a bidirectional ECU's proof checked. Configuration in the Authentication section
asks the ECU which method it offers. What the proof covers is manufacturer specific, so the built-in proofs are
documented as a choice and profiles can supply their own. Test scripts use
t.uds.authenticate_challenge_response(…); the simulated ECU supports it too. - Security profiles and key servers in the Security Manager: manufacturer plug-ins (a Python file, or an installed package's entry point) supplying SecOC keys or authenticators, freshness values, seed/key, and certificates and signatures for UDS Authentication, so secrets need not be kept on this computer. Key server entries reach a server over HTTPS with a bearer token (a documented REST API): seed/key and signatures are computed by the server, SecOC keys held in memory only. From Security Manager in the Diagnostics and GMLAN views chooses a profile's seed/key; profile certificates appear in the Authentication section.
- E2E checks of SOME/IP messages. E2E protections are configured per SOME/IP method or event (E2E… in the
SOME/IP tool, SOME/IP E2E… in the Ethernet capture) and checked as messages arrive: the CRC, the length and
Data ID of the E2E header, and the counter sequence (
REPEATED,WRONG SEQUENCE, or ok with lost messages counted). The protected data starts at the SOME/IP Request ID, as AUTOSAR specifies. The protections are kept between sessions and can be exported and imported as JSON. They are not read from ARXML yet. - E2E profiles 4, 6 and 7 (CRC-32P4, CRC-16 and CRC-64 with an explicit length), the profiles for SOME/IP and other large data, with a configurable header offset; verified against the protocol examples of the AUTOSAR E2E specification, with and without the SOME/IP header. The CRC-64 routine is new too.
- K-Line interface (ISO 9141-2 / ISO 14230 KWP2000). A new python-can backend (
elm327_kline) drives an ELM327/OBDLink adapter on the 10.4 kbit/s K-Line diagnostic bus of non-CAN OBD-II vehicles (roughly 1996–2008, many European and Asian cars). Each K-Line frame is presented as a frame with the three header bytes (format, target, source) in the extended identifier and the payload as the data, so the trace, dashboard, reverse engineering and recording work on it. The channel is the adapter's serial port (as forelm327) with an optional@3/@4/@5suffix choosing ISO 9141-2 slow init, ISO 14230 slow init or ISO 14230 fast init (the default). K-Line is request/response, so frames usually appear only once a tester has started a session. A new K-Line trace decoder names the KWP2000 and OBD-II/J1979 service payloads (which carry no ISO-TP, unlike the KWP2000 decoder). - J1708 interface. A new python-can backend (
j1708) captures a live SAE J1708 bus — the 9600-baud two-wire (RS-485) serial bus of older heavy trucks — through a USB RS-485/J1708 adapter, so it can be monitored, recorded and decoded. Each J1708 message (the MID, its data and checksum) is a frame whose identifier is the MID; select the existing J1587 decoder to describe the parameters. The channel is the serial port with an optional@<baud>suffix (default 9600). Messages are framed by the idle gaps between them (so back-to-back messages with no detectable gap can merge), and sending is best-effort (a plain UART cannot reproduce J1708 bus arbitration); both limits are documented. - Undo and redo in the database editor (↶ ↷, Ctrl+Z / Ctrl+Shift+Z, Ctrl+Y on Windows), for CAN and LIN databases: every edit — fields, adding, removing, duplicating, copying and pasting messages and signals, removing nodes, promoting reverse-engineering results (one step each) — can be undone, and undo selects what it changed. Undoing back to the saved content clears the unsaved-changes mark, and the history survives saving. An edit that fails no longer leaves a partial change behind. Steps copy only the messages they change, so undo stays fast on large databases.
- Duplicate and copy in the database editor: duplicate a message with its signals (next free identifier), duplicate a signal, or copy a signal and paste it into another message, placed at the first free bits where it fits.
- Search signals in the database editor: the search field also finds messages by the names of their signals, listing the matching signals under each message.
- Signals by sender in the database editor: the database as a collapsible tree of sending nodes, their messages and their signals (LIN: by publisher), filtered by the same search, with the matches unfolded. Nodes start unfolded and messages folded; ⊞ and ⊟ unfold and fold everything.
- Live AUTOSAR E2E checks from ARXML. When an ARXML system description protects PDUs with E2E (an
END-TO-END-PROTECTION-SET), the trace checks the CRC of every received frame of those PDUs and shows the result in its description, e.g.[E2E P05 ok, counter 7]or[E2E P05 CRC ERROR 0x0D05, expected 0x0D04, counter 7]. Profiles 2, 5 and 22 are checked; the toolbar shows E2E: n of m checked. A protection whose profile is not implemented, cannot be told from its category, or whose Data IDs do not fit is shown as not checked with the reason (the profile is never guessed). Counter gaps are not tracked, and PDUs inside container frames are not checked. - Copy System Report (menu and command palette) copies what a bug report needs: the CANExplorer, Python, PyQt, Qt and python-can versions, the operating system and desktop, what each CAN driver reported in the last channel detection (it runs one first if needed), and whether the last crash left a crash report.
- Channel detection says why a device is missing. Detect now records, per driver, the channels it found or
why it found none — its driver library is not installed or does not load (with the error), it cannot list
channels, it raised an error, or it timed out — in the log and the system report. Drivers that fail while all
are probed at once are probed again one at a time (some vendor libraries do not tolerate being loaded next to
other drivers). The MCP
interfacestool no longer returns nothing when a single driver fails. - A bug report template on GitHub asking for the system report and the crash report.
- System theme: follows the light or dark mode of the operating system and switches along with it. In light mode and In dark mode choose the theme it shows in each (by default Light and Dark), e.g. Solarized Light and Solarized Dark. Offered first in the theme list.
- States read by shape, not only colour: the marks after the connections in the sidebar — a filled circle when open, a hollow ring when closed, a circle with "!" after an error — and the gateway rule marks (filled circle, diamond, ring) can be told apart by colour-blind users and in the monochrome Night Vision theme; hovering a connection or a rule names its state. The tools use the same marks — running (a database open in the database editor, the multi-bus trace merging, EtherCAT, Physical I/O, DoIP, SOME/IP, Ethernet capture, gateway, a comparison), set up but idle (the multi-bus trace paused or waiting for its connections), a warning (unsaved database changes, gateway rules waiting for their connections, Ethernet security events) or an error (SOME/IP or capture errors) — and so do the views of a connection: a mark after a view while something runs in it (tester present, OBD-II live values, flashing, a UDS discovery scan, XCP, the LIN schedule, a simulation, the restbus, tests, camera recording), or when it has a warning or an error to look at (bus error states, security events, a failed test run, flash or scan); hovering the view says which.
- Theme previews: each theme in Settings → Theme shows swatches of its colours, and picking one previews it on the whole window at once; OK keeps it, Cancel goes back to the previous theme.
- Thirteen new themes (44 in all):
- light partners of dark themes: Solarized Light and Nord Light;
- popular editor palettes: Catppuccin Latte and Catppuccin Mocha, Gruvbox Dark and Gruvbox Light, Tokyo Night and One Dark;
- colour-blind-safe themes on the Okabe-Ito colours: Colour-Safe Dark and Colour-Safe Light at normal contrast, and High Contrast Light (black on white) for bright workshops and laptops in sunlight;
- Night Vision, dim reds on black for working in a vehicle at night without losing dark adaptation;
- Phosphor, a green oscilloscope screen.
Each palette follows its published colours, made lighter or darker where needed to meet the contrast minimums. - Secured frames in the automatic analysis (reverse engineering, also over MCP). With an ARXML describing secured PDUs, their SecOC freshness value and truncated MAC are labelled at the ARXML's bits (SecOC freshness, SecOC MAC) and only the rest is analysed. Without one, random-looking trailing bytes — every bit changing in, and set in, about half of 100 or more frames — are labelled Random (MAC?), as a hint, instead of being split into meaningless values; a checksum at the end of a frame stays a checksum. - UDS discovery unlocks a security level before scanning (Unlock level), with the key algorithm chosen in the Diagnostics view (a file, a Security Manager seed/key algorithm or a security profile), so DIDs, routines and services that answer securityAccessDenied can be scanned too. If the unlock fails, nothing is probed.
Changed¶
cryptographyis a dependency: the SecOC CMAC now uses it instead of a pure-Python AES (same results, checked against the NIST and FIPS test vectors). The DoIP simulator can serve TLS (DoipEntitySimulator(tls=…)).- The Diagnostics view is reorganised. The services are grouped into titled sections (Target ECU, Session, Data identifiers, Security access, Routine control, Raw request) in a resizable left column; the trouble codes (with their Read/Clear buttons and status mask) and the request history are stacked on the right. The header shows the transport, connection, tester-present and loaded-description state. DTCs show their status bits inline and are marked Confirmed or Pending. History entries are numbered cards with the service name and an outcome mark that tells positive responses, negative responses and timeouts apart by shape. Errors appear in a dismissible banner, and both lists show a hint while empty.
- The GMLAN view is reorganised like the Diagnostics view. The services are grouped into titled sections (Target ECU, Diagnostic mode, Data identifiers, Security access, Raw request) in a resizable left column; the trouble codes and the request history are stacked on the right, as numbered cards with an outcome mark. The header shows the single-wire bus and what the page has done to the ECU — the diagnostic operation initiated, normal communication disabled, the security level unlocked and tester present — until Return to normal or a change of ECU addressing. Tester present is a switch, the security level a hex spin box, and errors appear in a dismissible banner.
- The About dialog shows the build's commit and its real build date. Bundles record the commit, the build date (UTC) and the packaging backend when they are built; from a source tree the commit is read from git. "Built on" showed the current date instead of the build date. The crash report and the system report show the same.
- Every theme meets the WCAG contrast minimums: 4.5:1 for text and secondary text, 3:1 for the accent, status and chart colours, against every panel. Colours that fell short were made lighter or darker, keeping their hue — most visibly the secondary text of Dracula and Solarized Dark, the status and chart colours of the light themes (Beach, Beach Towels, Pastel Rainbow, Aquarius, Pink Gold, Bumblebee, Light) and Rainbow's indigo, which was nearly invisible on its background. Bumblebee's fourth chart colour is now blue (it matched the second).
- Chart colours that looked alike were replaced with clearly different ones, so overlaid signals stay distinguishable: two cyans and two purples in Purple, two greens in Forest, two teals in Moonlight, two seafoams in Lollipop, green and teal in Pastel Rainbow, and two reds in Pink Gold.
- Text on accent colours is white or black, whichever is more legible, instead of always white: on filled buttons, check boxes, selected text, badges, the play button and the dashboard icons. White text failed on most themes' accents (e.g. 1.5:1 on Cyberpunk's cyan); among others the default Dark theme's filled buttons now have black text.
Fixed¶
- The Security events page no longer leaves a wide gap at the top while empty. Without events, the toolbar and the explanation were spread down the page; they now sit under the title.
- The traffic breakdown donut no longer overruns with very small shares. A segment below about 0.6 % (e.g. a few extended frames among many standard ones) was drawn the long way round, over the whole chart. Small segments now keep a thin slice of their own, empty ones are left out, and the legend shows shares that round to zero as "<0.1%" instead of "0.0%".
- Auto-scroll keeps following the trace after rows are selected. It used to stop for as long as any row was selected, and could stop short of the newest frame when many arrived at once. It now follows new frames whenever it is ticked; jumping to a search result or a bookmark unticks it so that frame stays in view, and ticking it again jumps to the newest frame. Following new frames scrolls the table smoothly instead of re-laying it out on every refresh.
- Clicking rows in the trace and the overview selects them reliably. A left click no longer clears the selection, a right click selects the row it is on (keeping an existing selection that includes it, so the context menu acts on all selected rows), Shift + click selects the range from the current row, Ctrl + click adds or removes a row, and Ctrl+Shift + click adds a range. Rows are selected on press, so a click also counts when the pointer moves slightly or the button is held. The overview now has a context menu too (copy the selected rows, select all).
- An empty drop-down list now shows "No items" when opened, instead of a thin, half-drawn strip under the box.
- Main window failing to load without a QtMultimedia backend. On Linux systems without PulseAudio
(
libpulse.so.0), QtMultimedia could not load, so the whole main window failed. Now only the Video & map view is unavailable there. The.debpackage now depends onlibpulse0. - TLS key log path on Windows. The Ethernet view showed the loaded key log path with forward slashes; it now uses the platform's native separators.
- Simulated DoIP entity failing to start on Windows ("An attempt was made to access a socket in a way forbidden by its access permissions"). Windows reserves blocks of ports for UDP, and the free ports tried one after another could all lie in one such block; the retries now pick ports at random, also when TCP refuses one.
- Channel detection retries overrunning their time on Windows. After a backend's retry used up the time left, the coarse Windows clock could still show time remaining, so the next failed backend was retried anyway. A retry that raised also ended the whole detection instead of being reported as that backend's error.
- Freeze when opening the Video & map view on Linux without a sound server. Qt Multimedia logs a message
while it loads, which could deadlock the application when QML loaded it in the background; it is now loaded at
start-up. The
.debpackage also depends onlibxrandr2, needed by Qt's FFmpeg media backend.
1.7.1 – 2026-11-13¶
Added¶
- Crash reports. When CANExplorer crashes (e.g. a segmentation fault inside Qt), it now leaves a report with
the Python stack of every thread and a header with the CANExplorer, Python, PyQt and Qt versions, the operating
system and the Qt platform and theme. At the next start a warning names the file (
crash.previous.login~/.local/state/CANExploreron Linux,%LOCALAPPDATA%\CANExploreron Windows,~/Library/Logs/CANExploreron macOS) to attach to a bug report. The cause of an exception that makes PyQt abort is recorded too. A run that exits normally leaves no report. - The About dialog confirms the copy. Copy to Clipboard now shows Copied to clipboard next to the button for a moment.
Fixed¶
- Opening a file dialog no longer crashes the application on Linux desktops without a native file dialog
(#17). On a bare Wayland compositor or X11 window manager, Qt
Quick's file dialog fell back to a QML implementation that cannot load from the PyQt6 wheels (they do not ship
the
Qt.labs.folderlistmodelmodule it needs), and Qt then crashed with a segmentation fault — for example on Key file… in Diagnostics, but equally on every other open or save dialog. All file dialogs are now shown with QtWidgets'QFileDialog: the desktop's own dialog where there is one, Qt's built-in dialog otherwise. Save dialogs still add the chosen format's extension when none is typed. - The simulated DoIP entity starts reliably on Windows. It listened on a free TCP port and then bound UDP to the same number, which Windows can refuse (WinError 10013) when the port lies in a range reserved for UDP; it now tries other free ports until both bind. A failed start no longer leaves the TCP port open.
1.7.0 – 2026-11-08¶
Added¶
- Fade-highlight mode in the Overview. Tick Fade changes and each changed byte glows in the highlight colour and cools back to the text colour over about a second, so you can watch which bytes are active while you operate the vehicle (rather than only seeing which bytes differ from the one previous frame).
- Cross-platform live capture in the Ethernet capture tool. Live capture now works on Linux, macOS and
Windows through libpcap (Npcap on Windows), via a dependency-free ctypes wrapper (
core/pcap_live.py); on Linux it falls back to the previousAF_PACKETsocket when libpcap is absent. The interface list comes from libpcap where available. (Capture still needs privileges — root/CAP_NET_RAW, BPF access or Npcap.) - AVTP stream health in the Ethernet capture tool: an AVTP streams card listing each stream (by stream id and format) with its packet count, lost frames (inferred from gaps in the 8-bit AVTP sequence number), loss % and average rate. Sequence wrap-around, duplicates and reordered frames are accounted for separately.
- More E2E profiles.
can_explorer.core.e2enow implements AUTOSAR E2E Profile 5 (CRC16, 8-bit counter, implicit 16-bit Data ID) and Profile 22 (Profile-2 layout with the CRC8H2F polynomial), alongside Profile 2 — each verified against the worked examples in the AUTOSAR E2E Protocol Specification. - Per-packet field dissection in the Ethernet capture tool: click a packet to open a details pane with its field-by-field breakdown layer by layer — Ethernet, VLAN/R-TAG, IPv4/IPv6, UDP/TCP and the recognised application protocol (SOME/IP messages, AVTP-ACF tunnelled CAN frames), each row recording the byte span it covers.
- AVTP stream formats decoded in the Ethernet capture tool: AAF (audio — format, sample rate, channels, bit depth), CVF (compressed video — format and codec: MJPEG/H.264/H.265) and CRF (clock reference — type, base frequency, timestamp interval) header fields, following the open COVESA Open1722 version-0 layouts. The media payload itself is not decoded.
- AUTOSAR UDP-NM decoding in the Ethernet capture tool: set the UDP-NM port (UDP-NM has no standard port) and matching frames are decoded as UDP-NM, showing the source node, control-bit-vector flags and requested partial networks; the capture is re-decoded when the port changes.
- Fuller SOME/IP payload deserialization: optional (TLV) members (tag/length/value — members may be absent, out of order, or unknown and skipped), unions and bit fields. Unions are read from FIBEX and ARXML and TLV data IDs from FIBEX; the decoder itself also supports bit fields and ARXML TLV for hand-built descriptions.
-
Broader automotive-Ethernet decoding in the Ethernet capture tool: the SRP/TSN stream-reservation control protocols (MVRP, MSRP, MMRP) and the 802.1CB R-TAG (FRER) redundancy tag; MACsec (802.1AE) and IPsec ESP/AH; IGMP and MLD multicast membership; and the infrastructure protocols DHCP and DNS/mDNS (with the queried name). AVTP MAAP address-allocation messages are named with their probe/defend/announce type.
-
Restbus simulation. A new Restbus view on every connection that can transmit sends the connection's database messages periodically at their cycle times, so an ECU on the bench sees the rest of the bus. Choose which messages to send (cyclic ones are on by default, with All / None / Cyclic-only), optionally exclude the node you are testing, set a default cycle for event messages, and edit each message's signal values (even while running). The view follows the connection's database as it is loaded or changed. Message counters and E2E/CRC checksums are not computed (documented in the view's page).
- Clicking the CANExplorer logo/title in the sidebar returns to the welcome page, from any connection or tool.
- Keyboard shortcuts to switch between open connections — Ctrl+Tab / Ctrl+Shift+Tab (or Ctrl+PageDown / Ctrl+PageUp) cycle to the next or previous connection, wrapping around, like browser tabs.
- Editing a read-only database is no longer a dead end. ARXML can be read but not written; the database editor
now points Save and Save as… at the Save-as dialog with a writable file name suggested (the same file as
a
.dbc), so every database that can be edited can always be saved in a writable format (DBC, DBF, KCD or SYM). - In-app help. The user guide is now available inside the app — press F1 or the ? button in the top bar for the page that matches the current view, or open Help from the menu. The help panel has a table of contents for the user guide, full-text search, back/forward navigation and a link to the online docs, and scales screenshots to fit the panel. It is served from the very same Markdown as the documentation website (bundled with the app), so the two never diverge.
- The sidebar can now be collapsed to an icon rail — the logo and the connection/view/tool icons stay visible (labels hidden, names shown as tooltips), giving the views more width without losing navigation. Toggle it with the button at the left of the top bar or with Ctrl+\; the state is remembered between sessions.
- Fieldbus tunnelled over automotive Ethernet (IEEE 1722 ACF) — the Ethernet capture tool decodes the frames
carried in AVTP Acyclic Control Format messages (TSCF and NTSCF carriers): CAN / CAN FD (
ACF_CAN,ACF_CAN_BRIEF, labelled ACF-CAN), LIN (ACF_LIN, ACF-LIN) and FlexRay (ACF_FlexRay, ACF-FlexRay), summarised with the bus id and each frame's identifier/data; other ACF types are named but not expanded. Export CAN log… saves the tunnelled CAN frames to a CAN log file (.asc,.blf,.log, …) so they can be replayed through the ordinary CAN views, plots and reverse-engineering tools. The byte layouts follow the open COVESA Open1722 implementation of IEEE 1722-2016, cross-checked against AUTOSAR; only what those open sources pin down is expanded (see the Ethernet tool's documented limits). - KWP2000 decoder — a new connection/
decode_protocolprotocol for Keyword Protocol 2000 (ISO 14230), the diagnostic protocol that preceded UDS (vehicles from roughly 1996–2006): the same ISO-TP transport and request/response convention as UDS, with the older ISO 14230-3 service set and response codes. - J1939-22 (J1939-FD) decoder — a new protocol for J1939 on CAN FD: single-PG frames decode like J1939 on the longer FD payload, and the FD transport (FD.TP) and multiplexed-PG (Multi-PG) frames are recognised and labelled. (Expanding a Multi-PG frame into its contained PGs and reassembling FD.TP need the byte layout from the paywalled SAE J1939-22 standard, so those frames are labelled but not yet expanded.)
- Network Management (NM) decoder — a new connection/
decode_protocolprotocol that decodes AUTOSAR NM PDUs (the format shared by CAN-NM and UDP-NM): the source node id, the control-bit flags (Repeat Message, Active Wakeup, Sleep Ready, Partial-Network Learning) and the requested partial-network clusters. Useful for seeing who keeps a bus awake and which partial networks are requested. - Secure Onboard Communication (SecOC) — a new protocol that splits a secured PDU into the authentic payload,
the truncated freshness value and the truncated MAC, plus a library (
can_explorer.core.secoc) with a self-contained CMAC/AES-128 (verified against the NIST SP 800-38B and FIPS-197 test vectors) and the SecOC generate/verify operations — the authentication counterpart to the E2E (CRC) library. - RP1210 adapter support — a new
rp1210interface for TMC RP1210 heavy-duty (truck, bus, off-highway) adapters: the Nexiq USB-Link, DG Technologies DPA 5, Noregon DLA+, Cummins INLINE and others. It enumerates the installed drivers fromRP121032.INI(and each vendor's INI) and opens their CAN protocol. RP1210 drivers are 32-bit Windows DLLs, so CANExplorer must run as 32-bit Python to use them; it says so if it cannot load one. - ELM327 over Bluetooth without binding a serial port — an ELM327/OBDLink channel may now be a Bluetooth
address,
bt://AA:BB:CC:DD:EE:FF(optionally…/<channel>), and CANExplorer opens the RFCOMM connection itself instead of needingrfcomm bindfirst. Linux only; on Windows and macOS use the adapter's serial port as before. - Many more colour themes, selectable in the preferences. First Bumblebee (a bright honey-yellow light theme with black-and-amber accents), Pink Gold (a soft rose-pink light theme with gold accents) and Amethyst (a vivid deep-violet background with a full-spectrum chart palette). A theme is now treated as light or dark by its background's luminance, so light-background themes get the light-mode adjustments automatically. Then fifteen more adapted from a collection of beautiful colour palettes: the dark Beautiful Blues, Blueberry, Midnight Plum, Purple Skyline, Moonlight, Lollipop, Space Gray, Cappuccino, Ember, Metro and Prism, and the light Beach Towels, Beach, Pastel Rainbow and Aquarius. Each theme's chart palette carries six distinguishable hues so overlaid signals stay legible even when the source palette is near-monochrome. Finally Rainbow, whose chart palette is the seven canonical rainbow colours (ROYGBIV) in order on a deep neutral base. The theme picker now lists all themes alphabetically.
Changed¶
- Code formatting and linting now use Ruff alone (
ruff format) instead of Black; the style is unchanged (single quotes, 120-column lines). Contributors need only Ruff, and CI checks the formatting withruff format --check. - The automatic reverse-engineering analysis is roughly 3–4× faster. The bit analysis now works on the payloads as a NumPy matrix: the per-bit change counts (the bulk of the multiplexer search and of the field split), and the per-frame CRC/XOR/sum checksum search, are computed in one vectorised pass instead of walking the bits of every frame in Python. The results are unchanged. NumPy is now a core dependency.
- More of the reverse-engineering and plotting work is vectorised with NumPy, with unchanged results. Signal plots reduce each series to one min/max per pixel column in a single pass (much faster redraws on long captures); reference correlation samples and scores every candidate field as arrays (about 10× faster); and the stimulus–response diff counts bit transitions in one pass. (The bit-transition raster was already optimal and is unchanged.)
Fixed¶
- The database editor no longer freezes on large databases. Editing (adding, removing or changing a message or signal) revalidated every message in the database on each edit; it now revalidates only the message that changed. Searching, and every edit, rebuilt the whole message and issue lists in several places (search did it on every keystroke); the lists are now built once per change and reused, and the search filters the cached list. On a database of 500+ messages, searching, adding, removing and saving are now responsive instead of pausing for a couple of seconds.
- Corrected two AVTP (IEEE 1722) subtype labels in the Ethernet capture tool: subtype
0x82is NTSCF (it was mislabelled "ADP") and0x6Eis AEF (continuous) (it was mislabelled "NTSCF"), matching the IEEE 1722 subtype assignments. - Starting a connection's in-app MCP server no longer fails with "Unable to configure formatter 'default'" on
Windows. In a windowed build there is no console, so
sys.stdoutisNoneand uvicorn's default logging configuration — a colour formatter that probessys.stdout— could not be built, which surfaced as that error when choosing an MCP (agent) permission tier. The in-app server now starts uvicorn with its own logging configuration disabled and relies on the application's logging instead.
1.6.0 – 2026-10-31¶
Added¶
-
Automotive Ethernet capture tool: open a pcap or pcapng file (or capture live on Linux) and see the decoded packets — Ethernet, 802.1Q VLAN, IPv4/IPv6, ARP, UDP/TCP — with the automotive protocols on top recognised: SOME/IP (and SOME/IP-SD), DoIP, gPTP (IEEE 802.1AS), AVTP (IEEE 1722, with the stream id and sequence number) and LLDP (neighbour chassis/port, system name, TTL). SOME/IP carried over TCP (reassembled across segments) and SOME/IP-TP segmented messages are decoded in full; a SOME/IP services card lists the services offered in Service Discovery (ids, version, endpoints, offer count), and when the capture contains gPTP a time-sync card summarises the grandmaster and its clock quality, the clocks and domains seen, and the configured and observed Sync rate. Filter by protocol, address or port, see the protocol breakdown, and export back to pcap. Live capture needs root/
CAP_NET_RAWand a tap or mirror port for a full view. -
Much larger MCP surface. The
can-mcpserver gains diagnostics tools — OBD-II (obd_status,obd_dtcs,obd_vin,obd_supported,obd_read,obd_clear) and UDS (uds_read_did,uds_read_dtcs,uds_reset,uds_routine,uds_request) — protocol decoding (decode_protocol), more reverse-engineering verbs (timing,related_signals,capture_reaction), transmit by name (send_message), andlist_interfaces. The bus is also exposed as read-only resources (can://status,can://identifiers,can://frames,can://database) and guided prompts (reverse-engineer an identifier, diagnose trouble codes, find a signal). New permission tiers gate them:--allow-diagnostics(safe reads),--allow-control(active diagnostics) and--allow-send(transmit), each granting the ones below it.--interface/--channelare now optional — the server can start unconnected and the agent opens a bus itself with theconnecttool (afterlist_interfaces), and can switch buses withdisconnect. A database can be loaded or cleared at runtime (load_database/unload_database). - In-app MCP server. The GUI can host the MCP server for a connection it already has open (the Agent…
button on the Trace toolbar), so an agent attaches to the same live bus you are watching — which a separate
can-mcpprocess usually cannot, as most adapters are single-access. It is off by default, listens on127.0.0.1only over the streamable-HTTP transport, is gated by a generated token, and uses the same permission tiers (read-only by default). - OBD-II page (SAE J1979 over CAN): a dedicated page for the standard emissions diagnostics. Scan a vehicle
for its VIN, MIL status and supported values; watch the live values (engine speed, vehicle speed, temperatures,
load, throttle, fuel level, voltage…) as tiles; and read the stored and pending trouble codes (decoded to
P/C/B/Ucodes) or clear them. Built on the UDS/ISO-TP stack; anObdServeranswers for use without a vehicle. - NMEA 2000 and J1587 trace decoders. NMEA 2000 (the marine protocol, built on J1939) decodes the common PGNs into fields — engine, position, COG/SOG, heading, wind, depth, speed, battery — in marine units, with Fast Packet reassembly. J1587 decodes the older heavy-truck bus's messages (MID and PIDs), with common parameters scaled; J1708 is a serial bus (not CAN), so the decoder works on J1587 message bytes from a log or gateway, not a live capture. Both are selectable as the connection protocol, like J1939 and CANopen.
- Bit-transition activity map in the reverse engineering view (the Activity tab): a raster of every bit of the selected identifier across the whole capture — frames across, bits down (byte 0 at the top) — so counters (diagonal ramps), constant bits (flat), toggles and multiplexed regions stand out at a glance, with changed bits highlighted. Complements the frame-at-a-time temporal replay.
- Interactive scripting console in the reverse engineering view (the Console tab): run Python over the
frames captured so far, with the reverse-engineering primitives (
collect,analyse,BitField,candidates,signal_groups,correlate) and the current frames, found fields and helpers in scope, with Python syntax highlighting. Variables persist between runs and a trailing expression's value is shown, like a REPL — the scriptable surface the MCP service gives an AI agent, for a human at the keyboard. - Frame-interval (Δt) and per-byte timing graphs in the reverse engineering view: Plot Δt graphs a selected identifier's inter-frame interval over time (on the Signals page, with cursors, statistics and CSV export) to spot gateways, bursts and event-triggered messages, and Plot bytes graphs every payload byte as a value over time.
- GM Class 2 / SAE J1850 VPW support, for the pre-CAN GM vehicles such as the 1999–2006 P01/P59 PCMs. A new
python-can interface (elm327_vpw) drives an ELM327/OBDLink adapter in J1850 VPW mode (
AT SP 2), so the 10.4 kbit/s single-wire Class 2 bus appears in the connection dialog and the whole application — trace, dashboard, reverse engineering, recording — works on it, with each VPW frame's three-byte header (priority, target, source) in the extended identifier. A J1850 / Class 2 diagnostics page (shown on these connections) runs SAE J1979 over the shared adapter: read current-data PIDs and the VIN, read the stored trouble codes (P0143…) or clear them, and send raw requests. Monitoring and diagnostics are time-multiplexed on the one adapter. Scripts usecan_explorer.core.j1850(J1850Client) andcan_explorer.core.elm327_vpw; aClass2EcuSimulatorallows trying it without hardware. - ARXML SOME/IP descriptions: the SOME/IP tool reads AUTOSAR ARXML service interfaces (chosen by the
.arxmlextension) in addition to FIBEX, resolving theSOMEIP-SERVICE-INTERFACE-DEPLOYMENTservice/method/event ids to the referenced interfaces and their data types to decode payloads into named signals. The same subset as FIBEX is supported — scalars, fixed and dynamic arrays, strings and nested structures. - AUTOSAR E2E protection library (
can_explorer.core.e2e): the AUTOSAR CRC routines (crc8,crc8h2f,crc16,crc32,crc32p4, verified against the published check values) and E2E Profile 2 protect/check, for verifying a SOME/IP or signal PDU's end-to-end CRC and sequence counter. - German, French, Japanese and Chinese translations for the newer views (Ethernet capture, SOME/IP, OBD-II, J1850, the AI agent/MCP dialog and the reverse-engineering panels), which were previously untranslated.
Changed¶
mcpis now a core dependency, not an optional extra: thecan-mcpcommand and the in-app Agent server work out of the box (nopip install 'can-explorer[mcp]').- More reverse-engineering over MCP. New tools let an agent inspect raw bit behaviour and test and commit its
own hypotheses:
bit_activity(per-bit set/flip rates and a per-byte summary),extract_field(decode a candidate bit range over time without a database),mark/clear_markers/reaction_at_markers(find the fields that react at the moments of a repeated action);timinggains aseriesoption (the Δt over time) andpromote_to_dbccan now write field specs the agent supplies (fields=[…]), not only auto-found fields. - Download buttons on the documentation home page: per-platform buttons (Windows, macOS, Linux AppImage and .deb) that link straight to the release's installers, resolved from the GitHub release at page load and with the visitor's platform highlighted; they fall back to the releases page without JavaScript.
- Expanded documentation: the MCP page leads with the in-app server and a screenshot, plus runnable Python
scripting examples for both the in-app server and the
can-mcpcommand; the OBD-II page gains a screenshot and anObdClientscripting example.
Fixed¶
- UDS discovery scans now stop immediately when Stop is pressed, and the button returns to Start. Stopping interrupts the in-flight request instead of only taking effect between requests (so a scan of an unresponsive bus, or an ECU looping on "response pending", no longer appears to ignore Stop until the per-request timeout elapses), and the running state is updated once the scan task has actually finished.
- Closing a connection no longer leaves the remaining connection's view squeezed into a narrow column: the
connection views are no longer hosted in a
StackLayout, which did not reliably resize its current view when a connection was added or removed. - Closing a connection no longer empties the sidebar's view list: when a connection was removed, the current view binding kept pointing at the destroyed delegate, so the per-connection views (Dashboard, Trace, …) disappeared from the sidebar for the connection that remained; it now re-resolves when connections change.
- UDS/OBD requests now skip stale responses left on a shared response id (for example by a live poll that was just stopped), rather than mistaking the first unrelated response for the answer — a response is accepted only if it matches the request's service. This fixes an intermittent "Unexpected response …" failure when reading trouble codes right after toggling live data off.
- Reverse-engineering frame replay steps by frame, not by time, so stepping and scrubbing are exact even when a coarse clock gives several frames the same timestamp (seen on Windows); playback still runs at the recorded pace.
- Example engine simulation: the coolant temperature now cools down when the engine is off or idling instead of only ever warming up — it tracks a load-dependent operating temperature and falls toward ambient when off.
1.5.0 – 2026-10-30¶
Added¶
- SOME/IP over Ethernet tool: listens on UDP, discovers the services offered through SOME/IP-SD (Service Discovery) — with their instances, versions and endpoints — and shows the decoded messages (requests, responses, errors with return codes, events, and the SD entries OfferService / FindService / SubscribeEventgroup). Load a FIBEX file to decode the message payloads into named signals (scalars, strings, fixed and dynamic arrays and nested structs, with a method's request and response decoded separately). Capture is over UDP.
- Capture reaction in the reverse engineering view: record a steady baseline, perform an action, and diff the two to find what changed on the bus — identifiers that appeared and runs of bits that were stable during the baseline but changed during the action (with their before/after values), most reactive first. It is passive (it only reads captured frames, never transmits), so it finds which message controls a relay, light or door without sending unknown frames; replay the captured frame to confirm. A one-click generalization of markers.
- Five more colour themes, selectable in the preferences: Dracula, Solarized Dark, High Contrast (a colour-blind-safe, high-contrast theme using the Okabe-Ito palette on black), Cyberpunk (neon on near-black) and Rosé (hot pink on a deep rosy background). Eleven themes in all.
Fixed¶
- J2534 devices: a device whose USB and Bluetooth connections register as two entries sharing one driver DLL (such as the Autel MaxiFlash VCI) now shows both; detection no longer dropped the second one when deduplicating the 64/32-bit registry views by library path.
1.4.0 – 2026-10-29¶
Added¶
- Temporal replay in the reverse engineering Bits tab: Replay plays the selected identifier's captured frames back over time with a scrubber, play/pause, speed and frame stepping. While replaying, the bit grid, byte values and field value show the payload at the scrub position, with bits that just changed lighting up and fading — so you can scrub to any moment and watch the bits flow and flip.
- MCP interface (
can-mcp, themcpextra): exposes a CAN bus to an AI agent over the Model Context Protocol (stdio). Read-only by default —bus_status,list_identifiers,get_frames(decoded with a database),decode_frame,analyze_identifier(the automatic reverse-engineering analysis),correlate(rank fields against a reference signal, CSV column or inline series),promote_to_dbc(write found fields to a DBC) andload_database— withsend_frameandquery_obdadded only when started with--allow-send. The logic is a Qt-free, SDK-free service layer wrapping aBusSession, so it works with any python-can interface, including a remote bus shared bycan-server.
Changed¶
- The replay playback bar's 10 s skip buttons use the themed back/forward glyphs (◀◀ / ▶▶) instead of coloured emoji, to match the rest of the controls.
Fixed¶
- GVRET devices (ESP32RET and other SavvyCAN-protocol boards): CANExplorer now sends a keepalive once a second, as SavvyCAN does. Some firmware stops streaming frames when the host goes quiet, so capturing could stop after some minutes. The receive queue is also bounded now, so a stalled consumer drops frames (counted and logged) instead of the buffer growing without limit.
1.3.0 – 2026-10-27¶
Added¶
- GMLAN single-wire CAN (SWCAN): connections can open a GM single-wire low-speed bus at 33.3 kbit/s — tick Single-wire CAN (GMLAN) in the new-connection dialog. It sets the bitrate and selects the single-wire transceiver on interfaces that have one (e.g. Kvaser); on SocketCAN and the virtual interface it is the 33.3 kbit/s bitrate. The frames are ordinary CAN frames, so the whole application works on a single-wire bus.
- GMLAN diagnostics (GMW3110): a GMLAN page on each CAN connection speaking the GM/Opel diagnostic
protocol over ISO-TP — one-byte data identifiers (ReadDataByIdentifier 0x1A / WriteDataByIdentifier 0x3B),
InitiateDiagnosticOperation, DisableNormalCommunication, ReturnToNormalMode, ReportProgrammedState, security
access, ReadDiagnosticInformation (DTCs as
P0123-04) and ClearDiagnosticInformation, TesterPresent keep-alive and a raw-request field. A simulated GMLAN ECU (can_explorer.core.simulation.GmlanEcuSimulator) allows trying it without hardware; scripts usecan_explorer.core.gmlan(GmlanClient). -
French, Chinese and Japanese translations of the whole interface, selectable under Settings → Language (or following the system language). Every view is covered — the dashboard, trace, signals, bus health, reverse engineering, the database editor, diagnostics, flashing, UDS/XCP, DoIP, J1939, CANopen, EtherCAT, the bus gateway, physical I/O, simulation and tests — along with the menus, dialogs and settings. The existing German translation was completed to the same coverage. Texts without a translation fall back to English.
-
XCP/CCP measurement & calibration: a page on each CAN connection that connects to an ECU's XCP (ASAM MCD-1 XCP) or CCP slave and reads measurements live and reads or writes calibration values — by memory address, or by name in physical units from a loaded A2L file (ASAM MCD-2 MC: measurements and scalar characteristics with IDENTICAL/LINEAR/RAT_FUNC conversions and the standard data types). Simulated XCP and CCP slaves (
can_explorer.core.xcp,can_explorer.core.ccp) andexamples/calibration/example.a2lallow trying it and testing without hardware; scripts useXcpClient/CcpClientandcan_explorer.core.a2l. -
UDS fuzzing: a Fuzz mode on the UDS discovery page sends mutated requests (bit flips, boundary bytes, truncation, extension) from seed requests or random ones, and flags the anomalies: a positive response to a malformed request, an unusual rejection, and — via a periodic TesterPresent liveness check — the ECU going unresponsive (a possible hang or crash), on which the run stops. Reproducible from a seed number. Needs the state-changing opt-in. Scripts use
can_explorer.core.uds_fuzz.fuzz. - Related signals (reverse engineering): groups fields that carry the same signal across messages — the same
quantity re-broadcast by a gateway, or a scaled or lagged copy — by turning each value field into a reference
and correlating the others with it. Each group gives every member's factor, offset, lag and correlation to the
group's reference, to label unknowns from an already-identified one. Scripts use
can_explorer.core.reverse.related.signal_groups. - Promote to database (reverse engineering): a button on the automatic analysis panel that turns every found
field (except constant bits) into a signal in the database editor in one step — creating each message as needed
and recording each field's kind, multiplexer and details as the signal comment — ready to review and save as a
DBC. Where interpretations of the same bits compete, the most confident one wins, so the result has no
overlapping signals. Scripts use
AnalysisController.found_signalswithDatabaseEditorController.add_found_signals. - Multiplexer editing in the database editor: a signal's Multiplexing can be set to Multiplexer (the
switch) or Multiplexed with its switch values (e.g.
0, 1, 3); when a message has several multiplexers, which switch a signal follows is chosen too. The switch cannot be dropped while signals follow it, and renaming it keeps them pointing at it. Scripts useDatabaseEditor.update_signalwithis_multiplexer,multiplexer_idsandmultiplexer_signal.
Changed¶
- New application logo: a diamond mark used for the window, desktop entry, installers and documentation (rendered
from
docs/assets/logo.svgbytools/make_icons.py). In the interface — the sidebar, welcome page and about dialog — it is drawn in the current theme's accent colour, so the logo follows the selected theme. - The startup update check now runs every time CANExplorer starts (a few seconds after the window opens), instead of at most once a day, so a new release is noticed on the next launch. Preferences → Updates → Check at start still turns it off.
Fixed¶
- The update available dialog no longer clips its content (release notes, hint and buttons) in a short window: it is capped to the window height and the release-notes area scrolls when there is not enough room.
- The unsaved database changes and discard changes dialogs no longer run their message off the edge of the dialog: the width is capped and the message wraps, so a long database name stays inside the dialog.
1.2.0 – 2026-10-21¶
Added¶
- Reverse engineering view of a connection, for finding signals without a database: a bit grid per identifier showing how often each bit changes and flashing changed bits; a Notch that hides the bits changed so far, so the bits of an action (pressing a button, opening a door) stand out, with the identifiers having such bits and those appearing only after the notch; per byte the distinct values, range, entropy and a histogram.
- Bit fields: select bits in the grid (Intel or Motorola, signed, factor, offset, unit) and Plot them on the Signals page, from the first frame in the trace on, without a database; plotted fields are saved in workspaces. Add to database adds the field as a signal, and its message if needed, in the database editor.
- Automatic analysis of the reverse engineering view: finds the fields of every identifier and their kind: checksums (CRC-8 variants with any start value or data ID, AUTOSAR E2E profile 2 style data IDs, XOR and sums), alive counters, multiplexers (with the fields per multiplexer value), physical values (Intel or Motorola, signed when they cross zero), states, flags and constant bits.
- Reference signals: ranks the fields of the trace by their correlation with a database signal, a column of a CSV file (e.g. a GPS log) or OBD-II values polled while recording (engine speed, vehicle speed, temperatures, …), with the factor, offset and time lag of the best match.
- Markers: mark the moments an action happens (Ctrl+M); the fields changing around most markers but rarely otherwise are listed with their values before and after.
- Multiplexed bit fields can be plotted (taking only the frames with their multiplexer value) and are saved in workspaces.
tools/synthetic_traffic.pywrites log files with synthetic traffic from a signal database (smooth, constant, counting, toggling, noisy signals, CRC checksums and steps at given times), for trying the reverse engineering tools; the tests use it to check them against known signals.- ODX/PDX diagnostic descriptions: ECU descriptions in the ASAM MCD-2 D / ISO 22901 ODX format (
.odx,.odx-d) and packaged ODX archives (.pdx) are read alongside CANdelaStudio CDD, to name data identifiers and decode ReadDataByIdentifier responses. Fixed-length data object properties with IDENTICAL, LINEAR or TEXTTABLE compu methods are decoded (unsigned, signed, float, ASCII and UTF-8, in both byte orders); other data is shown in hex. Load one with Description… in the Diagnostics view or with Load database…. - DoIP tool (Diagnostics over IP, ISO 13400-2): UDS diagnostics and flashing of vehicles with an Ethernet
diagnostic port. Discover sends a vehicle identification request and lists the DoIP entities answering
(address, logical address, VIN, EID); Connect opens the TCP connection with routing activation (tester
address, activation type, protocol version 2012 or 2019, optionally TLS on port 3496) and answers the entity's
alive checks. The Diagnostics and Flashing tabs work as for CAN, with the ECU's logical target address.
Status shows the entity status and diagnostic power mode. A simulated entity (a gateway with a simulated
ECU) works without a vehicle. Test scripts use
can_explorer.core.doip(discover,DoipClientwith a UDS transport per target address,DoipEntitySimulator). - UDS discovery page of a connection: an interactive UDS scanner for reverse engineering, finding the
services, data identifiers (ReadDataByIdentifier), subfunctions and routines an ECU exposes, and a byte sweep of
a request template. It sends a probe for every value in a range over the Diagnostics transport (ISO-TP, LIN or
DoIP) and lists the ones the ECU answers, classified as supported, locked (security access), wrong state/session
or rejected; a found request can be opened in the Diagnostics view. Read-only by default; the byte sweep and
starting routines need an explicit opt-in. Scripts use
can_explorer.core.uds_scan(scan_services,scan_data_identifiers,scan_subfunctions,scan_routines,sweep). - Bus gateway tool: forwards frames received on one connection onto another, with a filter, optional
identifier rewriting (a new identifier or a signed offset) and a per-identifier rate limit, with live
forwarded/dropped counters per rule. Only received frames are forwarded and an echo guard prevents loops between
mirror rules. Works between any open connections, including the simulated interface. Scripts use
can_explorer.core.gateway(Gateway,GatewayRule).
Changed¶
- The simulated UDS ECU (
UdsServer) answers truncated or malformed requests with incorrectMessageLengthOrInvalidFormat instead of stopping, as a real ECU does, so it can be scanned.
Fixed¶
- MQTT: the retained
offlinestatus is now published when the bridge is stopped right after connecting (e.g. the connection closed again at once), where a cancellation while still subscribing could skip it. tools/benchmark.pymeasures the trace model as it works now (following the trace store) instead of failing.
1.1.1 – 2026-10-20¶
Fixed¶
- The installers contain the ETAS BOA (
etas), IXXAT (ixxat) and USB2CAN (usb2can) interfaces. These backends load their vendor driver when imported, so a build machine without the driver left them out, and their devices were neither detected nor usable although the interfaces were listed. - The Physical I/O tool was shown in the middle of the window, header included, until a device was opened.
1.1.0 – 2026-10-20¶
Added¶
- Snap (
snap/snapcraft.yaml): the release workflow builds a strictly confined snap from the Linux bundle and publishes it to the Snap Store for release tags (stable; candidate for-rctags, beta for other pre-releases). SocketCAN and USB adapters work aftersnap connect canexplorer:can-busandcanexplorer:raw-usb. The update dialog leaves snaps to snapd. - MQTT: publishes the decoded signals of a connection (
PREFIX/CONNECTION/signals/MESSAGE/SIGNAL, when they change, at most once per interval) and optionally its frames to an MQTT broker, with an online/offline status and automatic reconnection (MQTT… in the connection's toolbar). Optionally sends the frames that other programs publish to…/send, limited to an allow list.can-serverpublishes its buses the same way (--mqtt,--database,--mqtt-frames,--mqtt-send). Needs themqttextra (aiomqtt), which the installers contain. - EtherCAT (CoE) tool: an EtherCAT master for configuring slaves through CANopen over EtherCAT. It finds the
slaves of a network adapter, brings them to Init, Pre-Op or Safe-Op (reporting the AL status of slaves that
refuse), reads and writes their objects over SDO with the object dictionary read from the slave (SDO
information) or an EDS file, reads the PDO assignment and mapping with the mapped objects' values, and collects
emergency messages. Real adapters need the new
ethercatextra (pysoem); the installers do not include it and offer the simulated network, which works without hardware. Cyclic process data (Op) is not exchanged. BIT1toBIT8data types in object dictionaries.- Physical I/O tool: switches the digital outputs of a USB I/O adapter and shows its digital inputs and
analogue values (in volts with a configurable reference, with a short chart). Lines are made inputs (no pull,
pull-up, pull-down, active low) or outputs. Supports aio_usb adapters (the I/O interface of STM32 CAN/LIN/I/O
adapter firmware) through the new
ioextra (pyusb, libusb), and a simulated device that works without hardware. Test scripts use the same devices throughcan_explorer.core.physical_io. - GVRET interface (
gvret, classGvretBus) for devices with SavvyCAN's GVRET protocol: ESP32RET boards, the Macchina M2 (M2RET) and the CANDue. The channel is the serial port, with@1for the device's second bus, orsocket://IP:23for ESP32RET on WiFi; the bitrate (and listen only mode) of the bus is set when it opens, leaving the other bus as it is. Classic CAN only. - J2534 interface (
j2534, classJ2534Bus) for vehicle interfaces with an SAE J2534 04.04 driver, such as the Drew Technologies Mongoose and CarDAQ and the Tactrix OpenPort 2.0 (Windows). The channel is the registered device name or the driver's path; detection lists the registered drivers with CAN. 32-bit drivers, which the 64-bit application cannot load, run in the J2534 bridge, a 32-bit helper program in the Windows installer (or a 32-bit Python when run from source, or the program set inCANEXPLORER_J2534_BRIDGE). - ELM327 interface (
elm327, classElm327Bus) for OBD adapters with the ELM327 command set, such as the OBDLink MX+, LX, SX and EX, over USB, Bluetooth (the paired adapter's serial port) or WiFi (socket://IP:35000). Made for diagnostics: it monitors the bus and sends frames between monitoring, at 500 kbit/s divided by a whole number, and loses frames on busy buses. Detection lists the USB and Bluetooth serial ports.
Fixed¶
- Loading a signal database while a simulation runs restarts the simulation. The nodes look up their messages when
they start, so a simulation started before the database stayed broken (Load a signal database to send message
'VehicleSpeed' by name) until it was restarted by hand.
can-testwarns when--simulationis used without--database. - The installers contain the
canexplorer_remoteinterface (remote buses ofcan-server) and pyserial's URL handlers such assocket://; python-can imports them by name, so the bundles left them out. - Channel detection probes each interface on its own: an error in one driver (python-can lets it end the whole detection) no longer hides the channels of all others, and slow drivers such as ETAS BOA get 15 seconds instead of 5, so ETAS devices are listed on Windows.
Changed¶
- Builds of
masterpublished to GitHub Packages are packaged with PyInstaller again instead of Nuitka; Nuitka stays selectable when starting thereleaseworkflow manually.
1.0.0 – 2026-10-18¶
The first stable release. Highlights since 0.0.1:
- A dashboard-style interface (QML) on an asyncio core, with six themes, a command palette (Ctrl+K) and German texts, handling hundreds of thousands of frames per second and recordings of millions of frames.
- Recording in every replayable format (ASC, BLF, CSV, LOG, TRC, SQLite, MF4, gzip), triggered and split recordings, replays with seeking and replay onto a bus, and comparing two recordings.
- Signal databases (DBC, DBF, KCD, SYM, ARXML, LDF) with an editor for CAN and LIN databases, signal plots with cursors, and the multi-bus trace for several buses on one timeline.
- Diagnostics and protocol tools: UDS over ISO-TP and LIN, ECU flashing, J1939 and CANopen tools, bus health.
- Simulation and test automation: Python nodes, gateways and QML panels; test scripts with requirements, run in
the application or headless in CI with
can-test. - Remote buses through
can-server, installers for Windows, Linux and macOS, and a documentation site.
From 1.0.0 on, CANExplorer follows semantic versioning; the public interfaces are listed under Stability and versioning.
Added¶
Connections and buses¶
- All CAN interfaces of python-can 4.6 (SocketCAN, PEAK, Vector, Kvaser, IXXAT, ETAS, neoVI, NI-XNET, NI-CAN,
SYS TEC, USB2CAN, isCAN, Neousys, CANalyst-II, CANtact, gs_usb, slcan, serial, Robotell, Seeed Studio,
socketcand, UDP multicast, virtual) and the new remote bus, listed with their hardware, platforms, drivers and
CAN FD support in the Supported interfaces reference and the README. The
driversextra (uv sync --extra drivers) installs the Python packages the neoVI, NI-XNET, CANalyst-II, CANtact, gs_usb and UDP multicast interfaces need. - Serial CAN adapters (slcan, python-can's serial protocol) work out of the box:
python-can[serial]installs pyserial. - CAN FD data bitrate setting.
- Channel detection for all python-can interfaces, run in the background.
- Remote buses:
can-servershares the CAN interfaces of a computer (e.g. a Raspberry Pi in a vehicle) over WebSocket, with an optional token; CANExplorer connects with the new RemoteBus interface (python-can interfacecanexplorer_remote, also usable bycan-testand scripts). - Several buses in one view: the Multi-bus trace tool merges the traces of chosen connections on one
timeline with a Bus column, each frame decoded with its own connection's protocol and database. Simulation nodes
receive and send on other connections (
bus='Body'in@on_message,@on_signal,sendandmessage), and the newGatewaynode forwards frames between two buses, optionally changed bytransform, without loops. - Hardware timed periodic transmission (python-can cyclic tasks) as an alternative to the application timer.
Monitoring and analysis¶
- Dashboard user interface modelled on the learnqt.guide dashboards: a sidebar with the connections and the
views of the selected connection, a top bar with breadcrumb, filter field, connect button, notifications and
the application menu, rounded cards throughout and a welcome page with quick actions and recent connections.
The new Dashboard view shows Rx/Tx frame rates, bus load and error frames as cards with one-minute
sparklines and trends, a bus activity area chart, a traffic breakdown donut chart and the busiest identifiers.
Six colour themes (Dark, Purple, Nord, Ocean, Forest, Light) are selectable in the preferences. The menu bar
and the connection tabs are replaced by the sidebar and the ⋮ menu, and errors appear as notifications
instead of modal dialogs. The window is frameless: the top bar moves it and holds the minimize, maximize and
close buttons, and the edges resize it.
A custom Qt Quick Controls style (
CanExplorerStyle) draws all buttons, text fields, combo boxes, spin boxes, check boxes, switches, dialogs, menus, tooltips, tabs, scroll bars and sliders in the theme colours. - Bus health view: error state (active, warning, passive, bus off) with a timeline, error frames, TEC/REC error counters and bus load over the last minute, ten minutes or hour, and the decoded error events. Error frames (SocketCAN layout) are decoded in the trace as well.
- Bus statistics: Rx/Tx frame rates, estimated bus load, error frames and bus state in the status bar.
- Trace search (Ctrl+F, F3/Shift+F3) for text, identifiers, data patterns (
data=01 ?? FF) and signal conditions (EngineData.EngineSpeed > 3500), in the background through millions of frames; bookmarks (Ctrl+B) with notes, a bookmark list and markers; a context menu on trace rows. - Overview sorting: clicking a column header sorts the overview by that column (ascending, descending, back to identifier order); the order is kept while frames arrive, and selections follow their rows. Bytes that differ from the previous frame of an identifier are highlighted in colour as well as bold.
- Long recordings: the trace keeps the most recent frames in memory and pages older ones to temporary files on disk (5 million frames by default, in the user's cache directory), so millions of frames can be scrolled, filtered, searched and exported; preferences for both limits and the directory.
- Live signal plots of database signals over a selectable time window.
- Signal plot analysis: zoom (mouse wheel) and pan (drag) over the whole signal buffer (200,000 points per signal), fixed live windows of 5 s to 5 min and Fit all; two cursors (click, Shift+click) with the values at both cursors, the difference and the minimum, maximum and mean between them; several signals per chart, each with its own scale or a shared one; CSV export of all or the visible range.
Recording and replay¶
- More log formats for recording, export, replay and replay on the bus: ASAM MF4 (with the optional
mf4extra, which installs asammdf) and gzip compressed text logs (.asc.gz,.csv.gz,.log.gz,.trc.gz). One list of formats (core/log_formats.py) serves all of them, so every recordable format can be replayed; the file dialogs name each format and add the extension of the chosen one. - Recording options: splitting into numbered files by size and/or time, and triggered recording with start and optional stop conditions, time kept before and recorded after the trigger, and re-arming.
- Replay controls: replays of log files can be paused and resumed and their speed changed while they run (0.25× to 10×, or as fast as possible), with a playback bar showing position, length and frames. The replay dialog asks for the speed instead of "reproduce original timing".
- Jumping within replays: the playback bar has a position slider and 10 s back/forward buttons; "Replay from here" in the context menu of a trace row continues a replay at that frame. Forward jumps pass the frames in between at once (statistics stay complete), backward jumps read the recording again; replays on the bus skip the frames jumped over.
- Replay on the bus: "Replay to bus…" transmits the frames of a log file on a connected bus with their recorded timing, at 0.25× to 10× or as fast as possible, optionally filtered and repeated, with a playback bar (progress, pause, speed, stop). Errors stop it with a notification.
- Comparing recordings (Tools → Compare recordings): two log files side by side — identifiers only in one of them, changed cycle times, lengths and payloads, paired by start time, by the first frame of an identifier or by frame sequence; with a signal database, value ranges, means and differences of every signal; CSV export.
Signal databases¶
- Database editor (Tools → Database editor, ⋮ → Edit Signal Database…, or "Edit database" on a connection): create and edit DBC, DBF, KCD and SYM databases, and ARXML databases saved as one of them. Messages (name, identifier, length, CAN FD, cycle time, senders, comment), signals (position, byte order, sign, factor, offset, range, unit, initial value, receivers, value descriptions, comment) and nodes; a colour coded bit layout; checks for overlapping or out-of-frame signals and duplicate identifiers; notes on what the target format cannot store; confirmation before discarding unsaved changes. Connections decoding with a saved file reload it.
- LIN database editing: LDF files open in the database editor with tabs for frames and signals, nodes with their node attributes, encoding types and schedule tables. A new LDF writer saves all sections of LIN 2.x files (diagnostic frames, sporadic and event triggered frames, signal groups, all schedule commands); saved files are checked by reading them back. New ▾ creates CAN or LIN databases.
- BUSMASTER DBF signal database reader and writer, and conversion between DBC, DBF, KCD, SYM and ARXML
(input only), in the application (File → Convert Signal Database) and as the
can-db-convertcommand. DBF and LDF files can be loaded as signal databases. - ARXML container frames (container I-PDUs) are decoded into their contained PDUs, whose signals can be plotted.
- Databases describing several buses (ARXML clusters, KCD buses): the bus of a connection is selected from its bitrate, or chosen in the toolbar, so identifiers reused on other buses are decoded correctly.
can-db-convert --busconverts one bus of a multi-bus database.
Diagnostics and protocols¶
- UDS diagnostics (ISO 14229) over ISO-TP on CAN and over the LIN transport layer: diagnostic session
control, ECU reset, tester present keep-alive, read/write data identifiers with names and readable
values for the standard identifiers, security access with a user supplied seed/key algorithm (a Python file
defining
compute_key(level, seed)), reading DTCs with status flags and clearing them, routine control, raw requests and a request history. Handles "response pending" and suppressed positive responses. - CDD (Vector CANdelaStudio) diagnostic descriptions, loaded in the Diagnostics tab or with "Load database…": the ECU's data identifiers are listed by name and ReadDataByIdentifier responses are decoded into fields (scaling, units, text tables, text and float encodings, structures and unions) in the Diagnostics tab and in the UDS and LIN trace decoders. Uses an own reader, as cantools' CDD support is deprecated.
- Passive "UDS" protocol decoder describing the services carried in ISO-TP messages.
- Active ISO-TP client (ISO 15765-2) with flow control, block size, separation time and CAN FD.
- ECU flashing: the Flashing view programs ECUs over UDS from Intel HEX, S-record or binary files:
programming session, security access, erasing, RequestDownload/TransferData/RequestTransferExit per segment
with the ECU's block size, a check routine and an ECU reset, with progress, transfer rate and cancelling. The
simulated ECU accepts downloads;
examples/flashinghas an example firmware and the simulator's key file. - J1939 tools: the J1939 view of J1939 connections lists the nodes with their address claims (NAME fields), lamps and trouble codes; shows the DM1 and DM2 codes of a node with SPN names and FMI texts; requests address claims and DM2, clears codes with DM11/DM3; and sends any parameter group by name, number or database message from hex data or signal values, with BAM or RTS/CTS for more than 8 bytes. The trace decodes address claims and DM1/DM2, also after transport protocol reassembly.
- CANopen master tools: the CANopen view of CANopen connections lists the nodes with their NMT state and
emergency messages; sends NMT commands and SYNC; loads object dictionaries from EDS and DCF files; reads and
writes objects over SDO (expedited and segmented, with abort codes explained) in their data types; and shows the
PDO mappings, from the dictionary or read from the node, with the received values. The trace names SDO objects
and decodes PDO values with the dictionary.
CanOpenNodeSimulatorsimulates a node from an EDS file, andexamples/canopen/io_module.edsdescribes an example I/O module. - LIN support through SocketCAN LIN drivers following the sllin convention (header = RTR frame, response = data frame), selectable as bus type in the connection dialog:
- Passive LIN decoder: headers and responses with protected identifiers, diagnostic transport frames (0x3C/0x3D) with reassembly, LIN node configuration services and UDS.
- LDF (LIN description file) signal decoding and signal plots, via
ldfparser. - LIN master: runs LDF schedule tables, with editable values of the signals the master publishes.
- Header-only transmission, LIN bus load estimation, protected identifier and checksum helpers.
Simulation and test automation¶
- Node simulation and scripting (Simulation tab): Python scripts define simulated nodes (
Nodesubclasses) with handlers for start/stop, received messages (by identifier or database name), signal changes and shared variables, timers, sending raw frames or database messages by signal name, and a console. Script errors are contained and reported. QML panels get apanelobject with live signal and variable values, sending and logging, and drive the nodes through shared variables. Documentation indocs/scripting.md, example inexamples/simulation. - Simulated UDS ECU and LIN slaves (
can_explorer.core.simulation) to try the application without hardware. - Test automation: test scripts (
TestModuleclasses with@testcasemethods) check ECUs on the bus with a test context offering checks (soft and required), sending by database name or identifier, waiting for frames and signal values, cycle time measurement, UDS requests and the simulation's variables. Verdicts passed, failed, error (exceptions, timeouts, failing setup) and skipped. They run in the new Tests view of a connection (select, run, stop, live results and logs) or headless withcan-test(exit code for CI,--simulationto test against simulated nodes), with HTML and JUnit XML reports. Example inexamples/testing. - Test automation for CI: parametrised test cases (
@testcase(params=…, ids=…)), requirement identifiers per test case or module with a requirements table in the HTML report, JUnit properties andcan-test -r REQ, Markdown summaries (--markdown, e.g.$GITHUB_STEP_SUMMARY), and the example test suite runs against the example simulation in the build workflow.
User interface¶
- Command palette (Ctrl+K, Ctrl+Shift+P): every command, view, tool, connection, theme and language by typing a few letters.
- Translations: the interface can be switched to German in the preferences or the command palette, at once
without restarting; translation files are Qt Linguist
.tsfiles kept up to date bytools/update_translations.py. - Workspaces (
.cxw): connections with their bus settings or replayed files, databases, filters, plotted signals, simulation scripts and panels and test scripts, saved in one file with relative paths and reopened with one click (Ctrl+S, Ctrl+Shift+O, recent workspaces on the welcome page). - Glass dialogs: dialogs, menus, popups, combo box lists and the notifications are frosted glass — the window content behind them blurred under a translucent theme tint, with a light edge, a sheen and a soft shadow. With Qt's software renderer they fall back to opaque panels. The documentation screenshots are rendered with OpenGL.
- Movable dialogs: dragging the title of a dialog moves it, within the window; it opens centred again.
- Resizable sidebar: drag its right edge (180–420 pixels, at most half the window), double-click to restore the default; the width is remembered. The top bar's breadcrumb and filter field shrink in narrow windows instead of pushing the window buttons out.
- Logo with a transparent background: shown in the sidebar, on the welcome page and in the About dialog, as
window icon, as icon of the PyInstaller and Nuitka bundles (
.ico,.icns,.png) and as logo and favicon of the documentation, all generated from the artworkdocs/assets/logo.pngbytools/make_icons.py. - Desktop icon on Linux:
--install-desktop-entryadds CANExplorer with its icon to the desktop's application menu (--uninstall-desktop-entryremoves it), and the window is matched to that entry. - Recent connections and log files, a preferences dialog (trace buffer size, view refresh interval) and remembered window geometry.
- Row selection in the tables, Edit → Copy (tab separated) and Select All, and export of the selected or displayed trace rows to a log file.
Packaging, documentation and development¶
- Updates: CANExplorer looks for new GitHub releases at start (at most daily, can be turned off, optionally
including pre-releases) or on request (⋮ → Check for Updates…), shows the release notes, and downloads,
verifies (
SHA256SUMS.txt) and installs the update for the way it was installed: Windows setup, AppImage, Debian package or macOS app; it then restarts. Versions can be skipped. - Installers:
packaging/installer.pycreates a Windows setup (Inno Setup), a Linux AppImage and.debpackage and a macOS disk image from the bundle. The newreleaseworkflow (replacinginstaller) builds them on the three platforms, installs each to check it starts, stores them as artifacts and publishes them with checksums as a GitHub release forv*tags, after checking the tag matches the project version. Builds ofmasterare compiled with Nuitka and published to GitHub Packages (ghcr.io/akj7/canexplorer-installers, via ORAS). - Nuitka as an alternative packaging backend (
packaging/build.py --backend nuitka [--onefile]), selectable in the installer workflow. - Documentation site built with MkDocs and Material for MkDocs (
docs/,mkdocs.yml): installation, quick start, a user guide for every part of the application, reference pages (scripting API generated from the docstrings, QML panel API, command line, file formats, keyboard shortcuts) and development guides, with screenshots generated from the running application (tools/docs_screenshots.py). Thedocsworkflow builds it strictly and publishes it to GitHub Pages. - Documentation in the Dracula colour scheme (
docs/stylesheets/dracula.css, on top of Material for MkDocs). - Throughput benchmark of the receive pipeline and the table models (
tools/benchmark.py). - Test fixtures and tests for ARXML, KCD, SYM and CDD files.
Changed¶
- The application command is now
canexplorer(wasmain, which clashed with other tools on the PATH):uv run canexplorer,canexplorer --install-desktop-entry. - The default log level is
INFO(wasDEBUG); the unuseddebug_modesetting was removed. can-serverandRemoteBuscheck that they speak the same protocol version and say which side to update.- The Docker setup (
Dockerfile,docker-compose.yml) provides a development shell, the test suite and acan-serverservice sharing the host's CAN interfaces. - Project metadata: description, classifiers and project URLs;
pydanticis no longer a direct dependency (it comes withpydantic-settings). - Receive pipeline about 4–7× faster (70 000 → 300 000 frames/s raw, 46 000 → 280 000 frames/s with J1939 and DBC decoding): frames are handed from the receive thread to the event loop in batches, log replay is read in chunks, signal databases are only decoded for displayed rows and the result is cached, and the changed-byte highlighting is computed on demand.
- The overview only refreshes the rows that changed; rebuilding an unfiltered trace is about 20× faster.
- Diagnostics moved into a dedicated controller with a reworked Diagnostics tab.
MainApplicationsimplified;canutilsreduced to the helpers in use.- Runtime dependencies trimmed to what is imported: removed
matplotlib,numpy,qtrio,schemaandpytest-schema;pyinstallerandnuitkamoved to apackagingdependency group andrust-justto thedevgroup. Addedldfparser(pinned) for LIN. - Builds without package metadata (Nuitka) carry the application version in a generated module.
Removed¶
- The unused
can_serverheartbeat module, which needed the undeclaredaiofilepackage. - The AsciiDoc documentation template (
docs/full_doc.adoc) and the outdateddocs/todo.md; the references moved to the documentation site. - The unused
can_explorer/transportpackage (IsoCAN, ISO-TP, J1939 and CANopen transports), superseded by the decoders and clients incan_explorer/core, together with its helpers (util/worker.py,util/validator.py) and tests. - Obsolete version helpers (
util/version.py,sys/version.py), the emptydatabasepackage, the crash handler stub, the placeholderCustomComponent.qmland the trivial demo test. - Empty
publish,releaseandsecurityworkflows.
Fixed¶
- ISO-TP transfers with separation times below the system timer resolution (e.g. 100 µs) took about 15 ms per frame on Windows; frames are now paced with a precise clock.
- Table columns (trace, overview, multi-bus trace) can be resized by dragging the header edges.
- Drop-down lists of combo boxes with named entries (e.g. the language) showed empty rows.
- The About dialog named the license as GPL3; CANExplorer is MIT licensed.
- Connecting to an unreachable
can-serverreported different messages on Windows and Linux. - A binding loop in the dialog style (an elided dialog title).
- Converting a multi-bus database or one with container frames lost information silently; it is now reported, and the signal count includes the signals of contained PDUs.
- The QML window test fixture could crash the test process at exit.
- The GUI could be starved under sustained traffic because the session never yielded to the event loop.
- Default bitrate and data bitrate in the connection dialog were not preselected.
- Channel detection printed a warning for every missing driver and was left pending when quitting.
.vscode/extensions,jsonrenamed toextensions.json.
2026-10-18 – Asyncio core, QML user interface and tooling (5bc1953)¶
Added¶
- Qt-independent asyncio core (
can_explorer/core): message sources for live buses (LiveSource) and log file replay (FileSource),BusSessionwith a bounded trace buffer, per-identifier statistics, message filters, recording and decoding. - Qt and asyncio run on one event loop (qasync); views are refreshed in batches about 30 times per second.
- Trace and per-identifier overview views (count, cycle time, changed bytes highlighted).
- Display filters: hex identifiers and ranges, exclusions and
std/ext/rx/tx/fdkeywords. - Recording to
.asc,.blf,.csv,.log,.trcand.db, and replay with or without the original timing. - DBC/KCD/SYM/ARXML signal decoding with cantools.
- Transmission of single and periodic frames.
- Passive protocol decoders: ISO-TP (with reassembly), J1939 (PGNs, requests, BAM and RTS/CTS transport) and CANopen (NMT, SYNC, EMCY, PDO, SDO, heartbeat).
- Basic UDS requests over ISO-TP in a Diagnostics tab.
- PyInstaller packaging (
packaging/build.py) and an installer workflow building Linux, Windows and macOS bundles and attaching them to GitHub releases forv*tags. - CI workflow running ruff, black and pytest on Linux, Windows and macOS with Python 3.10 and 3.14.
- Test suite for the core, the decoders, the Qt models and the QML window, using python-can's virtual bus.
Changed¶
- Package management moved from Poetry to uv (PEP 621 metadata, hatchling build backend,
uv.lock). - User interface fully moved from Qt Widgets (
.uifiles) to QML: main window, new connection dialog, about dialog with copy to clipboard, trace table. - Settings read
CANEXPLORER_*environment variables and parse command line arguments only when the application starts. - The application version is read from the package metadata instead of
git describe. - Code formatted with black, linted with ruff.
Removed¶
- Qt Widgets user interface (
.uifiles, widget classes, stylesheet) and the thread-pool workers.
Fixed¶
- Resource paths depended on the working directory.
- The application aborted when started from the VS Code snap terminal (GSettings schema error caused by the snap's GTK environment).
Settingsparsed foreign command line arguments when imported (e.g. by pytest).- Recording to BLF could fail for channel names ending in digits and stopped the whole session; a failing recording now only stops the recording.
- Closing a bus blocked the GUI for up to one second.
- Import-time asyncio usage that fails on Python 3.14.
CanMessage.from_cancopiedis_fdintois_extended_id.
2025-11-30 – QML support (c6342fc)¶
Added¶
- QML main window (
ApplicationWindow) with File, Edit and Help menus, shared actions and an about dialog. MainApplicationhosting the QML engine; QML warnings and Qt messages routed to the Python logger.- Application metadata (name, version, build information) exposed to QML.
- Configuration with pydantic-settings and coloured console logging.
2025-10-13 – Resume project (392563d)¶
Added¶
- J1939 addressing and controller applications in the J1939 transport.
- Asyncio based worker base class.
- IsoCAN transport tests on python-can's virtual bus.
Changed¶
- IsoCAN transport reworked on top of asyncio.
2025-02-10 – J1939 transport (f0e30fb)¶
Added¶
- J1939 PDU parsing and frame information (identifier length, arbitration type).
2025-02-08 – Refactoring (8ee4442)¶
Added¶
- First QML main window.
- J1939 and CANopen transport skeletons and a J1939 test.
can_serverpackage (aiohttp based server).
Changed¶
- Transports reorganised into packages (
isocan,isotp,j1939,canopen).
2025-02-08 – Poetry (589ec5f)¶
Changed¶
- Package management moved from Pipenv to Poetry.
- Docker based development container and docker-compose setup; justfile for development tasks.
2024-11-10 – ISO-TP (16b66cb)¶
Added¶
- ISO-TP processing according to ISO 15765-2 (work in progress): addressing modes, PDU parsing, error codes and the transport state machine.
CanMessagemodel.
0.0.1 – 2024-10-21¶
Called "Milestone 0.1.0" in the commit message and the README roadmap.
Added¶
- IsoCAN frames are received through python-can and displayed in the GUI.
- Environment based configuration (
.env).
2024-10-16 – Initial commit (a8d624b)¶
Added¶
- Qt Widgets user interface: main window, new connection dialog, about dialog and a raw CAN frame table.
- Pipenv based project setup, VS Code development container, Dockerfile and a CI workflow skeleton.