Documentation
¶
Index ¶
- func Run(ctx *context.Context) error
- type Flasher
- func (flasher *Flasher) Close() error
- func (flasher *Flasher) Expect(buffer string, response string, timeout int) (string, error)
- func (flasher *Flasher) ExpectMinBytes(buffer string, response string, timeout int, min_bytes int) (string, error)
- func (flasher *Flasher) GetFwVersion() (string, error)
- func (flasher *Flasher) Hello() error
- func (flasher *Flasher) Write(address uint32, buffer []byte) error
- type FlasherError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Flasher ¶
type Flasher struct {
// contains filtered or unexported fields
}
func OpenFlasher ¶
func (*Flasher) ExpectMinBytes ¶
func (*Flasher) GetFwVersion ¶
type FlasherError ¶
type FlasherError struct {
// contains filtered or unexported fields
}
func (FlasherError) Error ¶
func (e FlasherError) Error() string
Click to show internal directories.
Click to hide internal directories.