serial.read_until
Read serial port data until a delimiter string is encountered or a maximum byte count is reached, with configurable timeout and output format.
Instructions
Read from the serial port until a delimiter string is received or max_bytes is reached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| delimiter | No | Delimiter to read until (default \n). | \n |
| timeout_ms | No | Override read timeout (milliseconds). | |
| max_bytes | No | Maximum bytes to read (default 4096). | |
| as | No | Output format (default text). | text |