-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvendors.go
36 lines (30 loc) · 843 Bytes
/
vendors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package nfcptl
const (
// Vendor aliases
VendorDatelElextronicsLtd = "datel"
VendorMaxlander = "maxlander"
VendorSiliconLabs = "silabs"
// Vendor IDs
VIDDatelElectronicsLtd uint16 = 0x1c1a
VIDMaxlander = 0x5c60
VIDSiliconLabs = 0x10c4
// Product aliases
ProductPowerSavesForAmiibo = "ps4amiibo"
ProductMaxLander = "maxlander"
ProductN2EliteUSB = "n2eliteusb"
// Product IDs
PIDPowerSavesForAmiibo uint16 = 0x03d9
PIDMaxLander = 0xdead
PIDCP210xUARTBridge = 0xea60
)
// Vendor describes a vendor and its products as supported by the Driver.
type Vendor struct {
ID uint16
Alias string
Products []Product
}
// Product describes a product supported by the driver.
type Product struct {
ID uint16
Alias string
}