Documentation ¶
Overview ¶
Package dfu implements reading/writing from/to the md380 radio via usb.
Package dfu implements reading/writing from/to the md380 radio via usb.
Index ¶
- Constants
- type Dfu
- func (dfu *Dfu) Close()
- func (dfu *Dfu) ReadCodeplug(data []byte) error
- func (dfu *Dfu) ReadMD380Users(writer io.Writer) error
- func (dfu *Dfu) ReadSPIFlash(writer io.Writer) error
- func (dfu *Dfu) WriteCodeplug(data []byte) error
- func (dfu *Dfu) WriteFirmware(iRdr io.Reader) error
- func (dfu *Dfu) WriteMD380Users(db *userdb.UsersDB) error
- func (dfu *Dfu) WriteRawMD380Users(rdr io.Reader, size int) error
- func (dfu *Dfu) WriteUV380Users(db *userdb.UsersDB) error
Constants ¶
View Source
const ( MinProgress = 0 MaxProgress = 1000000 )
View Source
const CmdSleep = -2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dfu ¶
type Dfu struct {
// contains filtered or unexported fields
}
func (*Dfu) ReadCodeplug ¶
func (*Dfu) ReadMD380Users ¶ added in v1.0.18
func (*Dfu) WriteCodeplug ¶
func (*Dfu) WriteMD380Users ¶ added in v1.0.18
func (*Dfu) WriteRawMD380Users ¶ added in v1.0.21
Click to show internal directories.
Click to hide internal directories.