serial_read_since
Read serial data received since a given timestamp without consuming it, preserving the read cursor for subsequent reads.
Instructions
Read historical data received since a given timestamp (non-destructive).
Unlike serial_read(), this does NOT advance the read cursor — calling serial_read_since will not affect what serial_read() returns next. If since is omitted, returns all data received since the session was opened.
Args: session_id: Port name of the session. Optional if only one session is open. since: Unix timestamp. If omitted, returns all data since session start. encoding: Character encoding for decoding the data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| encoding | No | utf-8 | |
| session_id | No |