serial_esp32_connect
Connect to ESP32 devices via serial port with automatic reset and boot sequence handling. Manages the transition from boot messages to application mode for reliable communication with embedded systems.
Instructions
Connect to ESP32 with automatic reset and boot wait. Handles the ESP32 boot sequence (74880 baud boot messages, then app at 115200). Resets the device and waits for it to be ready.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Serial port (e.g., '/dev/ttyUSB0' or 'COM3') | |
| baudrate | No | Baud rate for application (default: 115200) | |
| reset | No | Reset ESP32 after connecting (default: true) | |
| wait_for_boot | No | Wait for boot to complete (default: true) | |
| boot_timeout | No | Timeout waiting for boot in seconds (default: 5) | |
| ready_pattern | No | Optional pattern to wait for after boot (e.g., 'ready' or prompt) |