Versions in this module Expand all Collapse all v0 v0.2.0 Jan 4, 2021 Changes in this version + var AccCaps = []AccCapBit + var Lingos struct + func HandleGeneral(req *ipod.Command, tr ipod.CommandWriter, dev DeviceGeneral) error + type ACK struct + CmdID uint8 + Status ACKStatus + type ACKDataDropped struct + CmdID uint8 + NumBytesDropped uint32 + SessionID uint16 + Status ACKStatus + type ACKPending struct + CmdID uint8 + MaxWait uint32 + Status ACKStatus + type ACKStatus uint8 + const ACKStatusFailed + const ACKStatusPending + const ACKStatusSuccess + const ACKStatusUnkownID + type AccCapBit uint32 + const AccCapAnalogLineIn + const AccCapAnalogLineOut + const AccCapAnalogVideoOut + const AccCapAppComm + const AccCapCheckVolume + const AccCapUSBAudio + func (i AccCapBit) String() string + type AccEndIDPSStatus uint8 + const AccEndIDPSStatusAbandon + const AccEndIDPSStatusContinue + const AccEndIDPSStatusNewLink + const AccEndIDPSStatusReset + type AccInfoType uint8 + const AccInfoFirmware + const AccInfoHardware + const AccInfoMaxPayload + const AccInfoMfr + const AccInfoModel + const AccInfoName + const AccInfoSerial + func (i AccInfoType) String() string + type AccessoryStatusNotification struct + StatusParams []byte + StatusType byte + type AckDevAuthenticationInfo struct + Status DevAuthInfoStatus + type AckDevAuthenticationStatus struct + Status DevAuthStatus + type AckiPodAuthenticationInfo struct + Status byte + type AckiPodAuthenticationStatus struct + Status byte + type CancelCommand struct + CmdID uint16 + LingoID byte + TransactionID uint16 + type CloseDataSession struct + SessionID uint16 + type DevACK struct + AckStatus byte + CmdID byte + type DevAuthInfoStatus uint8 + const DevAuthInfoStatusSupported + type DevAuthStatus uint8 + const DevAuthStatusFailed + const DevAuthStatusPassed + type DevDataTransfer struct + Data []byte + SessionID uint16 + type DeviceGeneral interface + AccAuthCert func(cert []byte) + CancelCommand func(lingo uint8, cmd uint16, transaction uint16) + EndIDPS func(status AccEndIDPSStatus) + EventNotificationMask func() uint64 + LingoOptions func(ling uint8) uint64 + LingoProtocolVersion func(lingo uint8) (major, minor uint8) + MaxPayload func() uint16 + Name func() string + PrefSettingID func(classID uint8) uint8 + SerialNum func() string + SetEventNotificationMask func(mask uint64) + SetPrefSettingID func(classID, settingID uint8, restoreOnExit bool) + SetToken func(token FIDTokenValue) error + SetUIMode func(UIMode) + SoftwareVersion func() (major, minor, rev uint8) + StartIDPS func() + SupportedEventNotificationMask func() uint64 + UIMode func() UIMode + type EndIDPS struct + AccEndIDPSStatus AccEndIDPSStatus + type EnterRemoteUIMode struct + type ExitRemoteUIMode struct + type FIDAccCapsToken struct + AccCapsBitmask uint64 + func (t *FIDAccCapsToken) UnmarshalBinary(data []byte) error + type FIDAccInfoToken struct + AccInfoType byte + Value interface{} + func (t *FIDAccInfoToken) UnmarshalBinary(data []byte) error + type FIDBundleSeedIDPrefToken struct + BundleSeedIDString [11]byte + type FIDEAProtocolMetadataToken struct + MetadataType byte + ProtocolIndex byte + type FIDEAProtocolToken struct + ProtocolIndex byte + ProtocolString []byte + func (t *FIDEAProtocolToken) UnmarshalBinary(data []byte) error + type FIDIdentifyToken struct + AccLingoes []uint8 + DeviceID uint32 + DeviceOptions uint32 + func (t *FIDIdentifyToken) MarshalBinary() ([]byte, error) + func (t *FIDIdentifyToken) UnmarshalBinary(data []byte) error + type FIDMicrophoneCapsToken struct + MicCapsBitmask uint32 + type FIDScreenInfoToken struct + IpodScreenHeightPixels uint16 + IpodScreenWidthPixels uint16 + ScreenFeaturesMask byte + ScreenGammaValue byte + ScreenHeightInches uint16 + ScreenHeightPixels uint16 + ScreenWidthInches uint16 + ScreenWidthPixels uint16 + type FIDTokenValue struct + ID TokenID + Token interface{} + func (v *FIDTokenValue) MarshalBinary() ([]byte, error) + func (v *FIDTokenValue) UnmarshalBinary(data []byte) error + type FIDTokenValueACK struct + ACK interface{} + ID TokenID + func (v *FIDTokenValueACK) MarshalBinary() ([]byte, error) + func (v *FIDTokenValueACK) UnmarshalBinary(data []byte) error + type FIDiPodPreferenceToken struct + PrefClass byte + PrefClassSetting byte + RestoreOnExit byte + type GetAccessoryInfo struct + InfoType byte + type GetAccessoryInfo2 struct + InfoType byte + Major byte + Minor byte + ModelID uint32 + Rev byte + type GetAccessoryInfo3 struct + InfoType byte + LingoID byte + type GetDevAuthenticationInfo struct + type GetDevAuthenticationSignatureV1 struct + Challenge [16]byte + Counter byte + type GetDevAuthenticationSignatureV2 struct + Challenge [20]byte + Counter byte + type GetEventNotification struct + type GetNowPlayingFocusApp struct + type GetSupportedEventNotification struct + type GetUIMode struct + type GetiPodAuthenticationInfo struct + type GetiPodAuthenticationSignature struct + Challenge [20]byte + Counter byte + type GetiPodOptions struct + type GetiPodOptionsForLingo struct + LingoID byte + type GetiPodPreferences struct + PrefClassID byte + type IDPSStatus struct + Status IDPSStatusEnum + type IDPSStatusEnum uint8 + const IDPSStatusOK + const IDPSStatusTimeLimitNotExceeded + const IDPSStatusWillNotAccept + type IPodDataTransfer struct + Data []byte + SessionID uint16 + type IPodNotification struct + Data []byte + NotificationType byte + type IdentifyDeviceLingoes struct + DeviceID uint32 + Lingos LingoMask + Options uint32 + type LingoBit uint32 + const LingoDigitalAudioBit + const LingoDisplayRemoteBit + const LingoEqBit + const LingoExtRemoteBit + const LingoGeneralBit + const LingoRFTunerBit + const LingoSimpleRemoteBit + const LingoSportsBit + const LingoStorageBit + const LingoUSBHostBit + func (i LingoBit) String() string + type LingoMask uint32 + func (m *LingoMask) String() string + type NotifyiPodStateChange struct + StateChange byte + type OpenDataSessionForProtocol struct + ProtocolIndex byte + SessionID uint16 + type RequestApplicationLaunch struct + AppID []byte + Reserved0 byte + Reserved1 byte + Reserved2 byte + func (s *RequestApplicationLaunch) UnmarshalBinary(data []byte) error + type RequestIdentify struct + type RequestLingoProtocolVersion struct + Lingo byte + type RequestRemoteUIMode struct + type RequestTransportMaxPayloadSize struct + type RequestiPodModelNum struct + type RequestiPodName struct + type RequestiPodSerialNum struct + type RequestiPodSoftwareVersion struct + type RetAccStatusNotification struct + StatusMask uint32 + type RetAccessoryInfo struct + Data []byte + InfoType byte + type RetDevAuthenticationInfo struct + CertCurrentSection byte + CertData []byte + CertMaxSection byte + Major byte + Minor byte + func (s *RetDevAuthenticationInfo) UnmarshalBinary(r []byte) error + type RetDevAuthenticationSignature struct + Signature []byte + func (s *RetDevAuthenticationSignature) UnmarshalBinary(r []byte) error + type RetEventNotification struct + EventMask uint64 + type RetFIDTokenValueACKs struct + FIDTokenValueACKs []FIDTokenValueACK + func (s *RetFIDTokenValueACKs) UnmarshalBinary(data []byte) error + func (s RetFIDTokenValueACKs) MarshalBinary() ([]byte, error) + type RetNowPlayingFocusApp struct + AppID []byte + type RetSupportedEventNotification struct + EventMask uint64 + type RetUIMode struct + UIMode UIMode + type RetiPodAuthenticationInfo struct + CertCurrentSection byte + CertData []byte + CertMaxSection byte + Major byte + Minor byte + type RetiPodAuthenticationSignature struct + Signature [20]byte + type RetiPodOptions struct + Options uint64 + type RetiPodOptionsForLingo struct + LingoID byte + Options uint64 + type RetiPodPreferences struct + PrefClassID byte + PrefClassSettingID byte + type ReturnLingoProtocolVersion struct + Lingo byte + Major byte + Minor byte + type ReturnRemoteUIMode struct + Mode byte + type ReturnTransportMaxPayloadSize struct + MaxPayload uint16 + type ReturniPodModelNum struct + Model []byte + ModelID uint32 + func (s *ReturniPodModelNum) UnmarshalBinary(data []byte) error + func (s ReturniPodModelNum) MarshalBinary() ([]byte, error) + type ReturniPodName struct + Name []byte + func (s *ReturniPodName) UnmarshalBinary(data []byte) error + func (s ReturniPodName) MarshalBinary() ([]byte, error) + type ReturniPodSerialNum struct + Serial []byte + func (s *ReturniPodSerialNum) UnmarshalBinary(data []byte) error + func (s ReturniPodSerialNum) MarshalBinary() ([]byte, error) + type ReturniPodSoftwareVersion struct + Major byte + Minor byte + Rev byte + type SetAccStatusNotification struct + StatusMask uint32 + type SetAvailableCurrent struct + CurrentLimit uint16 + type SetEventNotification struct + EventMask uint64 + type SetFIDTokenValues struct + FIDTokenValues []FIDTokenValue + func (s *SetFIDTokenValues) MarshalBinary() ([]byte, error) + func (s *SetFIDTokenValues) UnmarshalBinary(data []byte) error + type SetUIMode struct + UIMode UIMode + type SetiPodPreferences struct + PrefClassID byte + PrefClassSettingID byte + RestoreOnExit byte + type StartIDPS struct + type TokenID struct + FIDSubtype byte + FIDType byte + type UIMode uint8 + const UIModeExtended + const UIModeStandart + const UIModeiPodOut