esp32_i2c_scan
Scan and classify ESP32 I2C bus addresses, detect responding, unstable, or conflicting devices, and optionally fingerprint responders with safe read-only checks.
Instructions
STAGE 3-5 (BUS DISCOVERY, DEVICE DETECTION, FINGERPRINTING). Comprehensive I2C scan. Returns every responding address in hex and decimal, ACK result, response timing, scan duration, errors and bus errors. Distinguishes RESPONDS / NO_RESPONSE / BUS_ERROR / UNSTABLE / ADDRESS_CONFLICT / RESERVED_SKIPPED. Optionally performs a safe fingerprint (a plain read, no command bytes) on each responder. Address-based profile matches are returned as LOW-confidence hints only — an I2C address never identifies a device.
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": "esp32_i2c_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scl | No | SCL GPIO (optional, uses the board default) | |
| sda | No | SDA GPIO (optional, uses the board default) | |
| port | No | Serial port (optional) | |
| repeats | No | Probes per address, 1-8. More repeats detect unstable devices (default: 3) | |
| timeoutMs | No | Request timeout in ms (optional) | |
| controller | No | I2C controller index (default: 0) | |
| endAddress | No | Last address to probe (default: 119) | |
| fingerprint | No | Perform a safe read-only fingerprint of each responder (default: true) | |
| frequencyHz | No | Bus frequency in Hz, 1000-1000000 (default: 100000) | |
| startAddress | No | First address to probe (default: 8) |