Versions in this module Expand all Collapse all v1 v1.0.0 Jul 2, 2023 Changes in this version + const QuicktimeSubclass + const UsbMuxSubclass + func Correct24CharacterSerial(usbSerial string) string + func OpenDevice(ctx *gousb.Context, iosDevice IosDevice) (*gousb.Device, error) + func PrintDeviceDetails(devices []IosDevice) []map[string]interface + func ValidateUdid(udid string) (string, error) + type CmSampleBufConsumer interface + Consume func(buf coremedia.CMSampleBuffer) error + Stop func() + type IosDevice struct + PID gousb.ID + ProductName string + QTConfigIndex int + SerialNumber string + UsbInfo string + UsbMuxConfigIndex int + VID gousb.ID + func DisableQTConfig(device IosDevice) (IosDevice, error) + func EnableQTConfig(device IosDevice) (IosDevice, error) + func FindIosDevice(usbSerial string) (IosDevice, error) + func FindIosDevices() ([]IosDevice, error) + func (d *IosDevice) DetailsMap() map[string]interface{} + func (d *IosDevice) IsActivated() bool + func (d *IosDevice) String() string + func (d IosDevice) ReOpen(ctx *gousb.Context) (IosDevice, error) + type MessageProcessor struct + func NewMessageProcessor(usbWriter UsbWriter, stopSignal chan interface{}, consumer CmSampleBufConsumer, ...) MessageProcessor + func NewMessageProcessorWithClockBuilder(usbWriter UsbWriter, stopSignal chan interface{}, consumer CmSampleBufConsumer, ...) MessageProcessor + func (mp *MessageProcessor) CloseSession() + func (mp *MessageProcessor) ReceiveData(data []byte) + type UsbAdapter struct + Dump bool + DumpInWriter io.Writer + DumpOutWriter io.Writer + func (usbAdapter *UsbAdapter) StartReading(device IosDevice, receiver UsbDataReceiver, stopSignal chan interface{}) error + func (usbAdapter *UsbAdapter) WriteDataToUsb(bytes []byte) + type UsbDataReceiver interface + CloseSession func() + ReceiveData func(data []byte) + type UsbWriter interface + WriteDataToUsb func(data []byte)