Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Descriptions = []Description{ { VID: 0x05ac, PIDs: map[InterfaceKind]gousb.ID{ DFU: 0x1223, WTF: 0x1242, Disk: 0x1262, }, UpdaterFamilyID: 26, Kind: Nano3, }, { VID: 0x05ac, PIDs: map[InterfaceKind]gousb.ID{ DFU: 0x1225, WTF: 0x1243, Disk: 0x1263, }, UpdaterFamilyID: 31, Kind: Nano4, }, { VID: 0x05ac, PIDs: map[InterfaceKind]gousb.ID{ DFU: 0x1231, WTF: 0x1246, Disk: 0x1265, }, UpdaterFamilyID: 34, Kind: Nano5, }, { VID: 0x05ac, PIDs: map[InterfaceKind]gousb.ID{ DFU: 0x1232, WTF: 0x1248, Disk: 0x1266, }, UpdaterFamilyID: 36, Kind: Nano6, }, { VID: 0x05ac, PIDs: map[InterfaceKind]gousb.ID{ DFU: 0x1234, WTF: 0x1249, Disk: 0x1267, }, UpdaterFamilyID: 37, Kind: Nano7, }, }
Functions ¶
This section is empty.
Types ¶
type Description ¶
type InterfaceKind ¶
type InterfaceKind string
const ( DFU InterfaceKind = "dfu" WTF InterfaceKind = "wtf" Disk InterfaceKind = "diskmode" )
type Kind ¶
type Kind string
func (Kind) DFUVersion ¶
func (k Kind) DFUVersion() dfu.ProtoVersion
func (Kind) Description ¶
func (k Kind) Description() Description
Click to show internal directories.
Click to hide internal directories.