Documentation
¶
Overview ¶
Package streamwire defines experimental USB-only EPS1 records. CRC detects corruption, not forgery. Never expose this framing as authenticated Wi-Fi.
Index ¶
Constants ¶
const HeaderSize = 32
const MaxPayload = 100
const MaxRecord = HeaderSize + MaxPayload
Variables ¶
var ErrRecord = errors.New("stream wire: invalid record")
Functions ¶
Types ¶
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
Link is owned by one USB loop and retained across disconnects so reconnect cannot bypass refresh cadence. Call Tick even without incoming bytes.