Documentation
¶
Overview ¶
Package flashreset defines the portable presets and receipts used to replace the persistent Pattern rows of a blink(1). Hardware access lives in devicebackend.
Index ¶
Constants ¶
const ( Off = "off" Rainbow = "rainbow" Starlight = "starlight" Fireflies = "fireflies" Default = Off Acknowledged = "acknowledged" Unconfirmed = "unconfirmed" StagingFailed = "staging_failed" )
Variables ¶
var ErrUnsupported = errors.New("flash preset reset is unsupported for this device or session")
Functions ¶
Types ¶
type Result ¶
type Result struct {
Serial string `json:"serial"`
Preset string `json:"preset"`
Firmware int `json:"firmware"`
Lines int `json:"lines"`
Staged int `json:"staged"`
Verified int `json:"verified"`
Status string `json:"status"`
}
Result counts successful RAM staging calls and matching RAM observations. A failed staging call can have changed the next RAM row as well. Acknowledged only describes acceptance of a single save request, never cold verification.