Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device interface { // DeviceCheckpoint returns the log checkpoint note used during the last firmware update. DeviceCheckpoint() ([]byte, error) // ApplyUpdate applies the provided update to the device. ApplyUpdate(api.UpdatePackage) error }
Device represents an updatable device.
Drivers for individual devices would be bound to this interface, which allows a generic flash tool to control the secure update process.
type ErrNeedsInit ¶
type ErrNeedsInit = error
ErrNeedsInit error type indicates that the device is as yet uninitialised and the device may need to be "force" flashed.
Click to show internal directories.
Click to hide internal directories.