capture_frames
Re-frame a recorded capture's byte stream into timestamped frames by applying a device profile or explicit framing, with pagination—no hardware needed.
Instructions
Re-frame a recorded capture's byte stream: tx and rx each run through a deframer and come back as timestamped frames, paginated by cursor/max_frames. Framing comes from the explicit framing object or the named device's profile — one of the two is required, nothing is assumed. Idle-gap framing is driven by the recorded timestamps, so boundaries match what a live session would have produced. Reads captures/.obcap — no hardware. The result declares view:{kind:"capture"} for show_result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Capture file directly under captures/ | |
| to_ms | No | Only frames at or before this wall-clock ms | |
| cursor | No | Continue a previous page: the next_cursor it returned | |
| device | No | Workspace device whose profile framing to deframe with | |
| framing | No | One of {delimiter}|{idle_ms}|{length_prefix:{header_len,len_at,len_size,endian,extra}}; overrides device | |
| from_ms | No | Only frames at or after this wall-clock ms | |
| max_frames | No | ||
| max_inline_bytes | No | Result JSONs longer than this many bytes are written in full to .openbaud/out/ and returned as a summary carrying a full_result path — keeps huge payloads out of your context. Raise it to force large results inline. |