Documentation
¶
Index ¶
- type HidDevice
- func (h *HidDevice) Close() error
- func (h *HidDevice) GetRawInfo() (*unix.HIDRawDevInfo, error)
- func (h *HidDevice) GetRawName() (string, error)
- func (h *HidDevice) IsFido() (bool, error)
- func (h *HidDevice) Read(buf []byte) (int, error)
- func (h *HidDevice) SendAndReceive(cmd uint8, data []byte) ([]byte, error)
- func (h *HidDevice) SetNewCID(newCid uint32)
- func (h *HidDevice) SetReportSize() error
- func (h *HidDevice) Write(buf []byte) (int, error)
- type PACKET
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HidDevice ¶
type HidDevice struct {
// contains filtered or unexported fields
}
func NewHidDevice ¶
func (*HidDevice) GetRawInfo ¶
func (h *HidDevice) GetRawInfo() (*unix.HIDRawDevInfo, error)
func (*HidDevice) GetRawName ¶
func (*HidDevice) SendAndReceive ¶
func (*HidDevice) SetReportSize ¶
Click to show internal directories.
Click to hide internal directories.