detect_baudrate_auto
Automatically identify the correct CAN bus baud rate by listening for valid frames at common speeds, given live bus traffic.
Instructions
Auto-detect CAN bus baudrate by listening for valid frames at each common rate. Tries: 500k, 250k, 1M, 125k, 100k, 83.3k, 50k, 33.3k, 20k, 10k bps.
Requires live traffic on the bus. If the bus is idle, put the vehicle/ECU into a state that generates traffic (ignition on, engine running) before calling this.
Args: interface: CAN interface type. Use 'pcan' for PEAK PCAN-USB. channel: Interface channel. Default 'PCAN_USBBUS1' for first PCAN-USB device. timeout_per_rate: Seconds to listen at each baudrate before trying next.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "detect_baudrate_auto"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interface | No | pcan | |
| channel | No | PCAN_USBBUS1 | |
| timeout_per_rate | No |