Browse by type
CAN Commander is a CAN bus toolkit for vehicle reverse engineering, diagnostics and signal injection. An ESP32 board does all of the CAN work; you drive it from a Flipper Zero app, or from a command line over USB or Wi-Fi.
Created and maintained by Matthew KuKanich. The official board is co-developed with Rabbit Labs, who manufacture and sell it.
Read these in order:
Reference formats for the Flipper app's saved profiles: DBC decoding profiles (.dbcprof) and Smart Injection profiles (.injprof). Release notes: app changelog.
Flipper Zero app ---- UART ----> +------------------+ ---> CAN0: built-in TWAI controller + transceiver
USB serial CLI --------------> | ESP32 firmware |
Wi-Fi TCP CLI --------------> +------------------+ ---> CAN1 (optional): MCP2517FD/MCP2518FD or MCP2515
.dbcprof profiles on the Flipper (convert a .dbc file at https://cancommander.com), with per-signal dashboards and value-to-label mapping.| Flipper app (Tools menu) | Firmware tool | Purpose |
|---|---|---|
| Monitor & Discovery > Read All Frames | read_all |
Stream every frame |
| Monitor & Discovery > Filter & Read Frames | filtered |
Stream frames matching an ID mask/filter |
| Monitor & Discovery > Unique IDs | unique_ids |
List IDs seen on the bus |
| Monitor & Discovery > Bit Tracker | bittrack |
Bit-level changes for one ID |
| Monitor & Discovery > Auto Reverse Engineer | reverse |
Find which IDs/bytes an action changes |
| Monitor & Discovery > Value Tracker | valtrack |
Byte value changes and min/max for one stream |
| Monitor & Discovery > CAN Speed Test | speed |
Messages per second |
| Control & Injection > Write Frames | write |
Transmit a frame once, in a burst, or periodically |
| Control & Injection > Smart Injection | custom_inject |
Modify and resend live frames from five slots |
| Control & Injection > Replay | replay |
Record and replay one ID with original timing |
| Vehicle Diagnostics | obd_pid |
OBD-II PIDs, VIN, read/clear DTCs |
| DBC & Databases > DBC Decode | dbc_decode |
Decode signals from loaded DBC definitions |
| Official CAN Commander board | Build your own | |
|---|---|---|
| Microcontroller | ESP32-S3 | ESP32-S3 dev board (classic ESP32 also supported) |
| CAN buses | 2: CAN0 (right port) and CAN1 (left port, MCP2517FD/MCP2518FD) | 1: CAN0 |
| Transceiver | On board | SN65HVD230 module |
| Status LEDs | 2 | Optional |
| Flipper connection | Plugs onto the GPIO header | Four jumper wires |
| Get one | Buy from Rabbit Labs | Build guide |
The firmware also supports other combinations, such as an MCP2515 module as the second bus or custom pin assignments. See "Hardware and Defaults" in the firmware reference.
The official board is available from Rabbit Labs.
The app is a standard ufbt project:
cd CAN_Commander_FlipperZero/can_commander
ufbt # builds dist/can_commander.fap
ufbt launch # installs and starts it on a Flipper connected over USB
The firmware is an Arduino sketch for the ESP32 Arduino core 3.3.x. For the official board:
cd CAN_Commander_Firmware/CAN_Commander_Main
arduino-cli compile --fqbn esp32:esp32:esp32s3:CDCOnBoot=cdc .
arduino-cli upload --fqbn esp32:esp32:esp32s3:CDCOnBoot=cdc -p <PORT> .
Required libraries, other hardware configurations and the full command reference are in the firmware reference.
Follow the build guide. It covers parts, wiring, the firmware build for a single-bus board, and a first test.
CAN_Commander_FlipperZero/
can_commander/ Flipper Zero app (ufbt project)
README.md App guide
README_DBC_CONFIG_FORMAT.md .dbcprof (DBC decoding profile) format
README_SLOT_SET_FORMAT.md .injprof (Smart Injection profile) format
CHANGELOG.md App release notes
LICENSE GPL-3.0
can_commander.c/.h App core
libraries/ UART client for the firmware protocol
scenes/, views/ Menus and dashboards
CAN_Commander_Firmware/
CAN_Commander_Main/ ESP32 firmware (Arduino sketch)
README.md Firmware reference
README_quickstart.md First-session quickstart
docs/BUILD_YOUR_OWN.md DIY single-bus build guide
src/ Firmware source; hardware settings in src/BoardConfig.h
test/host/ Host regression tests (test/host/run.sh)
scripts/build_matrix.sh Builds every supported hardware configuration
LICENSE.md PolyForm Noncommercial 1.0.0
THIRD_PARTY_NOTICES.md Libraries the firmware is built with
| Component | Version |
|---|---|
| Flipper app | v2.3.1 |
| ESP32 firmware | v2.3 |
| Minimum firmware the app accepts | v2.2 (older firmware triggers an in-app warning) |
| ESP32 Arduino core | 3.3.x |
CAN Commander can transmit on a live vehicle network. Injected or replayed frames can set fault codes, light warnings, or operate real vehicle functions. Start with read-only tools (or the firmware's listen-only mode), test transmissions on a bench or a parked vehicle, and stop transmitting tools when you are done. If you enable the Wi-Fi command line, set your own password first: anyone who joins the access point gets full control, including transmitting.
Each part of the repository has its own license:
| Folder | License | In short |
|---|---|---|
CAN_Commander_FlipperZero/ |
GNU GPL v3.0 | Free to use, modify and redistribute; modified versions you distribute must also be GPL-3.0 with source. |
CAN_Commander_Firmware/ |
PolyForm Noncommercial 1.0.0 | Source-available. Free for personal, hobby, research, educational and other noncommercial use; selling devices that run the firmware, or other commercial use, requires permission from the author. |
The firmware is built with third-party libraries under their own licenses; see THIRD_PARTY_NOTICES.md.
$ claude mcp add CAN_Commander \
-- python -m otcore.mcp_server <graph>