aboutsummaryrefslogtreecommitdiff
path: root/transport/serial/usb.go
diff options
context:
space:
mode:
Diffstat (limited to 'transport/serial/usb.go')
-rw-r--r--transport/serial/usb.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/transport/serial/usb.go b/transport/serial/usb.go
index b341321..7656fa4 100644
--- a/transport/serial/usb.go
+++ b/transport/serial/usb.go
@@ -12,7 +12,11 @@ type usbDevice struct {
}
var knownDevices = []usbDevice{
- {VID: "239A", PID: "8029"}, // rak4631_19003
+ // rak4631_19003
+ {VID: "239A", PID: "8029"},
+ // CP210x UART Bridge
+ // Commonly found on Heltec and other devices.
+ {VID: "10C4", PID: "EA60"},
}
func GetPorts() []string {
@@ -26,7 +30,7 @@ func GetPorts() []string {
return nil
}
for _, port := range ports {
- //fmt.Printf("Found port: %s\n", port.SettingName)
+ // fmt.Printf("Found port: %s %s\n", port.PID, port.VID)
if port.IsUSB {
for _, device := range knownDevices {
if device.VID != port.VID {