Documentation ¶
Overview ¶
Simple ADB client
Index ¶
Constants ¶
View Source
const ( A_SYNC = 0x434e5953 A_CNXN = 0x4e584e43 A_AUTH = 0x48545541 A_OPEN = 0x4e45504f A_OKAY = 0x59414b4f A_CLSE = 0x45534c43 A_WRTE = 0x45545257 A_STLS = 0x534C5453 A_STLS_VERSION_MIN = 0x01000000 A_STLS_VERSION = 0x01000000 )
https://android.googlesource.com/platform/packages/modules/adb/+/master/protocol.txt
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
func Connect ¶
func Connect(rw io.ReadWriter, key *rsa.PrivateKey) (*Conn, error)
type PackerHeader ¶
type Packet ¶
type Packet struct { PackerHeader Data []byte }
Click to show internal directories.
Click to hide internal directories.