Skip to content

Commit 5690149

Browse files
committed
Best serial list for Linux
Former-commit-id: 8adfa4434c58485aadd27b6bd72ee9be6e4a131f [formerly 5d212e75e5e1764404a8e3b82edfc9b052bfedae] Former-commit-id: f802925f9c490a51e935d26c8574edca07157aa6
1 parent b5c9d62 commit 5690149

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

serial.go.REMOVED.git-id

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b3bc2648ca328d7a336d3292add78bd3dde414a2
1+
01777f7a0f4c2754722157302390dec6ad93bb59

seriallist.go

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ type OsSerialPort struct {
1414
RelatedNames []string // for some devices there are 2 or more ports, i.e. TinyG v9 has 2 serial ports
1515
SerialNumber string
1616
DeviceClass string
17+
Manufacturer string
18+
Product string
19+
IdProduct string
20+
IdVendor string
1721
}
1822

1923
func GetList() ([]OsSerialPort, os.SyscallError) {

seriallist_linux.go.REMOVED.git-id

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cece6269af4477310b036c4486e2d81967240230
1+
b5b015d2136df2c7140096d98a97f16e71615c3c

0 commit comments

Comments
 (0)