read_port
Read data from an open serial port by providing the port name. Optionally set maximum bytes to read (up to 4096) and timeout in seconds.
Instructions
Read data from an open serial port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | The name of the port to read from. | |
| size | No | Maximum number of bytes to read (default: 4096, max: 4096). | |
| timeout | No | Optional timeout override in seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |