Documentation ¶
Index ¶
Constants ¶
View Source
const ( VendorOne = 0x534c ProductOne = 0x0001 VendorT = 0x1209 ProductT = 0x53C1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TransportHID ¶
type TransportHID struct {
// contains filtered or unexported fields
}
func (*TransportHID) Close ¶
func (t *TransportHID) Close()
func (*TransportHID) SetDevice ¶
func (t *TransportHID) SetDevice(device hid.Device)
func (*TransportHID) Write ¶
func (t *TransportHID) Write(msg []byte)
type TransportHIDAndroid ¶
type TransportHIDAndroid struct {
// contains filtered or unexported fields
}
func (*TransportHIDAndroid) Close ¶
func (t *TransportHIDAndroid) Close()
func (*TransportHIDAndroid) Read ¶
func (t *TransportHIDAndroid) Read() ([]byte, uint16, int, error)
func (*TransportHIDAndroid) SetDevice ¶
func (t *TransportHIDAndroid) SetDevice(device hid.Device)
func (*TransportHIDAndroid) Write ¶
func (t *TransportHIDAndroid) Write(msg []byte)
Click to show internal directories.
Click to hide internal directories.