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 ¶
View Source
const HeaderSize = 32
View Source
const MaxPayload = 100
View Source
const MaxRecord = HeaderSize + MaxPayload
Variables ¶
View Source
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.
func (*Link) Disconnect ¶
Click to show internal directories.
Click to hide internal directories.