serial_open
Open a serial port for exclusive read/write access. Provide the port path and optionally set a baud rate. Close any previous session before opening.
Instructions
Open a serial port exclusively for read/write. Default baud is 115200 (Ratchet UART). Close any previous session first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Serial port path, e.g. COM3 | |
| baudRate | No | Baud rate (default 115200) |