iobluetooth

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

WIP

TODO: * Issue where there is both OBEXSession and IOBluetoothOBEXSession, which inherits from OBEXSession, except the prefix is trimmed so both cannot exist

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AFHHostChannelClassification

type AFHHostChannelClassification struct {
	Data [10]uint8
}
[Full Topic]

type AFHResults

type AFHResults struct {
	Handle    uint16
	Mode      uint8
	AfhMap    [10]uint8
	Pad_cgo_0 [1]byte
}
[Full Topic]

type DeviceAddress

type DeviceAddress struct {
	Data [6]uint8
}
[Full Topic]

type DeviceSearchAttributes

type DeviceSearchAttributes struct {
	Options              uint32
	MaxResults           uint32
	DeviceAttributeCount uint32
	AttributeList        *DeviceSearchDeviceAttributes
}
[Full Topic]

type DeviceSearchDeviceAttributes

type DeviceSearchDeviceAttributes struct {
	Address           DeviceAddress
	Name              [248]uint8
	ServiceClassMajor uint32
	DeviceClassMajor  uint32
	DeviceClassMinor  uint32
}

Bits to determine what Bluetooth devices to search for Full Topic

type EnhancedSynchronousConnectionInfo

type EnhancedSynchronousConnectionInfo struct {
	TransmitBandWidth                 uint32
	ReceiveBandWidth                  uint32
	TransmitCodingFormat              uint64
	ReceiveCodingFormat               uint64
	TransmitCodecFrameSize            uint16
	ReceiveCodecFrameSize             uint16
	InputBandwidth                    uint32
	OutputBandwidth                   uint32
	InputCodingFormat                 uint64
	OutputCodingFormat                uint64
	InputCodedDataSize                uint16
	OutputCodedDataSize               uint16
	InputPCMDataFormat                uint8
	OutputPCMDataFormat               uint8
	InputPCMSampelPayloadMSBPosition  uint8
	OutputPCMSampelPayloadMSBPosition uint8
	InputDataPath                     uint8
	OutputDataPath                    uint8
	InputTransportUnitSize            uint8
	OutputTransportUnitSize           uint8
	MaxLatency                        uint16
	VoiceSetting                      uint16
	RetransmissionEffort              uint8
	PacketType                        uint16
	Pad_cgo_0                         [4]byte
}
[Full Topic]

type EventFilterCondition

type EventFilterCondition struct {
	Data [7]uint8
}
[Full Topic]

type HCIAcceptSynchronousConnectionRequestParams

type HCIAcceptSynchronousConnectionRequestParams struct {
	TransmitBandwidth    uint32
	ReceiveBandwidth     uint32
	MaxLatency           uint16
	ContentFormat        uint16
	RetransmissionEffort uint8
	PacketType           uint16
}
[Full Topic]

type HCIAutomaticFlushTimeoutInfo

type HCIAutomaticFlushTimeoutInfo struct {
	Handle  uint16
	Timeout uint16
}
[Full Topic]

type HCIBufferSize

type HCIBufferSize struct {
	ACLDataPacketLength    uint16
	SCODataPacketLength    uint8
	TotalNumACLDataPackets uint16
	TotalNumSCODataPackets uint16
}
[Full Topic]

type HCICurrentInquiryAccessCodes

type HCICurrentInquiryAccessCodes struct {
	Count uint8
	Codes *HCIInquiryAccessCode
}
[Full Topic]

type HCICurrentInquiryAccessCodesForWrite

type HCICurrentInquiryAccessCodesForWrite struct {
	Count uint8
	Codes [192]uint8
}
[Full Topic]

type HCIEncryptionKeySizeInfo

type HCIEncryptionKeySizeInfo struct {
	Handle    uint16
	KeySize   uint8
	Pad_cgo_0 [1]byte
}
[Full Topic]

type HCIEnhancedAcceptSynchronousConnectionRequestParams

type HCIEnhancedAcceptSynchronousConnectionRequestParams struct {
	TransmitBandwidth                 uint32
	ReceiveBandwidth                  uint32
	TransmitCodingFormat              uint64
	ReceiveCodingFormat               uint64
	TransmitCodecFrameSize            uint16
	ReceiveCodecFrameSize             uint16
	InputBandwidth                    uint32
	OutputBandwidth                   uint32
	InputCodingFormat                 uint64
	OutputCodingFormat                uint64
	InputCodedDataSize                uint16
	OutputCodedDataSize               uint16
	InputPCMDataFormat                uint8
	OutputPCMDataFormat               uint8
	InputPCMSamplePayloadMSBPosition  uint8
	OutputPCMSamplePayloadMSBPosition uint8
	InputDataPath                     uint8
	OutputDataPath                    uint8
	InputTransportUnitSize            uint8
	OutputTransportUnitSize           uint8
	MaxLatency                        uint16
	PacketType                        uint16
	RetransmissionEffort              uint8
	Pad_cgo_0                         [7]byte
}
[Full Topic]

type HCIEnhancedSetupSynchronousConnectionParams

type HCIEnhancedSetupSynchronousConnectionParams struct {
	TransmitBandwidth                 uint32
	ReceiveBandwidth                  uint32
	TransmitCodingFormat              uint64
	ReceiveCodingFormat               uint64
	TransmitCodecFrameSize            uint16
	ReceiveCodecFrameSize             uint16
	InputBandwidth                    uint32
	OutputBandwidth                   uint32
	InputCodingFormat                 uint64
	OutputCodingFormat                uint64
	InputCodedDataSize                uint16
	OutputCodedDataSize               uint16
	InputPCMDataFormat                uint8
	OutputPCMDataFormat               uint8
	InputPCMSamplePayloadMSBPosition  uint8
	OutputPCMSamplePayloadMSBPosition uint8
	InputDataPath                     uint8
	OutputDataPath                    uint8
	InputTransportUnitSize            uint8
	OutputTransportUnitSize           uint8
	MaxLatency                        uint16
	PacketType                        uint16
	RetransmissionEffort              uint8
	Pad_cgo_0                         [7]byte
}
[Full Topic]

type HCIEventAuthenticationCompleteResults

type HCIEventAuthenticationCompleteResults struct {
	ConnectionHandle uint16
}
[Full Topic]

type HCIEventChangeConnectionLinkKeyCompleteResults

type HCIEventChangeConnectionLinkKeyCompleteResults struct {
	ConnectionHandle uint16
}
[Full Topic]

type HCIEventConnectionCompleteResults

type HCIEventConnectionCompleteResults struct {
	ConnectionHandle uint16
	DeviceAddress    DeviceAddress
	LinkType         uint8
	EncryptionMode   uint8
}
[Full Topic]

type HCIEventConnectionPacketTypeResults

type HCIEventConnectionPacketTypeResults struct {
	ConnectionHandle uint16
	PacketType       uint16
}
[Full Topic]

type HCIEventConnectionRequestResults

type HCIEventConnectionRequestResults struct {
	DeviceAddress DeviceAddress
	ClassOfDevice uint32
	LinkType      uint8
	Pad_cgo_0     [3]byte
}
[Full Topic]

type HCIEventDataBufferOverflowResults

type HCIEventDataBufferOverflowResults struct {
	LinkType uint8
}
[Full Topic]

type HCIEventDisconnectionCompleteResults

type HCIEventDisconnectionCompleteResults struct {
	ConnectionHandle uint16
	Reason           uint8
	Pad_cgo_0        [1]byte
}
[Full Topic]

type HCIEventEncryptionChangeResults

type HCIEventEncryptionChangeResults struct {
	ConnectionHandle uint16
	Enable           uint8
	Pad_cgo_0        [1]byte
}
[Full Topic]

type HCIEventEncryptionKeyRefreshCompleteResults

type HCIEventEncryptionKeyRefreshCompleteResults struct {
	ConnectionHandle uint16
}
[Full Topic]

type HCIEventFlowSpecificationData

type HCIEventFlowSpecificationData struct {
	ConnectionHandle uint16
	Flags            uint8
	FlowDirection    uint8
	ServiceType      uint8
	TokenRate        uint32
	TokenBucketSize  uint32
	PeakBandwidth    uint32
	AccessLatency    uint32
}
[Full Topic]

type HCIEventFlushOccurredResults

type HCIEventFlushOccurredResults struct {
	ConnectionHandle uint16
}
[Full Topic]

type HCIEventHardwareErrorResults

type HCIEventHardwareErrorResults struct {
	Error uint8
}
[Full Topic]

type HCIEventLEConnectionCompleteResults

type HCIEventLEConnectionCompleteResults struct {
	ConnectionHandle    uint16
	Role                uint8
	PeerAddressType     uint8
	PeerAddress         DeviceAddress
	ConnInterval        uint16
	ConnLatency         uint16
	SupervisionTimeout  uint16
	MasterClockAccuracy uint8
}
[Full Topic]

type HCIEventLEConnectionUpdateCompleteResults

type HCIEventLEConnectionUpdateCompleteResults struct {
	ConnectionHandle   uint16
	ConnInterval       uint16
	ConnLatency        uint16
	SupervisionTimeout uint16
}
[Full Topic]

type HCIEventLEEnhancedConnectionCompleteResults

type HCIEventLEEnhancedConnectionCompleteResults struct {
	ConnectionHandle              uint16
	Role                          uint8
	PeerAddressType               uint8
	PeerAddress                   DeviceAddress
	LocalResolvablePrivateAddress DeviceAddress
	PeerResolvablePrivateAddress  DeviceAddress
	ConnInterval                  uint16
	ConnLatency                   uint16
	SupervisionTimeout            uint16
	MasterClockAccuracy           uint8
}
[Full Topic]

type HCIEventLELongTermKeyRequestResults

type HCIEventLELongTermKeyRequestResults struct {
	ConnectionHandle uint16
	RandomNumber     [8]uint8
	Ediv             uint16
}
[Full Topic]

type HCIEventLEMetaResults

type HCIEventLEMetaResults struct {
	Length uint8
	Data   [255]uint8
}
[Full Topic]

type HCIEventLEReadRemoteUsedFeaturesCompleteResults

type HCIEventLEReadRemoteUsedFeaturesCompleteResults struct {
	ConnectionHandle uint16
	UsedFeatures     HCISupportedFeatures
}
[Full Topic]

type HCIEventLinkKeyNotificationResults

type HCIEventLinkKeyNotificationResults struct {
	DeviceAddress DeviceAddress
	LinkKey       Key
	KeyType       uint8
}
[Full Topic]

type HCIEventMasterLinkKeyCompleteResults

type HCIEventMasterLinkKeyCompleteResults struct {
	ConnectionHandle uint16
	KeyFlag          uint8
	Pad_cgo_0        [1]byte
}
[Full Topic]

type HCIEventMaxSlotsChangeResults

type HCIEventMaxSlotsChangeResults struct {
	ConnectionHandle uint16
	MaxSlots         uint8
	Pad_cgo_0        [1]byte
}
[Full Topic]

type HCIEventModeChangeResults

type HCIEventModeChangeResults struct {
	ConnectionHandle uint16
	Mode             uint8
	ModeInterval     uint16
}
[Full Topic]

type HCIEventPageScanModeChangeResults

type HCIEventPageScanModeChangeResults struct {
	DeviceAddress DeviceAddress
	PageScanMode  uint8
}
[Full Topic]

type HCIEventPageScanRepetitionModeChangeResults

type HCIEventPageScanRepetitionModeChangeResults struct {
	DeviceAddress          DeviceAddress
	PageScanRepetitionMode uint8
}
[Full Topic]

type HCIEventQoSSetupCompleteResults

type HCIEventQoSSetupCompleteResults struct {
	ConnectionHandle uint16
	SetupParams      HCIQualityOfServiceSetupParams
}
[Full Topic]

type HCIEventQoSViolationResults

type HCIEventQoSViolationResults struct {
	ConnectionHandle uint16
}
[Full Topic]

type HCIEventReadClockOffsetResults

type HCIEventReadClockOffsetResults struct {
	ConnectionHandle uint16
	ClockOffset      uint16
}
[Full Topic]

type HCIEventReadExtendedFeaturesResults

type HCIEventReadExtendedFeaturesResults struct {
	ConnectionHandle      uint16
	SupportedFeaturesInfo HCIExtendedFeaturesInfo
}
[Full Topic]

type HCIEventReadRemoteExtendedFeaturesResults

type HCIEventReadRemoteExtendedFeaturesResults struct {
	Error            uint8
	ConnectionHandle uint16
	Page             uint8
	MaxPage          uint8
	LmpFeatures      HCISupportedFeatures
}
[Full Topic]

type HCIEventReadRemoteSupportedFeaturesResults

type HCIEventReadRemoteSupportedFeaturesResults struct {
	Error            uint8
	ConnectionHandle uint16
	LmpFeatures      HCISupportedFeatures
}
[Full Topic]

type HCIEventReadRemoteVersionInfoResults

type HCIEventReadRemoteVersionInfoResults struct {
	ConnectionHandle uint16
	LmpVersion       uint8
	ManufacturerName uint16
	LmpSubversion    uint16
}
[Full Topic]

type HCIEventReadSupportedFeaturesResults

type HCIEventReadSupportedFeaturesResults struct {
	ConnectionHandle  uint16
	SupportedFeatures HCISupportedFeatures
}
[Full Topic]

type HCIEventRemoteNameRequestResults

type HCIEventRemoteNameRequestResults struct {
	DeviceAddress DeviceAddress
	DeviceName    [248]uint8
}
[Full Topic]

type HCIEventReturnLinkKeysResults

type HCIEventReturnLinkKeysResults struct {
	NumLinkKeys uint8
}
[Full Topic]

type HCIEventRoleChangeResults

type HCIEventRoleChangeResults struct {
	ConnectionHandle uint16
	DeviceAddress    DeviceAddress
	Role             uint8
	Pad_cgo_0        [1]byte
}
[Full Topic]

type HCIEventSimplePairingCompleteResults

type HCIEventSimplePairingCompleteResults struct {
	DeviceAddress DeviceAddress
}
[Full Topic]

type HCIEventSniffSubratingResults

type HCIEventSniffSubratingResults struct {
	ConnectionHandle   uint16
	MaxTransmitLatency uint16
	MaxReceiveLatency  uint16
	MinRemoteTimeout   uint16
	MinLocalTimeout    uint16
}
[Full Topic]

type HCIEventSynchronousConnectionChangedResults

type HCIEventSynchronousConnectionChangedResults struct {
	ConnectionHandle     uint16
	TransmissionInterval uint8
	RetransmissionWindow uint8
	ReceivePacketLength  uint16
	TransmitPacketLength uint16
}
[Full Topic]

type HCIEventSynchronousConnectionCompleteResults

type HCIEventSynchronousConnectionCompleteResults struct {
	ConnectionHandle     uint16
	DeviceAddress        DeviceAddress
	LinkType             uint8
	TransmissionInterval uint8
	RetransmissionWindow uint8
	ReceivePacketLength  uint16
	TransmitPacketLength uint16
	AirMode              uint8
	Pad_cgo_0            [1]byte
}
[Full Topic]

type HCIEventVendorSpecificResults

type HCIEventVendorSpecificResults struct {
	Length uint8
	Data   [255]uint8
}
[Full Topic]

type HCIExtendedFeaturesInfo

type HCIExtendedFeaturesInfo struct {
	Page    uint8
	MaxPage uint8
	Data    [8]uint8
}
[Full Topic]

type HCIExtendedInquiryResponse

type HCIExtendedInquiryResponse struct {
	Data [240]uint8
}
[Full Topic]

type HCIExtendedInquiryResult

type HCIExtendedInquiryResult struct {
	NumberOfReponses        uint8
	DeviceAddress           DeviceAddress
	PageScanRepetitionMode  uint8
	Reserved                uint8
	ClassOfDevice           uint32
	ClockOffset             uint16
	RSSIValue               int8
	ExtendedInquiryResponse HCIExtendedInquiryResponse
	Pad_cgo_0               [1]byte
}
[Full Topic]

type HCIFailedContactInfo

type HCIFailedContactInfo struct {
	Count  uint16
	Handle uint16
}
[Full Topic]

type HCIInquiryAccessCode

type HCIInquiryAccessCode struct {
	Data [3]uint8
}
[Full Topic]

type HCIInquiryResult

type HCIInquiryResult struct {
	DeviceAddress          DeviceAddress
	PageScanRepetitionMode uint8
	PageScanPeriodMode     uint8
	PageScanMode           uint8
	ClassOfDevice          uint32
	ClockOffset            uint16
	Pad_cgo_0              [2]byte
}
[Full Topic]

type HCIInquiryResults

type HCIInquiryResults struct {
	Results [50]HCIInquiryResult
	Count   uint32
}
[Full Topic]

type HCIInquiryWithRSSIResult

type HCIInquiryWithRSSIResult struct {
	DeviceAddress          DeviceAddress
	PageScanRepetitionMode uint8
	Reserved               uint8
	ClassOfDevice          uint32
	ClockOffset            uint16
	RSSIValue              int8
	Pad_cgo_0              [1]byte
}
[Full Topic]

type HCIInquiryWithRSSIResults

type HCIInquiryWithRSSIResults struct {
	Results [50]HCIInquiryWithRSSIResult
	Count   uint32
}
[Full Topic]

type HCILEBufferSize

type HCILEBufferSize struct {
	ACLDataPacketLength    uint16
	TotalNumACLDataPackets uint8
	Pad_cgo_0              [1]byte
}
[Full Topic]

type HCILinkPolicySettingsInfo

type HCILinkPolicySettingsInfo struct {
	Settings uint16
	Handle   uint16
}
[Full Topic]

type HCILinkQualityInfo

type HCILinkQualityInfo struct {
	Handle       uint16
	QualityValue uint8
	Pad_cgo_0    [1]byte
}
[Full Topic]

type HCILinkSupervisionTimeout

type HCILinkSupervisionTimeout struct {
	Handle  uint16
	Timeout uint16
}
[Full Topic]

type HCIQualityOfServiceSetupParams

type HCIQualityOfServiceSetupParams struct {
	Flags          uint8
	ServiceType    uint8
	TokenRate      uint32
	PeakBandwidth  uint32
	Latency        uint32
	DelayVariation uint32
}
[Full Topic]

type HCIRSSIInfo

type HCIRSSIInfo struct {
	Handle    uint16
	RSSIValue int8
	Pad_cgo_0 [1]byte
}
[Full Topic]

type HCIReadExtendedInquiryResponseResults

type HCIReadExtendedInquiryResponseResults struct {
	OutFECRequired          uint8
	ExtendedInquiryResponse HCIExtendedInquiryResponse
}
[Full Topic]

type HCIReadLMPHandleResults

type HCIReadLMPHandleResults struct {
	Handle     uint16
	Lmp_handle uint8
	Reserved   uint32
}
[Full Topic]

type HCIReadLocalOOBDataResults

type HCIReadLocalOOBDataResults struct {
	Hash       HCISimplePairingOOBData
	Randomizer HCISimplePairingOOBData
}
[Full Topic]

type HCIRequestCallbackInfo

type HCIRequestCallbackInfo struct {
	UserCallback   uint64
	UserRefCon     uint64
	InternalRefCon uint64
	AsyncIDRefCon  uint64
	Reserved       uint64
}
[Full Topic]

type HCIRoleInfo

type HCIRoleInfo struct {
	Role   uint8
	Handle uint16
}
[Full Topic]

type HCIScanActivity

type HCIScanActivity struct {
	ScanInterval uint16
	ScanWindow   uint16
}
[Full Topic]

type HCISetupSynchronousConnectionParams

type HCISetupSynchronousConnectionParams struct {
	TransmitBandwidth    uint32
	ReceiveBandwidth     uint32
	MaxLatency           uint16
	VoiceSetting         uint16
	RetransmissionEffort uint8
	PacketType           uint16
}
[Full Topic]

type HCISimplePairingOOBData

type HCISimplePairingOOBData struct {
	Data [16]uint8
}
[Full Topic]

type HCIStoredLinkKeysInfo

type HCIStoredLinkKeysInfo struct {
	NumLinkKeysRead               uint16
	MaxNumLinkKeysAllowedInDevice uint16
}
[Full Topic]

type HCISupportedCommands

type HCISupportedCommands struct {
	Data [64]uint8
}
[Full Topic]

type HCISupportedFeatures

type HCISupportedFeatures struct {
	Data [8]uint8
}
[Full Topic]

type HCITransmitPowerLevelInfo

type HCITransmitPowerLevelInfo struct {
	Handle    uint16
	Level     int8
	Pad_cgo_0 [1]byte
}
[Full Topic]

type HCIVersionInfo

type HCIVersionInfo struct {
	ManufacturerName uint16
	LmpVersion       uint8
	LmpSubVersion    uint16
	HciVersion       uint8
	HciRevision      uint16
}
[Full Topic]

type IOCapabilityResponse

type IOCapabilityResponse struct {
	DeviceAddress              DeviceAddress
	IoCapability               uint8
	OOBDataPresence            uint8
	AuthenticationRequirements uint8
}
[Full Topic]

type IRK

type IRK struct {
	Data [16]uint8
}
[Full Topic]

type Key

type Key struct {
	Data [16]uint8
}
[Full Topic]

type KeypressNotification

type KeypressNotification struct {
	DeviceAddress    DeviceAddress
	NotificationType uint8
}
[Full Topic]

type L2CAPChannelDataBlock

type L2CAPChannelDataBlock struct {
	DataPtr  uintptr
	DataSize uint64
}
[Full Topic]

type L2CAPChannelEvent

type L2CAPChannelEvent struct {
	EventType uint32
	Pad_cgo_0 [4]byte
	U         [32]byte
	Status    int32
	Pad_cgo_1 [4]byte
}
[Full Topic]

type L2CAPQualityOfServiceOptions

type L2CAPQualityOfServiceOptions struct {
	Flags           uint8
	ServiceType     uint8
	TokenRate       uint32
	TokenBucketSize uint32
	PeakBandwidth   uint32
	Latency         uint32
	DelayVariation  uint32
}
[Full Topic]

type L2CAPRetransmissionAndFlowControlOptions

type L2CAPRetransmissionAndFlowControlOptions struct {
	Flags                 uint8
	TxWindowSize          uint8
	MaxTransmit           uint8
	RetransmissionTimeout uint16
	MonitorTimeout        uint16
	MaxPDUPayloadSize     uint16
}
[Full Topic]

type OBEXAbortCommandData

type OBEXAbortCommandData struct {
	HeaderDataPtr    uintptr
	HeaderDataLength uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXAbortCommandResponseData

type OBEXAbortCommandResponseData struct {
	ServerResponseOpCode uint8
	HeaderDataPtr        uintptr
	HeaderDataLength     uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXConnectCommandData

type OBEXConnectCommandData struct {
	HeaderDataPtr    uintptr
	HeaderDataLength uint64
	MaxPacketSize    uint16
	Version          uint8
	Flags            uint8
	Pad_cgo_0        [4]byte
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXConnectCommandResponseData

type OBEXConnectCommandResponseData struct {
	ServerResponseOpCode uint8
	HeaderDataPtr        uintptr
	HeaderDataLength     uint64
	MaxPacketSize        uint16
	Version              uint8
	Flags                uint8
	Pad_cgo_0            [4]byte
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXDisconnectCommandData

type OBEXDisconnectCommandData struct {
	HeaderDataPtr    uintptr
	HeaderDataLength uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXDisconnectCommandResponseData

type OBEXDisconnectCommandResponseData struct {
	ServerResponseOpCode uint8
	HeaderDataPtr        uintptr
	HeaderDataLength     uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXErrorData

type OBEXErrorData struct {
	Error      int32
	DataPtr    uintptr
	DataLength uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXGetCommandData

type OBEXGetCommandData struct {
	HeaderDataPtr    uintptr
	HeaderDataLength uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXGetCommandResponseData

type OBEXGetCommandResponseData struct {
	ServerResponseOpCode uint8
	HeaderDataPtr        uintptr
	HeaderDataLength     uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXPutCommandData

type OBEXPutCommandData struct {
	HeaderDataPtr      uintptr
	HeaderDataLength   uint64
	BodyDataLeftToSend uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXPutCommandResponseData

type OBEXPutCommandResponseData struct {
	ServerResponseOpCode uint8
	HeaderDataPtr        uintptr
	HeaderDataLength     uint64
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXSessionEvent

type OBEXSessionEvent struct {
	Type uint32
	//TODO: Session			*_Ctype_struct_OpaqueOBEXSessionRef
	RefCon           uintptr
	IsEndOfEventData uint8
	Reserved1        uintptr
	Reserved2        uintptr
	U                [32]byte
}
[Full Topic]

type OBEXSetPathCommandData

type OBEXSetPathCommandData struct {
	HeaderDataPtr    uintptr
	HeaderDataLength uint64
	Flags            uint8
	Constants        uint8
	Pad_cgo_0        [6]byte
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXSetPathCommandResponseData

type OBEXSetPathCommandResponseData struct {
	ServerResponseOpCode uint8
	HeaderDataPtr        uintptr
	HeaderDataLength     uint64
	Flags                uint8
	Constants            uint8
	Pad_cgo_0            [6]byte
}

Part of the OBEXSessionEvent structure. Full Topic

type OBEXTransportEvent

type OBEXTransportEvent struct {
	Type       uint32
	Status     int32
	DataPtr    uintptr
	DataLength uint64
}
[Full Topic]

type PINCode

type PINCode struct {
	Data [16]uint8
}
[Full Topic]

type ReadClockInfo

type ReadClockInfo struct {
	Handle    uint16
	Clock     uint32
	Accuracy  uint16
	Pad_cgo_0 [2]byte
}
[Full Topic]

type RemoteHostSupportedFeaturesNotification

type RemoteHostSupportedFeaturesNotification struct {
	DeviceAddress         DeviceAddress
	HostSupportedFeatures HCISupportedFeatures
}
[Full Topic]

type SetEventMask

type SetEventMask struct {
	Data [8]uint8
}
[Full Topic]

type SynchronousConnectionInfo

type SynchronousConnectionInfo struct {
	TransmitBandWidth    uint32
	ReceiveBandWidth     uint32
	MaxLatency           uint16
	VoiceSetting         uint16
	RetransmissionEffort uint8
	PacketType           uint16
}
[Full Topic]

type TransportInfo

type TransportInfo struct {
	ProductID              uint32
	VendorID               uint32
	Type                   uint32
	ProductName            [35]int8
	VendorName             [35]int8
	TotalDataBytesSent     uint64
	TotalSCOBytesSent      uint64
	TotalDataBytesReceived uint64
	TotalSCOBytesReceived  uint64
}
[Full Topic]

type UserConfirmationRequest

type UserConfirmationRequest struct {
	DeviceAddress DeviceAddress
	NumericValue  uint32
}
[Full Topic]

type UserPasskeyNotification

type UserPasskeyNotification struct {
	DeviceAddress DeviceAddress
	Passkey       uint32
}
[Full Topic]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL