serial_clear_buffer
Clear buffered serial data and reset the read cursor for a specified port while preserving log files.
Instructions
Drop buffered lines and reset the read cursor; log files are kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Serial port name, e.g. COM5 or /dev/ttyUSB0 |