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
- func FilterUsers(users [][]string, countryMap map[string]bool) [][]string
- func ParseUV380Users(reader io.Reader) [][]string
- type Dfu
- func (dfu *Dfu) Close()
- func (dfu *Dfu) ReadCodeplug(data []byte) error
- func (dfu *Dfu) ReadSPIFlash(writer io.Writer) error
- func (dfu *Dfu) ReadUsers(file *os.File) error
- func (dfu *Dfu) WriteCodeplug(data []byte) error
- func (dfu *Dfu) WriteFirmware(iRdr io.Reader) error
- func (dfu *Dfu) WriteUV380Users(users [][]string) error
- func (dfu *Dfu) WriteUsers(filename string) error
Constants ¶
View Source
const ( MinProgress = 0 MaxProgress = 1000000 )
View Source
const CmdSleep = -2
View Source
const (
MaxUV380Users = 122197
)
Variables ¶
This section is empty.
Functions ¶
func ParseUV380Users ¶
Types ¶
type Dfu ¶
type Dfu struct {
// contains filtered or unexported fields
}
func (*Dfu) ReadCodeplug ¶
func (*Dfu) WriteCodeplug ¶
func (*Dfu) WriteUV380Users ¶
func (*Dfu) WriteUsers ¶
Click to show internal directories.
Click to hide internal directories.