Skip to content

CANExplorer 1.11.1

Latest

Choose a tag to compare

@AKJ7 AKJ7 released this 01 Dec 10:29
f8120b3

Added

  • Reverse-engineering agent skill: a Claude Code plugin (plugins/canexplorer, installable with
    /plugin marketplace add AKJ7/CANExplorer) with the can-reverse-engineering skill. 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.py compares both trace stores; tools/benchmark_socketcan.py has --store columns and
    --no-gc-control, and runs without root in a private network namespace.
  • canexplorer --check-interfaces loads 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_indices method.

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.toml instead of a list of its own, and the installers include the new
    usb extra: 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 2020 rawmode-canfd branch (< 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 CanOperationError instead of spinning or
    reporting a generic error, and an unterminated message can no longer make the receive buffer grow without bound.

Downloads

Platform Installer Portable
Windows 10/11 (x64) CANExplorer-1.11.1-windows-x86_64-setup.exe CANExplorer-1.11.1-windows-x86_64.zip
Linux (x86-64, glibc 2.35+) CANExplorer-1.11.1-linux-x86_64.AppImage (any distribution), CANExplorer-1.11.1-linux-x86_64.deb (Debian, Ubuntu), or sudo snap install canexplorer CANExplorer-1.11.1-linux-x86_64.zip
macOS (Apple silicon) CANExplorer-1.11.1-macos-arm64.dmg CANExplorer-1.11.1-macos-arm64.zip

Installed copies of CANExplorer 1.0.0 and later offer this update themselves (⋮ → Check for Updates…).
The installers are not code signed yet: on Windows choose More info → Run anyway in the SmartScreen
dialog, on macOS open the app with a right click → Open the first time. SHA256SUMS.txt lists the
checksums of all files.