in progress on capture implementation

This commit is contained in:
2022-07-17 23:31:58 -07:00
parent 21240911e3
commit 674b639850
3 changed files with 45 additions and 0 deletions

5
adb.go
View File

@@ -14,6 +14,10 @@ const (
Network
)
// Create a Device with Connect() or a slice with Devices()
//
// Device contains the information necessary to connect to and
// communicate with a device
type Device struct {
SerialNo Serial
ConnType Connection
@@ -21,6 +25,7 @@ type Device struct {
FileHandle string // TODO change this to a discrete type
}
// Provides a connection string for Connect()
type ConnOptions struct {
Address net.IPAddr
SerialNo Serial