Documentation
¶
Overview ¶
Package iobluetooth provides purego-based Go bindings for the macOS IOBluetooth framework.
Apple documentation: https://developer.apple.com/documentation/iobluetooth
Index ¶
- Constants
- func IOBluetoothAddSCOAudioDevice(device unsafe.Pointer, configDict unsafe.Pointer) int
- func IOBluetoothDeviceFavoriteDevices() *foundation.NSArray[objc.ID]
- func IOBluetoothDevicePairedDevices() *foundation.NSArray[objc.ID]
- func IOBluetoothDeviceRecentDevices(numDevices uint) *foundation.NSArray[objc.ID]
- func IOBluetoothFindNumberOfRegistryEntriesOfClassName(deviceType string) int
- func IOBluetoothGetUniqueFileNameAndPath(inName *foundation.NSString, inPath *foundation.NSString) *foundation.NSString
- func IOBluetoothHandsFreeCallDirection() uintptr
- func IOBluetoothHandsFreeCallIndex() uintptr
- func IOBluetoothHandsFreeCallMode() uintptr
- func IOBluetoothHandsFreeCallMultiparty() uintptr
- func IOBluetoothHandsFreeCallName() uintptr
- func IOBluetoothHandsFreeCallNumber() uintptr
- func IOBluetoothHandsFreeCallStatus() uintptr
- func IOBluetoothHandsFreeCallType() uintptr
- func IOBluetoothHandsFreeIndicatorBattChg() uintptr
- func IOBluetoothHandsFreeIndicatorCall() uintptr
- func IOBluetoothHandsFreeIndicatorCallHeld() uintptr
- func IOBluetoothHandsFreeIndicatorCallSetup() uintptr
- func IOBluetoothHandsFreeIndicatorRoam() uintptr
- func IOBluetoothHandsFreeIndicatorService() uintptr
- func IOBluetoothHandsFreeIndicatorSignal() uintptr
- func IOBluetoothHostControllerPoweredOffNotification() uintptr
- func IOBluetoothHostControllerPoweredOnNotification() uintptr
- func IOBluetoothIgnoreHIDDevice(device unsafe.Pointer)
- func IOBluetoothIsFileAppleDesignatedPIMData(inFileName *foundation.NSString) uint8
- func IOBluetoothL2CAPChannelPublishedNotification() uintptr
- func IOBluetoothL2CAPChannelRegisterForChannelCloseNotification(channel unsafe.Pointer, callback unsafe.Pointer, inRefCon unsafe.Pointer) unsafe.Pointer
- func IOBluetoothL2CAPChannelTerminatedNotification() uintptr
- func IOBluetoothNSStringFromDeviceAddress(deviceAddress *BluetoothDeviceAddress) *foundation.NSString
- func IOBluetoothNSStringFromDeviceAddressColon(deviceAddress *BluetoothDeviceAddress) *foundation.NSString
- func IOBluetoothNSStringToDeviceAddress(inNameString *foundation.NSString, outDeviceAddress *BluetoothDeviceAddress) int
- func IOBluetoothNumberOfAvailableHIDDevices() int
- func IOBluetoothNumberOfKeyboardHIDDevices() int
- func IOBluetoothNumberOfPointingHIDDevices() int
- func IOBluetoothNumberOfTabletHIDDevices() int
- func IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber(inDeviceRef unsafe.Pointer, inChannelID uint8, outSessionRef unsafe.Pointer) int32
- func IOBluetoothOBEXSessionCreateWithIOBluetoothSDPServiceRecordRef(inSDPServiceRef unsafe.Pointer, outSessionRef unsafe.Pointer) int32
- func IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel(inRFCOMMChannelRef unsafe.Pointer, inCallback unsafe.Pointer, ...) int32
- func IOBluetoothOBEXSessionOpenTransportConnection(inSessionRef unsafe.Pointer, inCallback unsafe.Pointer, ...) int32
- func IOBluetoothPDUEncoding() uintptr
- func IOBluetoothPDUOriginatingAddress() uintptr
- func IOBluetoothPDUOriginatingAddressType() uintptr
- func IOBluetoothPDUProtocolID() uintptr
- func IOBluetoothPDUServicCenterAddress() uintptr
- func IOBluetoothPDUServiceCenterAddressType() uintptr
- func IOBluetoothPDUTimestamp() uintptr
- func IOBluetoothPDUType() uintptr
- func IOBluetoothPDUUserData() uintptr
- func IOBluetoothPackDataList(ioBuffer unsafe.Pointer, inFormat string, inArgs string) int
- func IOBluetoothRemoveIgnoredHIDDevice(device unsafe.Pointer)
- func IOBluetoothRemoveSCOAudioDevice(device unsafe.Pointer) int
- func IOBluetoothUnpackDataList(inBufferSize uint, inBuffer unsafe.Pointer, inFormat string, inArgs string) int
- func IOBluetoothUserNotificationUnregister(notificationRef unsafe.Pointer)
- func KFTSListingNameKey() uintptr
- func KFTSListingSizeKey() uintptr
- func KFTSListingTypeKey() uintptr
- func KFTSProgressBytesTotalKey() uintptr
- func KFTSProgressBytesTransferredKey() uintptr
- func KFTSProgressEstimatedTimeKey() uintptr
- func KFTSProgressPercentageKey() uintptr
- func KFTSProgressPrecentageKey() uintptr
- func KFTSProgressTimeElapsedKey() uintptr
- func KFTSProgressTransferRateKey() uintptr
- func KOBEXHeaderIDKeyAppParameters() uintptr
- func KOBEXHeaderIDKeyAuthorizationChallenge() uintptr
- func KOBEXHeaderIDKeyAuthorizationResponse() uintptr
- func KOBEXHeaderIDKeyBody() uintptr
- func KOBEXHeaderIDKeyByteSequence() uintptr
- func KOBEXHeaderIDKeyConnectionID() uintptr
- func KOBEXHeaderIDKeyCount() uintptr
- func KOBEXHeaderIDKeyDescription() uintptr
- func KOBEXHeaderIDKeyEndOfBody() uintptr
- func KOBEXHeaderIDKeyHTTP() uintptr
- func KOBEXHeaderIDKeyLength() uintptr
- func KOBEXHeaderIDKeyName() uintptr
- func KOBEXHeaderIDKeyObjectClass() uintptr
- func KOBEXHeaderIDKeyTarget() uintptr
- func KOBEXHeaderIDKeyTime4Byte() uintptr
- func KOBEXHeaderIDKeyTimeISO() uintptr
- func KOBEXHeaderIDKeyType() uintptr
- func KOBEXHeaderIDKeyUnknown1ByteQuantity() uintptr
- func KOBEXHeaderIDKeyUnknown4ByteQuantity() uintptr
- func KOBEXHeaderIDKeyUnknownByteSequence() uintptr
- func KOBEXHeaderIDKeyUnknownUnicodeText() uintptr
- func KOBEXHeaderIDKeyUserDefined() uintptr
- func KOBEXHeaderIDKeyWho() uintptr
- func OBEXAddApplicationParameterHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddAuthorizationChallengeHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddAuthorizationResponseHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddBodyHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, isEndOfBody uint8, ...) int32
- func OBEXAddByteSequenceHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddConnectionIDHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddCountHeader(count uint32, dictRef unsafe.Pointer) int32
- func OBEXAddDescriptionHeader(description unsafe.Pointer, dictRef unsafe.Pointer) int32
- func OBEXAddHTTPHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddLengthHeader(length uint32, dictRef unsafe.Pointer) int32
- func OBEXAddNameHeader(name unsafe.Pointer, dictRef unsafe.Pointer) int32
- func OBEXAddObjectClassHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddTargetHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddTime4ByteHeader(time4Byte uint32, dictRef unsafe.Pointer) int32
- func OBEXAddTimeISOHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddTypeHeader(type_ unsafe.Pointer, dictRef unsafe.Pointer) int32
- func OBEXAddUserDefinedHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXAddWhoHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef unsafe.Pointer) int32
- func OBEXCreateVCard(inFirstName unsafe.Pointer, inFirstNameLength uint32, ...) unsafe.Pointer
- func OBEXCreateVEvent(inCharset string, inCharsetLength uint32, inEncoding string, ...) unsafe.Pointer
- func OBEXGetHeaders(inData unsafe.Pointer, inDataSize uint) unsafe.Pointer
- func OBEXHeadersToBytes(dictionaryOfHeaders unsafe.Pointer) unsafe.Pointer
- func OBEXSessionAbort(inSessionRef unsafe.Pointer, inOptionalHeaders unsafe.Pointer, ...) int32
- func OBEXSessionAbortResponse(inSessionRef unsafe.Pointer, inResponseOpCode uint8, ...) int32
- func OBEXSessionConnect(inSessionRef unsafe.Pointer, inFlags uint8, inMaxPacketLength uint16, ...) int32
- func OBEXSessionConnectResponse(inSessionRef unsafe.Pointer, inResponseOpCode uint8, inFlags uint8, ...) int32
- func OBEXSessionDelete(inSessionRef unsafe.Pointer) int32
- func OBEXSessionDisconnect(inSessionRef unsafe.Pointer, inOptionalHeaders unsafe.Pointer, ...) int32
- func OBEXSessionDisconnectResponse(inSessionRef unsafe.Pointer, inResponseOpCode uint8, ...) int32
- func OBEXSessionGet(inSessionRef unsafe.Pointer, inIsFinalChunk uint8, ...) int32
- func OBEXSessionGetAvailableCommandPayloadLength(inSessionRef unsafe.Pointer, inOpCode uint8, outLength *uint16) int32
- func OBEXSessionGetAvailableCommandResponsePayloadLength(inSessionRef unsafe.Pointer, inOpCode uint8, outLength *uint16) int32
- func OBEXSessionGetMaxPacketLength(inSessionRef unsafe.Pointer, outLength *uint16) int32
- func OBEXSessionGetResponse(inSessionRef unsafe.Pointer, inResponseOpCode uint8, ...) int32
- func OBEXSessionHasOpenOBEXConnection(inSessionRef unsafe.Pointer, outIsConnected *uint8) int32
- func OBEXSessionPut(inSessionRef unsafe.Pointer, inIsFinalChunk uint8, ...) int32
- func OBEXSessionPutResponse(inSessionRef unsafe.Pointer, inResponseOpCode uint8, ...) int32
- func OBEXSessionSetPath(inSessionRef unsafe.Pointer, inFlags uint8, inConstants uint8, ...) int32
- func OBEXSessionSetPathResponse(inSessionRef unsafe.Pointer, inResponseOpCode uint8, ...) int32
- func OBEXSessionSetServerCallback(inSessionRef unsafe.Pointer, inCallback unsafe.Pointer, ...) int32
- func SymbolAvailable(symbol string) bool
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type BluetoothAFHHostChannelClassification
- type BluetoothAFHResults
- type BluetoothAMPCommandRejectReason
- type BluetoothAMPCreatePhysicalLinkResponseStatus
- type BluetoothAMPDisconnectPhysicalLinkResponseStatus
- type BluetoothAMPDiscoverResponseControllerStatus
- type BluetoothAMPGetAssocResponseStatus
- type BluetoothAMPGetInfoResponseStatus
- type BluetoothAMPManagerCode
- type BluetoothAuthenticationRequirementsValues
- type BluetoothCompanyIdentifers
- type BluetoothDeviceAddress
- type BluetoothEnhancedSynchronousConnectionInfo
- type BluetoothEventFilterCondition
- type BluetoothFeatureBits
- type BluetoothHCIAFHChannelAssessmentModes
- type BluetoothHCIAcceptSynchronousConnectionRequestParams
- type BluetoothHCIAuthentionEnableModes
- type BluetoothHCIAutomaticFlushTimeoutInfo
- type BluetoothHCIBufferSize
- type BluetoothHCIConnectionModes
- type BluetoothHCICurrentInquiryAccessCodes
- type BluetoothHCICurrentInquiryAccessCodesForWrite
- type BluetoothHCIDeleteStoredLinkKeyFlags
- type BluetoothHCIEncryptionKeySizeInfo
- type BluetoothHCIEncryptionModes
- type BluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams
- type BluetoothHCIEnhancedSetupSynchronousConnectionParams
- type BluetoothHCIEventAuthenticationCompleteResults
- type BluetoothHCIEventChangeConnectionLinkKeyCompleteResults
- type BluetoothHCIEventConnectionCompleteResults
- type BluetoothHCIEventConnectionPacketTypeResults
- type BluetoothHCIEventConnectionRequestResults
- type BluetoothHCIEventDataBufferOverflowResults
- type BluetoothHCIEventDisconnectionCompleteResults
- type BluetoothHCIEventEncryptionChangeResults
- type BluetoothHCIEventEncryptionKeyRefreshCompleteResults
- type BluetoothHCIEventFlowSpecificationData
- type BluetoothHCIEventFlushOccurredResults
- type BluetoothHCIEventHardwareErrorResults
- type BluetoothHCIEventLEConnectionCompleteResults
- type BluetoothHCIEventLEConnectionUpdateCompleteResults
- type BluetoothHCIEventLEEnhancedConnectionCompleteResults
- type BluetoothHCIEventLELongTermKeyRequestResults
- type BluetoothHCIEventLEMetaResults
- type BluetoothHCIEventLEReadRemoteUsedFeaturesCompleteResults
- type BluetoothHCIEventLinkKeyNotificationResults
- type BluetoothHCIEventMasterLinkKeyCompleteResults
- type BluetoothHCIEventMaxSlotsChangeResults
- type BluetoothHCIEventModeChangeResults
- type BluetoothHCIEventPageScanModeChangeResults
- type BluetoothHCIEventPageScanRepetitionModeChangeResults
- type BluetoothHCIEventQoSSetupCompleteResults
- type BluetoothHCIEventQoSViolationResults
- type BluetoothHCIEventReadClockOffsetResults
- type BluetoothHCIEventReadExtendedFeaturesResults
- type BluetoothHCIEventReadRemoteExtendedFeaturesResults
- type BluetoothHCIEventReadRemoteSupportedFeaturesResults
- type BluetoothHCIEventReadRemoteVersionInfoResults
- type BluetoothHCIEventReadSupportedFeaturesResults
- type BluetoothHCIEventRemoteNameRequestResults
- type BluetoothHCIEventReturnLinkKeysResults
- type BluetoothHCIEventRoleChangeResults
- type BluetoothHCIEventSimplePairingCompleteResults
- type BluetoothHCIEventSniffSubratingResults
- type BluetoothHCIEventSynchronousConnectionChangedResults
- type BluetoothHCIEventSynchronousConnectionCompleteResults
- type BluetoothHCIEventVendorSpecificResults
- type BluetoothHCIExtendedFeaturesInfo
- type BluetoothHCIExtendedInquiryResponse
- type BluetoothHCIExtendedInquiryResponseDataTypes
- type BluetoothHCIExtendedInquiryResult
- type BluetoothHCIFECRequiredValues
- type BluetoothHCIFailedContactInfo
- type BluetoothHCIGeneralFlowControlStates
- type BluetoothHCIHoldModeActivityStates
- type BluetoothHCIInquiryAccessCode
- type BluetoothHCIInquiryModes
- type BluetoothHCIInquiryResult
- type BluetoothHCIInquiryResults
- type BluetoothHCIInquiryScanTypes
- type BluetoothHCIInquiryWithRSSIResult
- type BluetoothHCIInquiryWithRSSIResults
- type BluetoothHCILEBufferSize
- type BluetoothHCILESupportedFeatures
- type BluetoothHCILEUsedFeatures
- type BluetoothHCILinkPolicySettingsInfo
- type BluetoothHCILinkPolicySettingsValues
- type BluetoothHCILinkQualityInfo
- type BluetoothHCILinkSupervisionTimeout
- type BluetoothHCIPageScanEnableStates
- type BluetoothHCIPageScanModes
- type BluetoothHCIPageScanPeriodModes
- type BluetoothHCIPageScanTypes
- type BluetoothHCIPowerState
- type BluetoothHCIQualityOfServiceSetupParams
- type BluetoothHCIRSSIInfo
- type BluetoothHCIReadExtendedInquiryResponseResults
- type BluetoothHCIReadLMPHandleResults
- type BluetoothHCIReadLocalOOBDataResults
- type BluetoothHCIReadStoredLinkKeysFlags
- type BluetoothHCIRequestCallbackInfo
- type BluetoothHCIRetransmissionEffortTypes
- type BluetoothHCIRoleInfo
- type BluetoothHCIRoles
- type BluetoothHCISCOFlowControlStates
- type BluetoothHCIScanActivity
- type BluetoothHCISetupSynchronousConnectionParams
- type BluetoothHCISimplePairingModes
- type BluetoothHCISimplePairingOOBData
- type BluetoothHCIStoredLinkKeysInfo
- type BluetoothHCISupportedCommands
- type BluetoothHCISupportedFeatures
- type BluetoothHCITimeoutValues
- type BluetoothHCITransmitPowerLevelInfo
- type BluetoothHCITransmitReadPowerLevelTypes
- type BluetoothHCIVersionInfo
- type BluetoothHCIVersions
- type BluetoothIOCapabilities
- type BluetoothIOCapabilityResponse
- type BluetoothIRK
- type BluetoothKey
- type BluetoothKeypressNotification
- type BluetoothKeypressNotificationTypes
- type BluetoothL2CAPCommandCode
- type BluetoothL2CAPCommandRejectReason
- type BluetoothL2CAPConfigurationOption
- type BluetoothL2CAPConfigurationResult
- type BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags
- type BluetoothL2CAPConnectionResult
- type BluetoothL2CAPConnectionStatus
- type BluetoothL2CAPInformationExtendedFeaturesMask
- type BluetoothL2CAPInformationResult
- type BluetoothL2CAPInformationType
- type BluetoothL2CAPQoSType
- type BluetoothL2CAPQualityOfServiceOptions
- type BluetoothL2CAPRetransmissionAndFlowControlOptions
- type BluetoothL2CAPSegmentationAndReassembly
- type BluetoothL2CAPSupervisoryFuctionType
- type BluetoothLEAddressType
- type BluetoothLEAdvertisingType
- type BluetoothLEConnectionInterval
- type BluetoothLEFeatureBits
- type BluetoothLEScan
- type BluetoothLEScanDuplicateFilter
- type BluetoothLEScanFilter
- type BluetoothLEScanType
- type BluetoothLESecurityManagerCommandCode
- type BluetoothLESecurityManagerIOCapability
- type BluetoothLESecurityManagerKeyDistributionFormat
- type BluetoothLESecurityManagerKeypressNotificationType
- type BluetoothLESecurityManagerOOBData
- type BluetoothLESecurityManagerPairingFailedReasonCode
- type BluetoothLESecurityManagerUserInputCapability
- type BluetoothLESecurityManagerUserOutputCapability
- type BluetoothLMPVersions
- type BluetoothLinkTypes
- type BluetoothOOBDataPresenceValues
- type BluetoothPINCode
- type BluetoothRFCOMMLineStatus
- type BluetoothRFCOMMParityType
- type BluetoothReadClockInfo
- type BluetoothRemoteHostSupportedFeaturesNotification
- type BluetoothSetEventMask
- type BluetoothSimplePairingDebugModes
- type BluetoothSynchronousConnectionInfo
- type BluetoothTransportInfo
- type BluetoothTransportTypes
- type BluetoothUserConfirmationRequest
- type BluetoothUserPasskeyNotification
- type CBCentralManagerDelegate
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type FTSFileType
- type Filesec_property_t
- type IOBluetoothDevice
- func IOBluetoothDeviceDeviceWithAddress(address *BluetoothDeviceAddress) *IOBluetoothDevice
- func IOBluetoothDeviceDeviceWithAddressString(address *foundation.NSString) *IOBluetoothDevice
- func IOBluetoothDeviceFromID(id objc.ID) *IOBluetoothDevice
- func IOBluetoothDeviceWithAddress(address *BluetoothDeviceAddress) *IOBluetoothDevice
- func IOBluetoothDeviceWithDeviceRef(deviceRef unsafe.Pointer) *IOBluetoothDevice
- func (o *IOBluetoothDevice) AddToFavorites() int
- func (o *IOBluetoothDevice) AddressString() *foundation.NSString
- func (o *IOBluetoothDevice) ClassOfDevice() uint32
- func (o *IOBluetoothDevice) CloseConnection() int
- func (o *IOBluetoothDevice) ConnectionHandle() uint16
- func (o *IOBluetoothDevice) DeviceClassMajor() uint32
- func (o *IOBluetoothDevice) DeviceClassMinor() uint32
- func (o *IOBluetoothDevice) GetAddress() *BluetoothDeviceAddress
- func (o *IOBluetoothDevice) GetAddressString() *foundation.NSString
- func (o *IOBluetoothDevice) GetClassOfDevice() uint32
- func (o *IOBluetoothDevice) GetClockOffset() uint16
- func (o *IOBluetoothDevice) GetConnectionHandle() uint16
- func (o *IOBluetoothDevice) GetDeviceClassMajor() uint32
- func (o *IOBluetoothDevice) GetDeviceClassMinor() uint32
- func (o *IOBluetoothDevice) GetDeviceRef() unsafe.Pointer
- func (o *IOBluetoothDevice) GetEncryptionMode() uint8
- func (o *IOBluetoothDevice) GetLastInquiryUpdate() *foundation.NSDate
- func (o *IOBluetoothDevice) GetLastNameUpdate() *foundation.NSDate
- func (o *IOBluetoothDevice) GetLastServicesUpdate() *foundation.NSDate
- func (o *IOBluetoothDevice) GetLinkType() uint8
- func (o *IOBluetoothDevice) GetName() *foundation.NSString
- func (o *IOBluetoothDevice) GetNameOrAddress() *foundation.NSString
- func (o *IOBluetoothDevice) GetPageScanMode() uint8
- func (o *IOBluetoothDevice) GetPageScanPeriodMode() uint8
- func (o *IOBluetoothDevice) GetPageScanRepetitionMode() uint8
- func (o *IOBluetoothDevice) GetServiceClassMajor() uint32
- func (o *IOBluetoothDevice) GetServiceRecordForUUID(sdpUUID *IOBluetoothSDPUUID) *IOBluetoothSDPServiceRecord
- func (o *IOBluetoothDevice) GetServices() *foundation.NSArray[objc.ID]
- func (o *IOBluetoothDevice) HandsFreeAudioGatewayDriverID() *foundation.NSString
- func (o *IOBluetoothDevice) HandsFreeAudioGatewayServiceRecord() *IOBluetoothSDPServiceRecord
- func (o *IOBluetoothDevice) HandsFreeDeviceDriverID() *foundation.NSString
- func (o *IOBluetoothDevice) HandsFreeDeviceServiceRecord() *IOBluetoothSDPServiceRecord
- func (o *IOBluetoothDevice) IsConnected() bool
- func (o *IOBluetoothDevice) IsFavorite() bool
- func (o *IOBluetoothDevice) IsHandsFreeAudioGateway() bool
- func (o *IOBluetoothDevice) IsHandsFreeDevice() bool
- func (o *IOBluetoothDevice) IsIncoming() bool
- func (o *IOBluetoothDevice) IsPaired() bool
- func (o *IOBluetoothDevice) LastNameUpdate() *foundation.NSDate
- func (o *IOBluetoothDevice) Name() *foundation.NSString
- func (o *IOBluetoothDevice) NameOrAddress() *foundation.NSString
- func (o *IOBluetoothDevice) OpenConnection() int
- func (o *IOBluetoothDevice) OpenConnection2(target objc.ID) int
- func (o *IOBluetoothDevice) OpenConnectionWithPageTimeoutAuthenticationRequired(target objc.ID, pageTimeoutValue uint16, authenticationRequired bool) int
- func (o *IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelDelegate objc.ID) int
- func (o *IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMWithConfigurationDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, ...) int
- func (o *IOBluetoothDevice) OpenL2CAPChannelFindExistingNewChannel(psm uint16, findExisting bool, newChannel *IOBluetoothL2CAPChannel) int
- func (o *IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelDelegate objc.ID) int
- func (o *IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMWithConfigurationDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, ...) int
- func (o *IOBluetoothDevice) OpenRFCOMMChannelAsyncWithChannelIDDelegate(rfcommChannel *IOBluetoothRFCOMMChannel, channelID uint8, ...) int
- func (o *IOBluetoothDevice) OpenRFCOMMChannelChannel(channelID uint8, rfcommChannel *IOBluetoothRFCOMMChannel) int
- func (o *IOBluetoothDevice) OpenRFCOMMChannelSyncWithChannelIDDelegate(rfcommChannel *IOBluetoothRFCOMMChannel, channelID uint8, ...) int
- func (o *IOBluetoothDevice) PerformSDPQuery(target objc.ID) int
- func (o *IOBluetoothDevice) PerformSDPQueryUuids(target objc.ID, uuidArray *foundation.NSArray[objc.ID]) int
- func (o *IOBluetoothDevice) RSSI() int8
- func (o *IOBluetoothDevice) RawRSSI() int8
- func (o *IOBluetoothDevice) RecentAccessDate() *foundation.NSDate
- func (o *IOBluetoothDevice) RegisterForDisconnectNotificationSelector(observer objc.ID, inSelector objc.SEL) *IOBluetoothUserNotification
- func (o *IOBluetoothDevice) RemoteNameRequest(target objc.ID) int
- func (o *IOBluetoothDevice) RemoteNameRequestWithPageTimeout(target objc.ID, pageTimeoutValue uint16) int
- func (o *IOBluetoothDevice) RemoveFromFavorites() int
- func (o *IOBluetoothDevice) RequestAuthentication() int
- func (o *IOBluetoothDevice) SendL2CAPEchoRequestLength(data unsafe.Pointer, length uint16) int
- func (o *IOBluetoothDevice) ServiceClassMajor() uint32
- func (o *IOBluetoothDevice) Services() *foundation.NSArray[objc.ID]
- func (o *IOBluetoothDevice) SetSupervisionTimeout(timeout uint16) int
- type IOBluetoothDeviceAsyncCallbacks
- type IOBluetoothDeviceInquiry
- func (o *IOBluetoothDeviceInquiry) ClearFoundDevices()
- func (o *IOBluetoothDeviceInquiry) Delegate() objc.ID
- func (o *IOBluetoothDeviceInquiry) FoundDevices() *foundation.NSArray[objc.ID]
- func (o *IOBluetoothDeviceInquiry) InitWithDelegate(delegate objc.ID) *IOBluetoothDeviceInquiry
- func (o *IOBluetoothDeviceInquiry) InquiryLength() uint8
- func (o *IOBluetoothDeviceInquiry) SearchType() uint
- func (o *IOBluetoothDeviceInquiry) SetDelegate(delegate objc.ID)
- func (o *IOBluetoothDeviceInquiry) SetInquiryLength(inquiryLength uint8)
- func (o *IOBluetoothDeviceInquiry) SetSearchCriteriaMajorDeviceClassMinorDeviceClass(inServiceClassMajor uint32, inMajorDeviceClass uint32, ...)
- func (o *IOBluetoothDeviceInquiry) SetSearchType(searchType uint)
- func (o *IOBluetoothDeviceInquiry) SetUpdateNewDeviceNames(updateNewDeviceNames bool)
- func (o *IOBluetoothDeviceInquiry) Start() int
- func (o *IOBluetoothDeviceInquiry) Stop() int
- func (o *IOBluetoothDeviceInquiry) UpdateNewDeviceNames() bool
- type IOBluetoothDeviceInquiryDelegate
- type IOBluetoothDevicePair
- func (o *IOBluetoothDevicePair) Delegate() objc.ID
- func (o *IOBluetoothDevicePair) Device() *IOBluetoothDevice
- func (o *IOBluetoothDevicePair) ReplyPINCodePINCode(pINCodeSize uint, pINCode *BluetoothPINCode)
- func (o *IOBluetoothDevicePair) ReplyUserConfirmation(reply bool)
- func (o *IOBluetoothDevicePair) SetDelegate(delegate objc.ID)
- func (o *IOBluetoothDevicePair) SetDevice(inDevice *IOBluetoothDevice)
- func (o *IOBluetoothDevicePair) Start() int
- func (o *IOBluetoothDevicePair) Stop()
- type IOBluetoothDevicePairDelegate
- type IOBluetoothDeviceSearchAttributes
- type IOBluetoothDeviceSearchDeviceAttributes
- type IOBluetoothDeviceSearchOptionsBits
- type IOBluetoothDeviceSearchTypesBits
- type IOBluetoothHandsFree
- func (o *IOBluetoothHandsFree) Connect()
- func (o *IOBluetoothHandsFree) ConnectSCO()
- func (o *IOBluetoothHandsFree) Delegate() IOBluetoothHandsFreeDelegate
- func (o *IOBluetoothHandsFree) Device() *IOBluetoothDevice
- func (o *IOBluetoothHandsFree) DeviceCallHoldModes() uint32
- func (o *IOBluetoothHandsFree) DeviceSupportedFeatures() uint32
- func (o *IOBluetoothHandsFree) DeviceSupportedSMSServices() uint32
- func (o *IOBluetoothHandsFree) Disconnect()
- func (o *IOBluetoothHandsFree) DisconnectSCO()
- func (o *IOBluetoothHandsFree) Indicator(indicatorName *foundation.NSString) int
- func (o *IOBluetoothHandsFree) InitWithDeviceDelegate(device *IOBluetoothDevice, inDelegate IOBluetoothHandsFreeDelegate) *IOBluetoothHandsFree
- func (o *IOBluetoothHandsFree) InputVolume() float32
- func (o *IOBluetoothHandsFree) IsConnected() bool
- func (o *IOBluetoothHandsFree) IsInputMuted() bool
- func (o *IOBluetoothHandsFree) IsOutputMuted() bool
- func (o *IOBluetoothHandsFree) IsSCOConnected() bool
- func (o *IOBluetoothHandsFree) IsSMSEnabled() bool
- func (o *IOBluetoothHandsFree) OutputVolume() float32
- func (o *IOBluetoothHandsFree) SMSMode() IOBluetoothSMSMode
- func (o *IOBluetoothHandsFree) SetDelegate(delegate IOBluetoothHandsFreeDelegate)
- func (o *IOBluetoothHandsFree) SetIndicatorValue(indicatorName *foundation.NSString, indicatorValue int)
- func (o *IOBluetoothHandsFree) SetInputMuted(inputMuted bool)
- func (o *IOBluetoothHandsFree) SetInputVolume(inputVolume float32)
- func (o *IOBluetoothHandsFree) SetOutputMuted(outputMuted bool)
- func (o *IOBluetoothHandsFree) SetOutputVolume(outputVolume float32)
- func (o *IOBluetoothHandsFree) SetSupportedFeatures(supportedFeatures uint32)
- func (o *IOBluetoothHandsFree) SupportedFeatures() uint32
- type IOBluetoothHandsFreeAudioGateway
- func (o *IOBluetoothHandsFreeAudioGateway) CreateIndicatorMinMaxCurrentValue(indicatorName *foundation.NSString, minValue int, maxValue int, ...)
- func (o *IOBluetoothHandsFreeAudioGateway) InitWithDeviceDelegate(device *IOBluetoothDevice, inDelegate objc.ID) *IOBluetoothHandsFreeAudioGateway
- func (o *IOBluetoothHandsFreeAudioGateway) ProcessATCommand(atCommand *foundation.NSString)
- func (o *IOBluetoothHandsFreeAudioGateway) SendOKResponse()
- func (o *IOBluetoothHandsFreeAudioGateway) SendResponse(response *foundation.NSString)
- func (o *IOBluetoothHandsFreeAudioGateway) SendResponseWithOK(response *foundation.NSString, withOK bool)
- type IOBluetoothHandsFreeAudioGatewayDelegate
- type IOBluetoothHandsFreeAudioGatewayFeatures
- type IOBluetoothHandsFreeCallHoldModes
- type IOBluetoothHandsFreeCodecID
- type IOBluetoothHandsFreeDelegate
- type IOBluetoothHandsFreeDevice
- func (o *IOBluetoothHandsFreeDevice) AcceptCall()
- func (o *IOBluetoothHandsFreeDevice) AcceptCallOnPhone()
- func (o *IOBluetoothHandsFreeDevice) AddHeldCall()
- func (o *IOBluetoothHandsFreeDevice) CallTransfer()
- func (o *IOBluetoothHandsFreeDevice) CurrentCallList()
- func (o *IOBluetoothHandsFreeDevice) DialNumber(aNumber *foundation.NSString)
- func (o *IOBluetoothHandsFreeDevice) EndCall()
- func (o *IOBluetoothHandsFreeDevice) HoldCall()
- func (o *IOBluetoothHandsFreeDevice) InitWithDeviceDelegate(device *IOBluetoothDevice, delegate objc.ID) *IOBluetoothHandsFreeDevice
- func (o *IOBluetoothHandsFreeDevice) MemoryDial(memoryLocation int)
- func (o *IOBluetoothHandsFreeDevice) PlaceAllOthersOnHold(index int)
- func (o *IOBluetoothHandsFreeDevice) Redial()
- func (o *IOBluetoothHandsFreeDevice) ReleaseActiveCalls()
- func (o *IOBluetoothHandsFreeDevice) ReleaseCall(index int)
- func (o *IOBluetoothHandsFreeDevice) ReleaseHeldCalls()
- func (o *IOBluetoothHandsFreeDevice) SendATCommand(atCommand *foundation.NSString)
- func (o *IOBluetoothHandsFreeDevice) SendATCommandTimeoutSelectorTarget(atCommand *foundation.NSString, timeout float32, selector objc.SEL, ...)
- func (o *IOBluetoothHandsFreeDevice) SendDTMF(character *foundation.NSString)
- func (o *IOBluetoothHandsFreeDevice) SendSMSMessage(aNumber *foundation.NSString, aMessage *foundation.NSString)
- func (o *IOBluetoothHandsFreeDevice) SubscriberNumber()
- func (o *IOBluetoothHandsFreeDevice) TransferAudioToComputer()
- func (o *IOBluetoothHandsFreeDevice) TransferAudioToPhone()
- type IOBluetoothHandsFreeDeviceDelegate
- type IOBluetoothHandsFreeDeviceFeatures
- type IOBluetoothHandsFreePDUMessageStatus
- type IOBluetoothHandsFreeSMSSupport
- type IOBluetoothHostController
- func (o *IOBluetoothHostController) AddressAsString() *foundation.NSString
- func (o *IOBluetoothHostController) ClassOfDevice() uint32
- func (o *IOBluetoothHostController) Delegate() objc.ID
- func (o *IOBluetoothHostController) NameAsString() *foundation.NSString
- func (o *IOBluetoothHostController) PowerState() icadevices.BluetoothHCIPowerState
- func (o *IOBluetoothHostController) SetClassOfDeviceForTimeInterval(classOfDevice uint32, seconds float64) int
- func (o *IOBluetoothHostController) SetDelegate(delegate objc.ID)
- type IOBluetoothL2CAPChannel
- func (o *IOBluetoothL2CAPChannel) CloseChannel() int
- func (o *IOBluetoothL2CAPChannel) Delegate() objc.ID
- func (o *IOBluetoothL2CAPChannel) Device() *IOBluetoothDevice
- func (o *IOBluetoothL2CAPChannel) GetDevice() *IOBluetoothDevice
- func (o *IOBluetoothL2CAPChannel) GetIncomingMTU() uint16
- func (o *IOBluetoothL2CAPChannel) GetLocalChannelID() uint16
- func (o *IOBluetoothL2CAPChannel) GetObjectID() uint
- func (o *IOBluetoothL2CAPChannel) GetOutgoingMTU() uint16
- func (o *IOBluetoothL2CAPChannel) GetPSM() uint16
- func (o *IOBluetoothL2CAPChannel) GetRemoteChannelID() uint16
- func (o *IOBluetoothL2CAPChannel) IncomingMTU() uint16
- func (o *IOBluetoothL2CAPChannel) IsIncoming() bool
- func (o *IOBluetoothL2CAPChannel) LocalChannelID() uint16
- func (o *IOBluetoothL2CAPChannel) ObjectID() uint
- func (o *IOBluetoothL2CAPChannel) OutgoingMTU() uint16
- func (o *IOBluetoothL2CAPChannel) PSM() uint16
- func (o *IOBluetoothL2CAPChannel) RegisterForChannelCloseNotificationSelector(observer objc.ID, inSelector objc.SEL) *IOBluetoothUserNotification
- func (o *IOBluetoothL2CAPChannel) RemoteChannelID() uint16
- func (o *IOBluetoothL2CAPChannel) RequestRemoteMTU(remoteMTU uint16) int
- func (o *IOBluetoothL2CAPChannel) SetDelegate(channelDelegate objc.ID) int
- func (o *IOBluetoothL2CAPChannel) SetDelegateWithConfiguration(channelDelegate objc.ID, ...) int
- func (o *IOBluetoothL2CAPChannel) WriteAsyncLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
- func (o *IOBluetoothL2CAPChannel) WriteAsyncTrapLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
- func (o *IOBluetoothL2CAPChannel) WriteSyncLength(data unsafe.Pointer, length uint16) int
- type IOBluetoothL2CAPChannelDataBlock
- type IOBluetoothL2CAPChannelDelegate
- type IOBluetoothL2CAPChannelEvent
- type IOBluetoothL2CAPChannelEventType
- type IOBluetoothOBEXSession
- func IOBluetoothOBEXSessionFromID(id objc.ID) *IOBluetoothOBEXSession
- func IOBluetoothOBEXSessionWithDeviceChannelID(inDevice *IOBluetoothDevice, inRFCOMMChannelID uint8) *IOBluetoothOBEXSession
- func IOBluetoothOBEXSessionWithIncomingRFCOMMChannelEventSelectorSelectorTargetRefCon(inChannel *IOBluetoothRFCOMMChannel, inEventSelector objc.SEL, ...) *IOBluetoothOBEXSession
- func IOBluetoothOBEXSessionWithSDPServiceRecord(inSDPServiceRecord *IOBluetoothSDPServiceRecord) *IOBluetoothOBEXSession
- func (o *IOBluetoothOBEXSession) GetDevice() *IOBluetoothDevice
- func (o *IOBluetoothOBEXSession) GetRFCOMMChannel() *IOBluetoothRFCOMMChannel
- func (o *IOBluetoothOBEXSession) InitWithDeviceChannelID(inDevice *IOBluetoothDevice, inChannelID uint8) *IOBluetoothOBEXSession
- func (o *IOBluetoothOBEXSession) InitWithIncomingRFCOMMChannelEventSelectorSelectorTargetRefCon(inChannel *IOBluetoothRFCOMMChannel, inEventSelector objc.SEL, ...) *IOBluetoothOBEXSession
- func (o *IOBluetoothOBEXSession) InitWithSDPServiceRecord(inSDPServiceRecord *IOBluetoothSDPServiceRecord) *IOBluetoothOBEXSession
- func (o *IOBluetoothOBEXSession) IsSessionTargetAMac() bool
- func (o *IOBluetoothOBEXSession) RestartTransmission()
- func (o *IOBluetoothOBEXSession) SendBufferTroughChannel() int
- func (o *IOBluetoothOBEXSession) SetOBEXSessionOpenConnectionCallbackRefCon(inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer)
- func (o *IOBluetoothOBEXSession) SetOpenTransportConnectionAsyncSelectorTargetRefCon(inSelector objc.SEL, inSelectorTarget objc.ID, inUserRefCon unsafe.Pointer)
- type IOBluetoothObject
- type IOBluetoothRFCOMMChannel
- func (o *IOBluetoothRFCOMMChannel) CloseChannel() int
- func (o *IOBluetoothRFCOMMChannel) Delegate() objc.ID
- func (o *IOBluetoothRFCOMMChannel) GetChannelID() uint8
- func (o *IOBluetoothRFCOMMChannel) GetDevice() *IOBluetoothDevice
- func (o *IOBluetoothRFCOMMChannel) GetMTU() uint16
- func (o *IOBluetoothRFCOMMChannel) GetObjectID() uint
- func (o *IOBluetoothRFCOMMChannel) GetRFCOMMChannelRef() unsafe.Pointer
- func (o *IOBluetoothRFCOMMChannel) IsIncoming() bool
- func (o *IOBluetoothRFCOMMChannel) IsOpen() bool
- func (o *IOBluetoothRFCOMMChannel) IsTransmissionPaused() bool
- func (o *IOBluetoothRFCOMMChannel) RegisterForChannelCloseNotificationSelector(observer objc.ID, inSelector objc.SEL) *IOBluetoothUserNotification
- func (o *IOBluetoothRFCOMMChannel) SendRemoteLineStatus(lineStatus BluetoothRFCOMMLineStatus) int
- func (o *IOBluetoothRFCOMMChannel) SetDelegate(delegate objc.ID) int
- func (o *IOBluetoothRFCOMMChannel) SetSerialParametersDataBitsParityStopBits(speed uint, nBits uint8, parity BluetoothRFCOMMParityType, bitStop uint8) int
- func (o *IOBluetoothRFCOMMChannel) WriteAsyncLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
- func (o *IOBluetoothRFCOMMChannel) WriteLengthSleep(data unsafe.Pointer, length uint16, sleep bool) int
- func (o *IOBluetoothRFCOMMChannel) WriteSimpleLengthSleepBytesSent(data unsafe.Pointer, length uint16, sleep bool, numBytesSent *uint) int
- func (o *IOBluetoothRFCOMMChannel) WriteSyncLength(data unsafe.Pointer, length uint16) int
- type IOBluetoothRFCOMMChannelDelegate
- type IOBluetoothSDPDataElement
- func IOBluetoothSDPDataElementFromID(id objc.ID) *IOBluetoothSDPDataElement
- func IOBluetoothSDPDataElementWithElementValue(element *foundation.NSObject) *IOBluetoothSDPDataElement
- func IOBluetoothSDPDataElementWithSDPDataElementRef(sdpDataElementRef unsafe.Pointer) *IOBluetoothSDPDataElement
- func IOBluetoothSDPDataElementWithTypeSizeDescriptorSizeValue(type_ uint8, newSizeDescriptor uint8, newSize uint32, ...) *IOBluetoothSDPDataElement
- func (o *IOBluetoothSDPDataElement) ContainsDataElement(dataElement *IOBluetoothSDPDataElement) bool
- func (o *IOBluetoothSDPDataElement) ContainsValue(cmpValue *foundation.NSObject) bool
- func (o *IOBluetoothSDPDataElement) GetArrayValue() *foundation.NSArray[objc.ID]
- func (o *IOBluetoothSDPDataElement) GetDataValue() *foundation.NSData
- func (o *IOBluetoothSDPDataElement) GetNumberValue() *foundation.NSNumber
- func (o *IOBluetoothSDPDataElement) GetSDPDataElementRef() unsafe.Pointer
- func (o *IOBluetoothSDPDataElement) GetSize() uint32
- func (o *IOBluetoothSDPDataElement) GetSizeDescriptor() uint8
- func (o *IOBluetoothSDPDataElement) GetStringValue() *foundation.NSString
- func (o *IOBluetoothSDPDataElement) GetTypeDescriptor() uint8
- func (o *IOBluetoothSDPDataElement) GetUUIDValue() *IOBluetoothSDPUUID
- func (o *IOBluetoothSDPDataElement) GetValue() *foundation.NSObject
- func (o *IOBluetoothSDPDataElement) InitWithElementValue(element *foundation.NSObject) *IOBluetoothSDPDataElement
- func (o *IOBluetoothSDPDataElement) InitWithTypeSizeDescriptorSizeValue(newType uint8, newSizeDescriptor uint8, newSize uint32, ...) *IOBluetoothSDPDataElement
- type IOBluetoothSDPServiceAttribute
- func IOBluetoothSDPServiceAttributeFromID(id objc.ID) *IOBluetoothSDPServiceAttribute
- func IOBluetoothSDPServiceAttributeWithIDAttributeElement(newAttributeID uint16, attributeElement *IOBluetoothSDPDataElement) *IOBluetoothSDPServiceAttribute
- func IOBluetoothSDPServiceAttributeWithIDAttributeElementValue(newAttributeID uint16, attributeElementValue *foundation.NSObject) *IOBluetoothSDPServiceAttribute
- func (o *IOBluetoothSDPServiceAttribute) GetAttributeID() uint16
- func (o *IOBluetoothSDPServiceAttribute) GetDataElement() *IOBluetoothSDPDataElement
- func (o *IOBluetoothSDPServiceAttribute) GetIDDataElement() *IOBluetoothSDPDataElement
- func (o *IOBluetoothSDPServiceAttribute) InitWithIDAttributeElement(newAttributeID uint16, attributeElement *IOBluetoothSDPDataElement) *IOBluetoothSDPServiceAttribute
- func (o *IOBluetoothSDPServiceAttribute) InitWithIDAttributeElementValue(newAttributeID uint16, attributeElementValue *foundation.NSObject) *IOBluetoothSDPServiceAttribute
- type IOBluetoothSDPServiceRecord
- func IOBluetoothSDPServiceRecordFromID(id objc.ID) *IOBluetoothSDPServiceRecord
- func IOBluetoothSDPServiceRecordPublishedServiceRecordWithDictionary(serviceDict *foundation.NSDictionary[objc.ID, objc.ID]) *IOBluetoothSDPServiceRecord
- func IOBluetoothSDPServiceRecordWithSDPServiceRecordRef(sdpServiceRecordRef unsafe.Pointer) *IOBluetoothSDPServiceRecord
- func IOBluetoothSDPServiceRecordWithServiceDictionaryDevice(serviceDict *foundation.NSDictionary[objc.ID, objc.ID], ...) *IOBluetoothSDPServiceRecord
- func (o *IOBluetoothSDPServiceRecord) Attributes() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *IOBluetoothSDPServiceRecord) Device() *IOBluetoothDevice
- func (o *IOBluetoothSDPServiceRecord) GetAttributeDataElement(attributeID uint16) *IOBluetoothSDPDataElement
- func (o *IOBluetoothSDPServiceRecord) GetAttributes() *foundation.NSDictionary[objc.ID, objc.ID]
- func (o *IOBluetoothSDPServiceRecord) GetDevice() *IOBluetoothDevice
- func (o *IOBluetoothSDPServiceRecord) GetL2CAPPSM(outPSM *uint16) int
- func (o *IOBluetoothSDPServiceRecord) GetRFCOMMChannelID(rfcommChannelID *uint8) int
- func (o *IOBluetoothSDPServiceRecord) GetSDPServiceRecordRef() unsafe.Pointer
- func (o *IOBluetoothSDPServiceRecord) GetServiceName() *foundation.NSString
- func (o *IOBluetoothSDPServiceRecord) GetServiceRecordHandle(outServiceRecordHandle *uint32) int
- func (o *IOBluetoothSDPServiceRecord) HandsFreeSupportedFeatures() uint16
- func (o *IOBluetoothSDPServiceRecord) HasServiceFromArray(array *foundation.NSArray[objc.ID]) bool
- func (o *IOBluetoothSDPServiceRecord) InitWithServiceDictionaryDevice(serviceDict *foundation.NSDictionary[objc.ID, objc.ID], ...) *IOBluetoothSDPServiceRecord
- func (o *IOBluetoothSDPServiceRecord) MatchesSearchArray(searchArray *foundation.NSArray[objc.ID]) bool
- func (o *IOBluetoothSDPServiceRecord) MatchesUUID16(uuid16 uint16) bool
- func (o *IOBluetoothSDPServiceRecord) MatchesUUIDArray(uuidArray *foundation.NSArray[objc.ID]) bool
- func (o *IOBluetoothSDPServiceRecord) RemoveServiceRecord() int
- func (o *IOBluetoothSDPServiceRecord) SortedAttributes() *foundation.NSArray[objc.ID]
- type IOBluetoothSDPUUID
- func IOBluetoothSDPUUIDFromID(id objc.ID) *IOBluetoothSDPUUID
- func IOBluetoothSDPUUIDUuid16(uuid16 uint16) *IOBluetoothSDPUUID
- func IOBluetoothSDPUUIDUuid32(uuid32 uint32) *IOBluetoothSDPUUID
- func IOBluetoothSDPUUIDUuidWithBytesLength(bytes_ unsafe.Pointer, length uint) *IOBluetoothSDPUUID
- func IOBluetoothSDPUUIDUuidWithData(data *foundation.NSData) *IOBluetoothSDPUUID
- func IOBluetoothSDPUUIDWithSDPUUIDRef(sdpUUIDRef unsafe.Pointer) *IOBluetoothSDPUUID
- func (o *IOBluetoothSDPUUID) GetSDPUUIDRef() unsafe.Pointer
- func (o *IOBluetoothSDPUUID) GetUUIDWithLength(newLength uint) *IOBluetoothSDPUUID
- func (o *IOBluetoothSDPUUID) InitWithUUID16(uuid16 uint16) *IOBluetoothSDPUUID
- func (o *IOBluetoothSDPUUID) InitWithUUID32(uuid32 uint32) *IOBluetoothSDPUUID
- func (o *IOBluetoothSDPUUID) IsEqualToUUID(otherUUID *IOBluetoothSDPUUID) bool
- type IOBluetoothSMSMode
- type IOBluetoothUserNotification
- func IOBluetoothDeviceRegisterForConnectNotificationsSelector(observer objc.ID, inSelector objc.SEL) *IOBluetoothUserNotification
- func IOBluetoothL2CAPChannelRegisterForChannelOpenNotificationsSelector(object objc.ID, selector objc.SEL) *IOBluetoothUserNotification
- func IOBluetoothL2CAPChannelRegisterForChannelOpenNotificationsSelectorWithPSMDirection(object objc.ID, selector objc.SEL, psm uint16, ...) *IOBluetoothUserNotification
- func IOBluetoothRFCOMMChannelRegisterForChannelOpenNotificationsSelector(object objc.ID, selector objc.SEL) *IOBluetoothUserNotification
- func IOBluetoothRFCOMMChannelRegisterForChannelOpenNotificationsSelectorWithChannelIDDirection(object objc.ID, selector objc.SEL, channelID uint8, ...) *IOBluetoothUserNotification
- func IOBluetoothUserNotificationFromID(id objc.ID) *IOBluetoothUserNotification
- type IOBluetoothUserNotificationChannelDirection
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type OBEXAbortCommandData
- type OBEXAbortCommandResponseData
- type OBEXConnectCommandData
- type OBEXConnectCommandResponseData
- type OBEXConnectFlagValues
- type OBEXDisconnectCommandData
- type OBEXDisconnectCommandResponseData
- type OBEXErrorCodes
- type OBEXErrorData
- type OBEXFileTransferServices
- func (o *OBEXFileTransferServices) Abort() int32
- func (o *OBEXFileTransferServices) ChangeCurrentFolderBackward() int32
- func (o *OBEXFileTransferServices) ChangeCurrentFolderForwardToPath(inDirName *foundation.NSString) int32
- func (o *OBEXFileTransferServices) ChangeCurrentFolderToRoot() int32
- func (o *OBEXFileTransferServices) ConnectToFTPService() int32
- func (o *OBEXFileTransferServices) ConnectToObjectPushService() int32
- func (o *OBEXFileTransferServices) CopyRemoteFileToLocalPath(inRemoteFileName *foundation.NSString, inLocalPathAndName *foundation.NSString) int32
- func (o *OBEXFileTransferServices) CreateFolder(inDirName *foundation.NSString) int32
- func (o *OBEXFileTransferServices) CurrentPath() *foundation.NSString
- func (o *OBEXFileTransferServices) Delegate() objc.ID
- func (o *OBEXFileTransferServices) Disconnect() int32
- func (o *OBEXFileTransferServices) GetDefaultVCard(inLocalPathAndName *foundation.NSString) int32
- func (o *OBEXFileTransferServices) InitWithOBEXSession(inOBEXSession *IOBluetoothOBEXSession) *OBEXFileTransferServices
- func (o *OBEXFileTransferServices) IsBusy() bool
- func (o *OBEXFileTransferServices) IsConnected() bool
- func (o *OBEXFileTransferServices) RemoveItem(inItemName *foundation.NSString) int32
- func (o *OBEXFileTransferServices) RetrieveFolderListing() int32
- func (o *OBEXFileTransferServices) SendDataTypeName(inData *foundation.NSData, inType *foundation.NSString, ...) int32
- func (o *OBEXFileTransferServices) SendFile(inLocalPathAndName *foundation.NSString) int32
- func (o *OBEXFileTransferServices) SetDelegate(delegate objc.ID)
- type OBEXGetCommandData
- type OBEXGetCommandResponseData
- type OBEXHeaderIdentifiers
- type OBEXNonceFlagValues
- type OBEXOpCodeCommandValues
- type OBEXOpCodeResponseValues
- type OBEXOpCodeSessionValues
- type OBEXPutCommandData
- type OBEXPutCommandResponseData
- type OBEXPutFlagValues
- type OBEXRealmValues
- type OBEXSession
- func (o *OBEXSession) ClientHandleIncomingData(event *OBEXTransportEvent)
- func (o *OBEXSession) CloseTransportConnection() int32
- func (o *OBEXSession) GetAvailableCommandPayloadLength(inOpCode uint8) uint16
- func (o *OBEXSession) GetAvailableCommandResponsePayloadLength(inOpCode uint8) uint16
- func (o *OBEXSession) GetMaxPacketLength() uint16
- func (o *OBEXSession) HasOpenOBEXConnection() bool
- func (o *OBEXSession) HasOpenTransportConnection() uint8
- func (o *OBEXSession) OBEXAbortOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength uint, ...) int32
- func (o *OBEXSession) OBEXAbortResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, ...) int32
- func (o *OBEXSession) OBEXConnectMaxPacketLengthOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inFlags uint8, inMaxPacketLength uint16, inOptionalHeaders unsafe.Pointer, ...) int32
- func (o *OBEXSession) OBEXConnectResponseFlagsMaxPacketLengthOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inResponseOpCode uint8, inFlags uint8, inMaxPacketLength uint16, ...) int32
- func (o *OBEXSession) OBEXDisconnectOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength uint, ...) int32
- func (o *OBEXSession) OBEXDisconnectResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, ...) int32
- func (o *OBEXSession) OBEXGetHeadersHeadersLengthEventSelectorSelectorTargetRefCon(isFinalChunk uint8, inHeaders unsafe.Pointer, inHeadersLength uint, ...) int32
- func (o *OBEXSession) OBEXGetResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, ...) int32
- func (o *OBEXSession) OBEXPutHeadersDataHeadersDataLengthBodyDataBodyDataLengthEventSelectorSelectorTargetRefCon(isFinalChunk uint8, inHeadersData unsafe.Pointer, inHeadersDataLength uint, ...) int32
- func (o *OBEXSession) OBEXPutResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, ...) int32
- func (o *OBEXSession) OBEXSetPathConstantsOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inFlags uint8, inConstants uint8, inOptionalHeaders unsafe.Pointer, ...) int32
- func (o *OBEXSession) OBEXSetPathResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, ...) int32
- func (o *OBEXSession) OpenTransportConnectionSelectorTargetRefCon(inSelector objc.SEL, inTarget objc.ID, inUserRefCon unsafe.Pointer) int32
- func (o *OBEXSession) SendDataToTransportDataLength(inDataToSend unsafe.Pointer, inDataLength uint) int32
- func (o *OBEXSession) ServerHandleIncomingData(event *OBEXTransportEvent)
- func (o *OBEXSession) SetEventCallback(inEventCallback unsafe.Pointer)
- func (o *OBEXSession) SetEventRefCon(inRefCon unsafe.Pointer)
- func (o *OBEXSession) SetEventSelectorTargetRefCon(inEventSelector objc.SEL, inEventSelectorTarget objc.ID, ...)
- type OBEXSessionEvent
- type OBEXSessionEventTypes
- type OBEXSessionParameterTags
- type OBEXSetPathCommandData
- type OBEXSetPathCommandResponseData
- type OBEXTransportEvent
- type OBEXTransportEventTypes
- type OBEXVersions
- type OpaqueIOBluetoothObjectRef
- type OpaqueOBEXSessionRef
- type OpaquePrivOBEXSessionData
- type Os_clockid_t
- type ProtocolParameters
- type Ptrauth_key
- type Qos_class_t
- type SDPAttributeDeviceIdentificationRecord
- type SDPAttributeIdentifierCodes
- type SDPServiceClasses
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
const ( KBluetoothAirModeALawLog = 1 KBluetoothAirModeCVSD = 2 KBluetoothAirModeTransparentData = 3 KBluetoothAirModeULawLog = 0 )
const ( KBluetoothConnectionHandleNone = 65535 KBluetoothConnectionHandleSerialDeviceReserved = 4095 )
const ( KBluetoothDeviceClassMajorAny = 707406378 KBluetoothDeviceClassMajorAudio = 4 KBluetoothDeviceClassMajorComputer = 1 KBluetoothDeviceClassMajorEnd = 1852796518 KBluetoothDeviceClassMajorHealth = 9 KBluetoothDeviceClassMajorImaging = 6 KBluetoothDeviceClassMajorLANAccessPoint = 3 KBluetoothDeviceClassMajorMiscellaneous = 0 KBluetoothDeviceClassMajorNone = 1852796517 KBluetoothDeviceClassMajorPeripheral = 5 KBluetoothDeviceClassMajorPhone = 2 KBluetoothDeviceClassMajorToy = 8 KBluetoothDeviceClassMajorUnclassified = 31 KBluetoothDeviceClassMajorWearable = 7 )
const ( KBluetoothDeviceClassMinorAny = 707406378 KBluetoothDeviceClassMinorAudioCamcorder = 13 KBluetoothDeviceClassMinorAudioCar = 8 KBluetoothDeviceClassMinorAudioGamingToy = 18 KBluetoothDeviceClassMinorAudioHandsFree = 2 KBluetoothDeviceClassMinorAudioHeadphones = 6 KBluetoothDeviceClassMinorAudioHeadset = 1 KBluetoothDeviceClassMinorAudioHiFi = 10 KBluetoothDeviceClassMinorAudioLoudspeaker = 5 KBluetoothDeviceClassMinorAudioMicrophone = 4 KBluetoothDeviceClassMinorAudioPortable = 7 KBluetoothDeviceClassMinorAudioReserved1 = 3 KBluetoothDeviceClassMinorAudioReserved2 = 17 KBluetoothDeviceClassMinorAudioSetTopBox = 9 KBluetoothDeviceClassMinorAudioUnclassified = 0 KBluetoothDeviceClassMinorAudioVCR = 11 KBluetoothDeviceClassMinorAudioVideoCamera = 12 KBluetoothDeviceClassMinorAudioVideoConferencing = 16 KBluetoothDeviceClassMinorAudioVideoDisplayAndLoudspeaker = 15 KBluetoothDeviceClassMinorAudioVideoMonitor = 14 KBluetoothDeviceClassMinorComputerDesktopWorkstation = 1 KBluetoothDeviceClassMinorComputerHandheld = 4 KBluetoothDeviceClassMinorComputerLaptop = 3 KBluetoothDeviceClassMinorComputerPalmSized = 5 KBluetoothDeviceClassMinorComputerServer = 2 KBluetoothDeviceClassMinorComputerUnclassified = 0 KBluetoothDeviceClassMinorComputerWearable = 6 KBluetoothDeviceClassMinorEnd = 1852796518 KBluetoothDeviceClassMinorHealthBloodPressureMonitor = 1 KBluetoothDeviceClassMinorHealthDataDisplay = 7 KBluetoothDeviceClassMinorHealthGlucoseMeter = 4 KBluetoothDeviceClassMinorHealthHeartRateMonitor = 6 KBluetoothDeviceClassMinorHealthPulseOximeter = 5 KBluetoothDeviceClassMinorHealthScale = 3 KBluetoothDeviceClassMinorHealthThermometer = 2 KBluetoothDeviceClassMinorHealthUndefined = 0 KBluetoothDeviceClassMinorImaging1Camera = 8 KBluetoothDeviceClassMinorImaging1Display = 4 KBluetoothDeviceClassMinorImaging1Printer = 32 KBluetoothDeviceClassMinorImaging1Scanner = 16 KBluetoothDeviceClassMinorImaging2Unclassified = 0 KBluetoothDeviceClassMinorNone = 1852796517 KBluetoothDeviceClassMinorPeripheral1Combo = 48 KBluetoothDeviceClassMinorPeripheral1Keyboard = 16 KBluetoothDeviceClassMinorPeripheral1Pointing = 32 KBluetoothDeviceClassMinorPeripheral2AnyPointing = 1886349678 KBluetoothDeviceClassMinorPeripheral2CardReader = 6 KBluetoothDeviceClassMinorPeripheral2DigitalPen = 7 KBluetoothDeviceClassMinorPeripheral2DigitizerTablet = 5 KBluetoothDeviceClassMinorPeripheral2Gamepad = 2 KBluetoothDeviceClassMinorPeripheral2GesturalInputDevice = 9 KBluetoothDeviceClassMinorPeripheral2HandheldScanner = 8 KBluetoothDeviceClassMinorPeripheral2Joystick = 1 KBluetoothDeviceClassMinorPeripheral2RemoteControl = 3 KBluetoothDeviceClassMinorPeripheral2SensingDevice = 4 KBluetoothDeviceClassMinorPeripheral2Unclassified = 0 KBluetoothDeviceClassMinorPhoneCellular = 1 KBluetoothDeviceClassMinorPhoneCommonISDNAccess = 5 KBluetoothDeviceClassMinorPhoneCordless = 2 KBluetoothDeviceClassMinorPhoneSmartPhone = 3 KBluetoothDeviceClassMinorPhoneUnclassified = 0 KBluetoothDeviceClassMinorPhoneWiredModemOrVoiceGateway = 4 KBluetoothDeviceClassMinorToyController = 4 KBluetoothDeviceClassMinorToyDollActionFigure = 3 KBluetoothDeviceClassMinorToyGame = 5 KBluetoothDeviceClassMinorToyRobot = 1 KBluetoothDeviceClassMinorToyVehicle = 2 KBluetoothDeviceClassMinorWearableGlasses = 5 KBluetoothDeviceClassMinorWearableHelmet = 4 KBluetoothDeviceClassMinorWearableJacket = 3 KBluetoothDeviceClassMinorWearablePager = 2 KBluetoothDeviceClassMinorWearableWristWatch = 1 )
const ( KBluetoothAllowRoleSwitch = 1 KBluetoothDontAllowRoleSwitch = 0 )
const ( KBluetoothEncryptionEnableBREDRAESCCM = 2 KBluetoothEncryptionEnableBREDRE0 = 1 KBluetoothEncryptionEnableLEAESCCM = 1 KBluetoothEncryptionEnableOff = 0 KBluetoothEncryptionEnableOn = 1 )
const ( KBluetoothGAPAppearanceGenericBarcodeScanner = 704 KBluetoothGAPAppearanceGenericBloodPressure = 896 KBluetoothGAPAppearanceGenericClock = 256 KBluetoothGAPAppearanceGenericComputer = 128 KBluetoothGAPAppearanceGenericCycling = 1152 KBluetoothGAPAppearanceGenericDisplay = 320 KBluetoothGAPAppearanceGenericEyeGlasses = 448 KBluetoothGAPAppearanceGenericGlucoseMeter = 1024 KBluetoothGAPAppearanceGenericHeartrateSensor = 832 KBluetoothGAPAppearanceGenericHumanInterfaceDevice = 960 KBluetoothGAPAppearanceGenericKeyring = 576 KBluetoothGAPAppearanceGenericMediaPlayer = 640 KBluetoothGAPAppearanceGenericPhone = 64 KBluetoothGAPAppearanceGenericRemoteControl = 384 KBluetoothGAPAppearanceGenericRunningWalkingSensor = 1088 KBluetoothGAPAppearanceGenericTag = 512 KBluetoothGAPAppearanceGenericThermometer = 768 KBluetoothGAPAppearanceGenericWatch = 192 KBluetoothGAPAppearanceHumanInterfaceDeviceBarcodeScanner = 968 KBluetoothGAPAppearanceHumanInterfaceDeviceCardReader = 966 KBluetoothGAPAppearanceHumanInterfaceDeviceDigitalPen = 967 KBluetoothGAPAppearanceHumanInterfaceDeviceDigitizerTablet = 965 KBluetoothGAPAppearanceHumanInterfaceDeviceGamepad = 964 KBluetoothGAPAppearanceHumanInterfaceDeviceJoystick = 963 KBluetoothGAPAppearanceHumanInterfaceDeviceKeyboard = 961 KBluetoothGAPAppearanceHumanInterfaceDeviceMouse = 962 KBluetoothGAPAppearanceUnknown = 0 )
const ( KBluetoothGeneralInquiryAccessCodeIndex = 0 KBluetoothGeneralInquiryAccessCodeLAPValue = 10390323 KBluetoothLimitedInquiryAccessCodeEnd = 10390273 KBluetoothLimitedInquiryAccessCodeIndex = 1 KBluetoothLimitedInquiryAccessCodeLAPValue = 10390272 )
const ( KBluetoothHCICommandPacketHeaderSize = 3 KBluetoothHCICommandPacketMaxDataSize = 255 KBluetoothHCIDataPacketHeaderSize = 4 KBluetoothHCIDataPacketMaxDataSize = 65535 KBluetoothHCIEventPacketHeaderSize = 2 KBluetoothHCIEventPacketMaxDataSize = 255 KBluetoothHCIMaxCommandPacketSize = 258 KBluetoothHCIMaxDataPacketSize = 65539 KBluetoothHCIMaxEventPacketSize = 257 )
const ( KBluetoothHCIErroneousDataReportingDisabled = 0 KBluetoothHCIErroneousDataReportingEnabled = 1 KBluetoothHCIErroneousDataReportingReservedEnd = 255 KBluetoothHCIErroneousDataReportingReservedStart = 2 )
const ( KBluetoothHCIErrorACLConnectionAlreadyExists = 11 KBluetoothHCIErrorAuthenticationFailure = 5 KBluetoothHCIErrorChannelClassificationNotSupported = 46 KBluetoothHCIErrorCoarseClockAdjustmentRejected = 64 KBluetoothHCIErrorCommandDisallowed = 12 KBluetoothHCIErrorConnectionFailedToBeEstablished = 62 KBluetoothHCIErrorConnectionRejectedDueToNoSuitableChannelFound = 57 KBluetoothHCIErrorConnectionTerminatedByLocalHost = 22 KBluetoothHCIErrorConnectionTerminatedDueToMICFailure = 61 KBluetoothHCIErrorConnectionTimeout = 8 KBluetoothHCIErrorControllerBusy = 58 KBluetoothHCIErrorDifferentTransactionCollision = 42 KBluetoothHCIErrorDirectedAdvertisingTimeout = 60 KBluetoothHCIErrorEncryptionModeNotAcceptable = 37 KBluetoothHCIErrorExtendedInquiryResponseTooLarge = 54 KBluetoothHCIErrorHardwareFailure = 3 KBluetoothHCIErrorHostBusyPairing = 56 KBluetoothHCIErrorHostRejectedLimitedResources = 13 KBluetoothHCIErrorHostRejectedRemoteDeviceIsPersonal = 15 KBluetoothHCIErrorHostRejectedSecurityReasons = 14 KBluetoothHCIErrorHostRejectedUnacceptableDeviceAddress = 15 KBluetoothHCIErrorHostTimeout = 16 KBluetoothHCIErrorInstantPassed = 40 KBluetoothHCIErrorInsufficientSecurity = 47 KBluetoothHCIErrorInvalidHCICommandParameters = 18 KBluetoothHCIErrorInvalidLMPParameters = 30 KBluetoothHCIErrorKeyMissing = 6 KBluetoothHCIErrorLMPErrorTransactionCollision = 35 KBluetoothHCIErrorLMPPDUNotAllowed = 36 KBluetoothHCIErrorLMPResponseTimeout = 34 KBluetoothHCIErrorMACConnectionFailed = 63 KBluetoothHCIErrorMax = 64 KBluetoothHCIErrorMaxNumberOfConnections = 9 KBluetoothHCIErrorMaxNumberOfSCOConnectionsToADevice = 10 KBluetoothHCIErrorMemoryFull = 7 KBluetoothHCIErrorNoConnection = 2 KBluetoothHCIErrorOtherEndTerminatedConnectionAboutToPowerOff = 21 KBluetoothHCIErrorOtherEndTerminatedConnectionLowResources = 20 KBluetoothHCIErrorOtherEndTerminatedConnectionUserEnded = 19 KBluetoothHCIErrorPageTimeout = 4 KBluetoothHCIErrorPairingNotAllowed = 24 KBluetoothHCIErrorPairingWithUnitKeyNotSupported = 41 KBluetoothHCIErrorParameterOutOfMandatoryRange = 48 KBluetoothHCIErrorQoSNotSupported = 39 KBluetoothHCIErrorQoSRejected = 45 KBluetoothHCIErrorQoSUnacceptableParameter = 44 KBluetoothHCIErrorRepeatedAttempts = 23 KBluetoothHCIErrorReservedSlotViolation = 52 KBluetoothHCIErrorRoleChangeNotAllowed = 33 KBluetoothHCIErrorRoleSwitchFailed = 53 KBluetoothHCIErrorRoleSwitchPending = 49 KBluetoothHCIErrorSCOAirModeRejected = 29 KBluetoothHCIErrorSCOIntervalRejected = 28 KBluetoothHCIErrorSCOOffsetRejected = 27 KBluetoothHCIErrorSecureSimplePairingNotSupportedByHost = 55 KBluetoothHCIErrorSuccess = 0 KBluetoothHCIErrorUnacceptableConnectionInterval = 59 KBluetoothHCIErrorUnitKeyUsed = 38 KBluetoothHCIErrorUnknownHCICommand = 1 KBluetoothHCIErrorUnknownLMPPDU = 25 KBluetoothHCIErrorUnspecifiedError = 31 KBluetoothHCIErrorUnsupportedFeatureOrParameterValue = 17 KBluetoothHCIErrorUnsupportedLMPParameterValue = 32 KBluetoothHCIErrorUnsupportedRemoteFeature = 26 )
const ( KBluetoothHCIEventAMPReceiverReport = 75 KBluetoothHCIEventAMPStartTest = 73 KBluetoothHCIEventAMPStatusChange = 77 KBluetoothHCIEventAMPTestEnd = 74 KBluetoothHCIEventAuthenticationComplete = 6 KBluetoothHCIEventChangeConnectionLinkKeyComplete = 9 KBluetoothHCIEventChannelSelected = 65 KBluetoothHCIEventCommandComplete = 14 KBluetoothHCIEventCommandStatus = 15 KBluetoothHCIEventConnectionComplete = 3 KBluetoothHCIEventConnectionPacketType = 29 KBluetoothHCIEventConnectionRequest = 4 KBluetoothHCIEventDataBufferOverflow = 26 KBluetoothHCIEventDisconnectionComplete = 5 KBluetoothHCIEventDisconnectionLogicalLinkComplete = 70 KBluetoothHCIEventDisconnectionPhysicalLinkComplete = 66 KBluetoothHCIEventEncryptionChange = 8 KBluetoothHCIEventEncryptionKeyRefreshComplete = 48 KBluetoothHCIEventEnhancedFlushComplete = 57 KBluetoothHCIEventExtendedInquiryResult = 47 KBluetoothHCIEventFlowSpecModifyComplete = 71 KBluetoothHCIEventFlowSpecificationComplete = 33 KBluetoothHCIEventFlushOccurred = 17 KBluetoothHCIEventHardwareError = 16 KBluetoothHCIEventIOCapabilityRequest = 49 KBluetoothHCIEventIOCapabilityResponse = 50 KBluetoothHCIEventInquiryComplete = 1 KBluetoothHCIEventInquiryResult = 2 KBluetoothHCIEventInquiryResultWithRSSI = 34 KBluetoothHCIEventKeypressNotification = 60 KBluetoothHCIEventLEMetaEvent = 62 KBluetoothHCIEventLinkKeyNotification = 24 KBluetoothHCIEventLinkKeyRequest = 23 KBluetoothHCIEventLinkSupervisionTimeoutChanged = 56 KBluetoothHCIEventLogicalLinkComplete = 69 KBluetoothHCIEventLogoTesting = 254 KBluetoothHCIEventLoopbackCommand = 25 KBluetoothHCIEventMasterLinkKeyComplete = 10 KBluetoothHCIEventMaxSlotsChange = 27 KBluetoothHCIEventModeChange = 20 KBluetoothHCIEventNumberOfCompletedDataBlocks = 72 KBluetoothHCIEventNumberOfCompletedPackets = 19 KBluetoothHCIEventPINCodeRequest = 22 KBluetoothHCIEventPageScanModeChange = 31 KBluetoothHCIEventPageScanRepetitionModeChange = 32 KBluetoothHCIEventPhysicalLinkComplete = 64 KBluetoothHCIEventPhysicalLinkLossEarlyWarning = 67 KBluetoothHCIEventPhysicalLinkRecovery = 68 KBluetoothHCIEventQoSSetupComplete = 13 KBluetoothHCIEventQoSViolation = 30 KBluetoothHCIEventReadClockOffsetComplete = 28 KBluetoothHCIEventReadRemoteExtendedFeaturesComplete = 35 KBluetoothHCIEventReadRemoteSupportedFeaturesComplete = 11 KBluetoothHCIEventReadRemoteVersionInformationComplete = 12 KBluetoothHCIEventRemoteHostSupportedFeaturesNotification = 61 KBluetoothHCIEventRemoteNameRequestComplete = 7 KBluetoothHCIEventRemoteOOBDataRequest = 53 KBluetoothHCIEventReturnLinkKeys = 21 KBluetoothHCIEventRoleChange = 18 KBluetoothHCIEventShortRangeModeChangeComplete = 76 KBluetoothHCIEventSimplePairingComplete = 54 KBluetoothHCIEventSniffSubrating = 46 KBluetoothHCIEventSynchronousConnectionChanged = 45 KBluetoothHCIEventSynchronousConnectionComplete = 44 KBluetoothHCIEventUserConfirmationRequest = 51 KBluetoothHCIEventUserPasskeyNotification = 59 KBluetoothHCIEventUserPasskeyRequest = 52 KBluetoothHCIEventVendorSpecific = 255 KBluetoothHCISubEventLEAdvertisingReport = 2 KBluetoothHCISubEventLEAdvertisingSetTerminated = 18 KBluetoothHCISubEventLEChannelSelectionAlgorithm = 20 KBluetoothHCISubEventLEConnectionComplete = 1 KBluetoothHCISubEventLEConnectionUpdateComplete = 3 KBluetoothHCISubEventLEDataLengthChange = 7 KBluetoothHCISubEventLEDirectAdvertisingReport = 11 KBluetoothHCISubEventLEEnhancedConnectionComplete = 10 KBluetoothHCISubEventLEExtendedAdvertising = 13 KBluetoothHCISubEventLEGenerateDHKeyComplete = 9 KBluetoothHCISubEventLELongTermKeyRequest = 5 KBluetoothHCISubEventLEPeriodicAdvertisingReport = 15 KBluetoothHCISubEventLEPeriodicAdvertisingSyncEstablished = 14 KBluetoothHCISubEventLEPeriodicAdvertisingSyncLost = 16 KBluetoothHCISubEventLEPhyUpdateComplete = 12 KBluetoothHCISubEventLEReadLocalP256PublicKeyComplete = 8 KBluetoothHCISubEventLEReadRemoteUsedFeaturesComplete = 4 KBluetoothHCISubEventLERemoteConnectionParameterRequest = 6 KBluetoothHCISubEventLEScanRequestReceived = 19 KBluetoothHCISubEventLEScanTimeout = 17 )
const ( KBluetoothHCIEventMaskAll = 4294967295 KBluetoothHCIEventMaskAuthenticationComplete = 32 KBluetoothHCIEventMaskChangeConnectionLinkKeyComplete = 256 KBluetoothHCIEventMaskCommandComplete = 8192 KBluetoothHCIEventMaskCommandStatus = 16384 KBluetoothHCIEventMaskConnectionComplete = 4 KBluetoothHCIEventMaskConnectionPacketTypeChanged = 268435456 KBluetoothHCIEventMaskConnectionRequest = 8 KBluetoothHCIEventMaskDataBufferOverflow = 33554432 KBluetoothHCIEventMaskDefault = 4294967295 KBluetoothHCIEventMaskDisconnectionComplete = 16 KBluetoothHCIEventMaskEncryptionChange = 128 KBluetoothHCIEventMaskFlushOccurred = 65536 KBluetoothHCIEventMaskHardwareError = 32768 KBluetoothHCIEventMaskInquiryComplete = 1 KBluetoothHCIEventMaskInquiryResult = 2 KBluetoothHCIEventMaskLinkKeyNotification = 8388608 KBluetoothHCIEventMaskLinkKeyRequest = 4194304 KBluetoothHCIEventMaskLoopbackCommand = 16777216 KBluetoothHCIEventMaskMasterLinkKeyComplete = 512 KBluetoothHCIEventMaskMaxSlotsChange = 67108864 KBluetoothHCIEventMaskModeChange = 524288 KBluetoothHCIEventMaskNone = 0 KBluetoothHCIEventMaskNumberOfCompletedPackets = 262144 KBluetoothHCIEventMaskPINCodeRequest = 2097152 KBluetoothHCIEventMaskPageScanModeChange = 1073741824 KBluetoothHCIEventMaskPageScanRepetitionModeChange = 2147483648 KBluetoothHCIEventMaskQoSSetupComplete = 4096 KBluetoothHCIEventMaskQoSViolation = 536870912 KBluetoothHCIEventMaskReadClockOffsetComplete = 134217728 KBluetoothHCIEventMaskReadRemoteSupportedFeaturesComplete = 1024 KBluetoothHCIEventMaskReadRemoteVersionInformationComplete = 2048 KBluetoothHCIEventMaskRemoteNameRequestComplete = 64 KBluetoothHCIEventMaskReturnLinkKeys = 1048576 KBluetoothHCIEventMaskRoleChange = 131072 )
const ( KBluetoothHCILoopbackModeLocal = 1 KBluetoothHCILoopbackModeOff = 0 KBluetoothHCILoopbackModeRemote = 2 )
const ( KBluetoothHCICommandAMPTest = 9 KBluetoothHCICommandAMPTestEnd = 8 KBluetoothHCICommandAcceptConnectionRequest = 9 KBluetoothHCICommandAcceptSniffRequest = 49 KBluetoothHCICommandAcceptSynchronousConnectionRequest = 41 KBluetoothHCICommandAddSCOConnection = 7 KBluetoothHCICommandAuthenticationRequested = 17 KBluetoothHCICommandChangeConnectionLinkKey = 21 KBluetoothHCICommandChangeConnectionPacketType = 15 KBluetoothHCICommandChangeLocalName = 19 KBluetoothHCICommandCreateConnection = 5 KBluetoothHCICommandCreateConnectionCancel = 8 KBluetoothHCICommandCreateNewUnitKey = 11 KBluetoothHCICommandDeleteReservedLTADDR = 117 KBluetoothHCICommandDeleteStoredLinkKey = 18 KBluetoothHCICommandDisconnect = 6 KBluetoothHCICommandEnableAMPReceiverReports = 7 KBluetoothHCICommandEnableDeviceUnderTestMode = 3 KBluetoothHCICommandEnhancedAcceptSynchronousConnectionRequest = 62 KBluetoothHCICommandEnhancedFlush = 95 KBluetoothHCICommandEnhancedSetupSynchronousConnection = 61 KBluetoothHCICommandExitParkMode = 6 KBluetoothHCICommandExitPeriodicInquiryMode = 4 KBluetoothHCICommandExitSniffMode = 4 KBluetoothHCICommandFlowSpecification = 16 KBluetoothHCICommandFlush = 8 KBluetoothHCICommandGetLinkQuality = 3 KBluetoothHCICommandGetMWSTransportLayerConfiguration = 12 KBluetoothHCICommandGroupHostController = 3 KBluetoothHCICommandGroupInformational = 4 KBluetoothHCICommandGroupLinkControl = 1 KBluetoothHCICommandGroupLinkPolicy = 2 KBluetoothHCICommandGroupLogoTesting = 62 KBluetoothHCICommandGroupLowEnergy = 8 KBluetoothHCICommandGroupMax = 64 KBluetoothHCICommandGroupNoOp = 0 KBluetoothHCICommandGroupStatus = 5 KBluetoothHCICommandGroupTesting = 6 KBluetoothHCICommandGroupVendorSpecific = 63 KBluetoothHCICommandHoldMode = 1 KBluetoothHCICommandHostBufferSize = 51 KBluetoothHCICommandHostNumberOfCompletedPackets = 53 KBluetoothHCICommandIOCapabilityRequestNegativeReply = 52 KBluetoothHCICommandIOCapabilityRequestReply = 43 KBluetoothHCICommandInquiry = 1 KBluetoothHCICommandInquiryCancel = 2 KBluetoothHCICommandLEAddDeviceToPeriodicAdvertiserList = 71 KBluetoothHCICommandLEAddDeviceToResolvingList = 39 KBluetoothHCICommandLEAddDeviceToWhiteList = 17 KBluetoothHCICommandLEClearAdvertisingSets = 61 KBluetoothHCICommandLEClearPeriodicAdvertiserList = 73 KBluetoothHCICommandLEClearResolvingList = 41 KBluetoothHCICommandLEClearWhiteList = 16 KBluetoothHCICommandLEConnectionUpdate = 19 KBluetoothHCICommandLECreateConnection = 13 KBluetoothHCICommandLECreateConnectionCancel = 14 KBluetoothHCICommandLEEncrypt = 23 KBluetoothHCICommandLEEnhancedReceiverTest = 51 KBluetoothHCICommandLEEnhancedTransmitterTest = 52 KBluetoothHCICommandLEExtendedCreateConnection = 67 KBluetoothHCICommandLEGenerateDHKey = 38 KBluetoothHCICommandLELongTermKeyRequestNegativeReply = 27 KBluetoothHCICommandLELongTermKeyRequestReply = 26 KBluetoothHCICommandLEPeriodicAdvertisingCreateSync = 68 KBluetoothHCICommandLEPeriodicAdvertisingCreateSyncCancel = 69 KBluetoothHCICommandLEPeriodicAdvertisingTerminateSync = 70 KBluetoothHCICommandLERand = 24 KBluetoothHCICommandLEReadAdvertisingChannelTxPower = 7 KBluetoothHCICommandLEReadBufferSize = 2 KBluetoothHCICommandLEReadChannelMap = 21 KBluetoothHCICommandLEReadLocalP256PublicKey = 37 KBluetoothHCICommandLEReadLocalResolvableAddress = 44 KBluetoothHCICommandLEReadLocalSupportedFeatures = 3 KBluetoothHCICommandLEReadMaximumAdvertisingDataLength = 58 KBluetoothHCICommandLEReadMaximumDataLength = 47 KBluetoothHCICommandLEReadNumberofSupportedAdvertisingSets = 59 KBluetoothHCICommandLEReadPeerResolvableAddress = 43 KBluetoothHCICommandLEReadPeriodicAdvertiserListSize = 74 KBluetoothHCICommandLEReadPhy = 48 KBluetoothHCICommandLEReadRFPathCompensation = 76 KBluetoothHCICommandLEReadRemoteUsedFeatures = 22 KBluetoothHCICommandLEReadResolvingListSize = 42 KBluetoothHCICommandLEReadSuggestedDefaultDataLength = 35 KBluetoothHCICommandLEReadSupportedStates = 28 KBluetoothHCICommandLEReadTransmitPower = 75 KBluetoothHCICommandLEReadWhiteListSize = 15 KBluetoothHCICommandLEReceiverTest = 29 KBluetoothHCICommandLERemoteConnectionParameterRequestNegativeReply = 33 KBluetoothHCICommandLERemoteConnectionParameterRequestReply = 32 KBluetoothHCICommandLERemoveAdvertisingSet = 60 KBluetoothHCICommandLERemoveDeviceFromPeriodicAdvertiserList = 72 KBluetoothHCICommandLERemoveDeviceFromResolvingList = 40 KBluetoothHCICommandLERemoveDeviceFromWhiteList = 18 KBluetoothHCICommandLESetAddressResolutionEnable = 45 KBluetoothHCICommandLESetAdvertiseEnable = 10 KBluetoothHCICommandLESetAdvertisingData = 8 KBluetoothHCICommandLESetAdvertisingParameters = 6 KBluetoothHCICommandLESetAdvertisingSetRandomAddress = 53 KBluetoothHCICommandLESetDataLength = 34 KBluetoothHCICommandLESetDefaultPhy = 49 KBluetoothHCICommandLESetEventMask = 1 KBluetoothHCICommandLESetExtendedAdvertisingData = 55 KBluetoothHCICommandLESetExtendedAdvertisingEnableCommand = 57 KBluetoothHCICommandLESetExtendedAdvertisingParameters = 54 KBluetoothHCICommandLESetExtendedScanEnable = 66 KBluetoothHCICommandLESetExtendedScanParameters = 65 KBluetoothHCICommandLESetExtendedScanResponseData = 56 KBluetoothHCICommandLESetHostChannelClassification = 20 KBluetoothHCICommandLESetPeriodicAdvertisingData = 63 KBluetoothHCICommandLESetPeriodicAdvertisingEnable = 64 KBluetoothHCICommandLESetPeriodicAdvertisingParameters = 62 KBluetoothHCICommandLESetPhy = 50 KBluetoothHCICommandLESetPrivacyMode = 78 KBluetoothHCICommandLESetRandomAddress = 5 KBluetoothHCICommandLESetResolvablePrivateAddressTimeout = 46 KBluetoothHCICommandLESetScanEnable = 12 KBluetoothHCICommandLESetScanParameters = 11 KBluetoothHCICommandLESetScanResponseData = 9 KBluetoothHCICommandLEStartEncryption = 25 KBluetoothHCICommandLETestEnd = 31 KBluetoothHCICommandLETransmitterTest = 30 KBluetoothHCICommandLEWriteRFPathCompensation = 77 KBluetoothHCICommandLEWriteSuggestedDefaultDataLength = 36 KBluetoothHCICommandLinkKeyRequestNegativeReply = 12 KBluetoothHCICommandLinkKeyRequestReply = 11 KBluetoothHCICommandMasterLinkKey = 23 KBluetoothHCICommandMax = 1023 KBluetoothHCICommandNoOp = 0 KBluetoothHCICommandPINCodeRequestNegativeReply = 14 KBluetoothHCICommandPINCodeRequestReply = 13 KBluetoothHCICommandParkMode = 5 KBluetoothHCICommandPeriodicInquiryMode = 3 KBluetoothHCICommandQoSSetup = 7 KBluetoothHCICommandReadAFHChannelAssessmentMode = 72 KBluetoothHCICommandReadAFHMappings = 6 KBluetoothHCICommandReadAuthenticatedPayloadTimeout = 123 KBluetoothHCICommandReadAuthenticationEnable = 31 KBluetoothHCICommandReadAutomaticFlushTimeout = 39 KBluetoothHCICommandReadBestEffortFlushTimeout = 105 KBluetoothHCICommandReadBufferSize = 5 KBluetoothHCICommandReadClassOfDevice = 35 KBluetoothHCICommandReadClock = 7 KBluetoothHCICommandReadClockOffset = 31 KBluetoothHCICommandReadConnectionAcceptTimeout = 21 KBluetoothHCICommandReadCountryCode = 7 KBluetoothHCICommandReadCurrentIACLAP = 57 KBluetoothHCICommandReadDataBlockSize = 10 KBluetoothHCICommandReadDefaultErroneousDataReporting = 90 KBluetoothHCICommandReadDefaultLinkPolicySettings = 14 KBluetoothHCICommandReadDeviceAddress = 9 KBluetoothHCICommandReadEncryptionKeySize = 8 KBluetoothHCICommandReadEncryptionMode = 33 KBluetoothHCICommandReadEnhancedTransmitPowerLevel = 104 KBluetoothHCICommandReadExtendedInquiryLength = 128 KBluetoothHCICommandReadExtendedInquiryResponse = 81 KBluetoothHCICommandReadExtendedPageTimeout = 126 KBluetoothHCICommandReadFailedContactCounter = 1 KBluetoothHCICommandReadFlowControlMode = 102 KBluetoothHCICommandReadHoldModeActivity = 43 KBluetoothHCICommandReadInquiryMode = 68 KBluetoothHCICommandReadInquiryResponseTransmitPower = 88 KBluetoothHCICommandReadInquiryScanActivity = 29 KBluetoothHCICommandReadInquiryScanType = 66 KBluetoothHCICommandReadLEHostSupported = 108 KBluetoothHCICommandReadLMPHandle = 32 KBluetoothHCICommandReadLinkPolicySettings = 12 KBluetoothHCICommandReadLinkSupervisionTimeout = 54 KBluetoothHCICommandReadLocalAMPASSOC = 10 KBluetoothHCICommandReadLocalAMPInfo = 9 KBluetoothHCICommandReadLocalExtendedFeatures = 4 KBluetoothHCICommandReadLocalName = 20 KBluetoothHCICommandReadLocalOOBData = 87 KBluetoothHCICommandReadLocalOOBExtendedData = 125 KBluetoothHCICommandReadLocalSupportedCodecs = 11 KBluetoothHCICommandReadLocalSupportedCommands = 2 KBluetoothHCICommandReadLocalSupportedFeatures = 3 KBluetoothHCICommandReadLocalVersionInformation = 1 KBluetoothHCICommandReadLocationData = 100 KBluetoothHCICommandReadLogicalLinkAcceptTimeout = 97 KBluetoothHCICommandReadLoopbackMode = 1 KBluetoothHCICommandReadNumberOfBroadcastRetransmissions = 41 KBluetoothHCICommandReadNumberOfSupportedIAC = 56 KBluetoothHCICommandReadPINType = 9 KBluetoothHCICommandReadPageScanActivity = 27 KBluetoothHCICommandReadPageScanMode = 61 KBluetoothHCICommandReadPageScanPeriodMode = 59 KBluetoothHCICommandReadPageScanType = 70 KBluetoothHCICommandReadPageTimeout = 23 KBluetoothHCICommandReadRSSI = 5 KBluetoothHCICommandReadRemoteExtendedFeatures = 28 KBluetoothHCICommandReadRemoteSupportedFeatures = 27 KBluetoothHCICommandReadRemoteVersionInformation = 29 KBluetoothHCICommandReadSCOFlowControlEnable = 46 KBluetoothHCICommandReadScanEnable = 25 KBluetoothHCICommandReadSecureConnectionsHostSupport = 121 KBluetoothHCICommandReadSimplePairingMode = 85 KBluetoothHCICommandReadStoredLinkKey = 13 KBluetoothHCICommandReadSynchronizationTrainParameters = 119 KBluetoothHCICommandReadTransmitPowerLevel = 45 KBluetoothHCICommandReadVoiceSetting = 37 KBluetoothHCICommandReceiveSynchronizationTrain = 68 KBluetoothHCICommandRefreshEncryptionKey = 83 KBluetoothHCICommandRejectConnectionRequest = 10 KBluetoothHCICommandRejectSniffRequest = 50 KBluetoothHCICommandRejectSynchronousConnectionRequest = 42 KBluetoothHCICommandRemoteNameRequest = 25 KBluetoothHCICommandRemoteNameRequestCancel = 26 KBluetoothHCICommandRemoteOOBDataRequestNegativeReply = 51 KBluetoothHCICommandRemoteOOBDataRequestReply = 48 KBluetoothHCICommandRemoteOOBExtendedDataRequestReply = 69 KBluetoothHCICommandReset = 3 KBluetoothHCICommandResetFailedContactCounter = 2 KBluetoothHCICommandRoleDiscovery = 9 KBluetoothHCICommandSendKeypressNotification = 96 KBluetoothHCICommandSetAFHClassification = 63 KBluetoothHCICommandSetConnectionEncryption = 19 KBluetoothHCICommandSetConnectionlessPeripheralBroadcast = 65 KBluetoothHCICommandSetConnectionlessPeripheralBroadcastData = 118 KBluetoothHCICommandSetConnectionlessPeripheralBroadcastReceive = 66 KBluetoothHCICommandSetConnectionlessSlaveBroadcast = 65 KBluetoothHCICommandSetConnectionlessSlaveBroadcastData = 118 KBluetoothHCICommandSetConnectionlessSlaveBroadcastReceive = 66 KBluetoothHCICommandSetEventFilter = 5 KBluetoothHCICommandSetEventMask = 1 KBluetoothHCICommandSetEventMaskPageTwo = 99 KBluetoothHCICommandSetExternalFrameConfiguration = 111 KBluetoothHCICommandSetHostControllerToHostFlowControl = 49 KBluetoothHCICommandSetMWSChannelParameters = 110 KBluetoothHCICommandSetMWSPATTERNConfiguration = 115 KBluetoothHCICommandSetMWSScanFrequencyTable = 114 KBluetoothHCICommandSetMWSSignaling = 112 KBluetoothHCICommandSetMWSTransportLayer = 113 KBluetoothHCICommandSetReservedLTADDR = 116 KBluetoothHCICommandSetTriggeredClockCapture = 13 KBluetoothHCICommandSetupSynchronousConnection = 40 KBluetoothHCICommandShortRangeMode = 107 KBluetoothHCICommandSniffMode = 3 KBluetoothHCICommandSniffSubrating = 17 KBluetoothHCICommandStartSynchronizationTrain = 67 KBluetoothHCICommandSwitchRole = 11 KBluetoothHCICommandTruncatedPage = 63 KBluetoothHCICommandTruncatedPageCancel = 64 KBluetoothHCICommandUserConfirmationRequestNegativeReply = 45 KBluetoothHCICommandUserConfirmationRequestReply = 44 KBluetoothHCICommandUserPasskeyRequestNegativeReply = 47 KBluetoothHCICommandUserPasskeyRequestReply = 46 KBluetoothHCICommandWriteAFHChannelAssessmentMode = 73 KBluetoothHCICommandWriteAuthenticatedPayloadTimeout = 124 KBluetoothHCICommandWriteAuthenticationEnable = 32 KBluetoothHCICommandWriteAutomaticFlushTimeout = 40 KBluetoothHCICommandWriteBestEffortFlushTimeout = 106 KBluetoothHCICommandWriteClassOfDevice = 36 KBluetoothHCICommandWriteConnectionAcceptTimeout = 22 KBluetoothHCICommandWriteCurrentIACLAP = 58 KBluetoothHCICommandWriteDefaultErroneousDataReporting = 91 KBluetoothHCICommandWriteDefaultLinkPolicySettings = 15 KBluetoothHCICommandWriteEncryptionMode = 34 KBluetoothHCICommandWriteExtendedInquiryLength = 129 KBluetoothHCICommandWriteExtendedInquiryResponse = 82 KBluetoothHCICommandWriteExtendedPageTimeout = 127 KBluetoothHCICommandWriteFlowControlMode = 103 KBluetoothHCICommandWriteHoldModeActivity = 44 KBluetoothHCICommandWriteInquiryMode = 69 KBluetoothHCICommandWriteInquiryResponseTransmitPower = 89 KBluetoothHCICommandWriteInquiryScanActivity = 30 KBluetoothHCICommandWriteInquiryScanType = 67 KBluetoothHCICommandWriteLEHostSupported = 109 KBluetoothHCICommandWriteLinkPolicySettings = 13 KBluetoothHCICommandWriteLinkSupervisionTimeout = 55 KBluetoothHCICommandWriteLocationData = 101 KBluetoothHCICommandWriteLogicalLinkAcceptTimeout = 98 KBluetoothHCICommandWriteLoopbackMode = 2 KBluetoothHCICommandWriteNumberOfBroadcastRetransmissions = 42 KBluetoothHCICommandWritePINType = 10 KBluetoothHCICommandWritePageScanActivity = 28 KBluetoothHCICommandWritePageScanMode = 62 KBluetoothHCICommandWritePageScanPeriodMode = 60 KBluetoothHCICommandWritePageScanType = 71 KBluetoothHCICommandWritePageTimeout = 24 KBluetoothHCICommandWriteRemoteAMPASSOC = 11 KBluetoothHCICommandWriteSCOFlowControlEnable = 47 KBluetoothHCICommandWriteScanEnable = 26 KBluetoothHCICommandWriteSecureConnectionsHostSupport = 122 KBluetoothHCICommandWriteSimplePairingDebugMode = 4 KBluetoothHCICommandWriteSimplePairingMode = 86 KBluetoothHCICommandWriteStoredLinkKey = 17 KBluetoothHCICommandWriteSynchronizationTrainParameters = 120 KBluetoothHCICommandWriteVoiceSetting = 38 KBluetoothHCIOpCodeNoOp = 0 )
const ( KBluetoothHCITransportUSBClassCode = 224 KBluetoothHCITransportUSBProtocolCode = 1 KBluetoothHCITransportUSBSubClassCode = 1 )
const ( KBluetoothKeyFlagSemiPermanent = 0 KBluetoothKeyFlagTemporary = 1 )
const ( KBluetoothKeyTypeAuthenticatedCombination = 5 KBluetoothKeyTypeAuthenticatedCombinationP256 = 8 KBluetoothKeyTypeChangedCombination = 6 KBluetoothKeyTypeCombination = 0 KBluetoothKeyTypeDebugCombination = 3 KBluetoothKeyTypeLocalUnit = 1 KBluetoothKeyTypeRemoteUnit = 2 KBluetoothKeyTypeUnauthenticatedCombination = 4 KBluetoothKeyTypeUnauthenticatedCombinationP256 = 7 )
const ( KBluetoothL2CAPChannelAMPManagerProtocol = 3 KBluetoothL2CAPChannelAMPTestManager = 63 KBluetoothL2CAPChannelAttributeProtocol = 4 KBluetoothL2CAPChannelBREDRSecurityManager = 7 KBluetoothL2CAPChannelConnectionLessData = 2 KBluetoothL2CAPChannelDynamicEnd = 65535 KBluetoothL2CAPChannelDynamicStart = 64 KBluetoothL2CAPChannelEnd = 65535 KBluetoothL2CAPChannelLEAP = 42 KBluetoothL2CAPChannelLEAS = 43 KBluetoothL2CAPChannelLESignalling = 5 KBluetoothL2CAPChannelMagicPairing = 48 KBluetoothL2CAPChannelMagnet = 58 KBluetoothL2CAPChannelNull = 0 KBluetoothL2CAPChannelReservedEnd = 62 KBluetoothL2CAPChannelReservedStart = 8 KBluetoothL2CAPChannelSecurityManager = 6 KBluetoothL2CAPChannelSignalling = 1 )
const ( KBluetoothL2CAPConfigurationOptionFlushTimeoutLength = 2 KBluetoothL2CAPConfigurationOptionMTULength = 2 KBluetoothL2CAPConfigurationOptionQoSLength = 22 KBluetoothL2CAPConfigurationOptionRetransmissionAndFlowControlLength = 9 )
const ( KBluetoothL2CAPFlushTimeoutEnd = 65536 KBluetoothL2CAPFlushTimeoutForever = 65535 KBluetoothL2CAPFlushTimeoutImmediate = 1 KBluetoothL2CAPFlushTimeoutUseExisting = 0 )
const ( KBluetoothL2CAPFlushTimeoutDefault = 65535 KBluetoothL2CAPMTUDefault = 1017 KBluetoothL2CAPMTULowEnergyDefault = 27 KBluetoothL2CAPMTULowEnergyMax = 251 KBluetoothL2CAPMTUMaximum = 65535 KBluetoothL2CAPMTUMinimum = 48 KBluetoothL2CAPMTUSIG = 48 KBluetoothL2CAPMTUStart = 32767 KBluetoothL2CAPQoSDelayVariationDefault = 4294967295 KBluetoothL2CAPQoSFlagsDefault = 0 KBluetoothL2CAPQoSLatencyDefault = 4294967295 KBluetoothL2CAPQoSPeakBandwidthDefault = 0 KBluetoothL2CAPQoSTokenBucketSizeDefault = 0 KBluetoothL2CAPQoSTokenRateDefault = 0 KBluetoothL2CAPQoSTypeDefault = 1 )
const ( KBluetoothACLLogicalChannelL2CAPContinue = 1 KBluetoothACLLogicalChannelL2CAPStart = 2 KBluetoothACLLogicalChannelLMP = 3 KBluetoothACLLogicalChannelReserved = 0 KBluetoothL2CAPMaxPacketSize = 65535 )
const ( KBluetoothL2CAPPSMAACP = 4097 KBluetoothL2CAPPSMATT = 31 KBluetoothL2CAPPSMAVCTP = 23 KBluetoothL2CAPPSMAVCTP_Browsing = 27 KBluetoothL2CAPPSMAVDTP = 25 KBluetoothL2CAPPSMBNEP = 15 KBluetoothL2CAPPSMD2D = 4111 KBluetoothL2CAPPSMDynamicEnd = 65535 KBluetoothL2CAPPSMDynamicStart = 4097 KBluetoothL2CAPPSMHIDControl = 17 KBluetoothL2CAPPSMHIDInterrupt = 19 KBluetoothL2CAPPSMNone = 0 KBluetoothL2CAPPSMRFCOMM = 3 KBluetoothL2CAPPSMReservedEnd = 4096 KBluetoothL2CAPPSMReservedStart = 1 KBluetoothL2CAPPSMSDP = 1 KBluetoothL2CAPPSMTCS_BIN = 5 KBluetoothL2CAPPSMTCS_BIN_Cordless = 7 KBluetoothL2CAPPSMUID_C_Plane = 29 )
const ( KBluetoothL2CAPTCICommandL2CA_ConfigReq = 3 KBluetoothL2CAPTCICommandL2CA_ConfigResp = 19 KBluetoothL2CAPTCICommandL2CA_ConnectReq = 1 KBluetoothL2CAPTCICommandL2CA_ConnectResp = 17 KBluetoothL2CAPTCICommandL2CA_DisableCLT = 4 KBluetoothL2CAPTCICommandL2CA_DisconnectReq = 2 KBluetoothL2CAPTCICommandL2CA_DisconnectResp = 18 KBluetoothL2CAPTCICommandL2CA_EnableCLT = 5 KBluetoothL2CAPTCICommandL2CA_GetInfo = 14 KBluetoothL2CAPTCICommandL2CA_GroupAddMember = 8 KBluetoothL2CAPTCICommandL2CA_GroupClose = 7 KBluetoothL2CAPTCICommandL2CA_GroupCreate = 6 KBluetoothL2CAPTCICommandL2CA_GroupMembership = 10 KBluetoothL2CAPTCICommandL2CA_GroupRemoveMember = 9 KBluetoothL2CAPTCICommandL2CA_Ping = 13 KBluetoothL2CAPTCICommandL2CA_ReadData = 12 KBluetoothL2CAPTCICommandL2CA_Reserved1 = 15 KBluetoothL2CAPTCICommandL2CA_Reserved2 = 16 KBluetoothL2CAPTCICommandL2CA_WriteData = 11 KBluetoothL2CAPTCICommandReserved = 0 )
const ( KBluetoothL2CAPTCIEventIDL2CA_ConfigInd = 2 KBluetoothL2CAPTCIEventIDL2CA_ConnectInd = 1 KBluetoothL2CAPTCIEventIDL2CA_DisconnectInd = 3 KBluetoothL2CAPTCIEventIDL2CA_QoSViolationInd = 4 KBluetoothL2CAPTCIEventIDL2CA_TimeOutInd = 5 KBluetoothL2CAPTCIEventIDReserved = 0 )
const ( KBluetoothLEMaxTXOctetsDefault = 128 KBluetoothLEMaxTXOctetsMax = 251 KBluetoothLEMaxTXOctetsMin = 27 KBluetoothLEMaxTXTimeDefault = 27 KBluetoothLEMaxTXTimeMax = 2120 KBluetoothLEMaxTXTimeMin = 328 )
const ( KBluetoothLESecurityManagerBonding = 1 KBluetoothLESecurityManagerNoBonding = 0 KBluetoothLESecurityManagerReservedEnd = 3 KBluetoothLESecurityManagerReservedStart = 2 )
const ( KBluetoothLETXOctetsDefault = 27 KBluetoothLETXOctetsMax = 251 KBluetoothLETXOctetsMin = 27 KBluetoothLETXTimeDefault = 328 KBluetoothLETXTimeMax = 2120 KBluetoothLETXTimeMin = 328 )
const ( KBluetoothPacketType2DH1Omit = 2 KBluetoothPacketType2DH3Omit = 256 KBluetoothPacketType2DH5Omit = 4096 KBluetoothPacketType3DH1Omit = 4 KBluetoothPacketType3DH3Omit = 512 KBluetoothPacketType3DM5Omit = 8192 KBluetoothPacketTypeAUX = 512 KBluetoothPacketTypeDH1 = 16 KBluetoothPacketTypeDH3 = 2048 KBluetoothPacketTypeDH5 = 32768 KBluetoothPacketTypeDM1 = 8 KBluetoothPacketTypeDM3 = 1024 KBluetoothPacketTypeDM5 = 16384 KBluetoothPacketTypeDV = 256 KBluetoothPacketTypeEnd = 32769 KBluetoothPacketTypeHV1 = 32 KBluetoothPacketTypeHV2 = 64 KBluetoothPacketTypeHV3 = 128 KBluetoothPacketTypeReserved1 = 1 )
const ( KBluetoothPageScanModeMandatory = 0 KBluetoothPageScanModeOptional1 = 1 KBluetoothPageScanModeOptional2 = 2 KBluetoothPageScanModeOptional3 = 3 )
const ( KBluetoothPageScanPeriodModeP0 = 0 KBluetoothPageScanPeriodModeP1 = 1 KBluetoothPageScanPeriodModeP2 = 2 )
const ( KBluetoothPageScanRepetitionModeR0 = 0 KBluetoothPageScanRepetitionModeR1 = 1 KBluetoothPageScanRepetitionModeR2 = 2 )
const ( KBluetoothRoleBecomeCentral = 0 KBluetoothRoleBecomeMaster = 0 KBluetoothRoleRemainPeripheral = 1 KBluetoothRoleRemainSlave = 1 )
const ( KBluetoothSDPDataElementTypeBoolean = 5 KBluetoothSDPDataElementTypeDataElementAlternative = 7 KBluetoothSDPDataElementTypeDataElementSequence = 6 KBluetoothSDPDataElementTypeNil = 0 KBluetoothSDPDataElementTypeReservedEnd = 31 KBluetoothSDPDataElementTypeReservedStart = 9 KBluetoothSDPDataElementTypeSignedInt = 2 KBluetoothSDPDataElementTypeString = 4 KBluetoothSDPDataElementTypeURL = 8 KBluetoothSDPDataElementTypeUUID = 3 KBluetoothSDPDataElementTypeUnsignedInt = 1 )
const ( KBluetoothSDPErrorCodeInsufficientResources = 6 KBluetoothSDPErrorCodeInvalidContinuationState = 5 KBluetoothSDPErrorCodeInvalidPDUSize = 4 KBluetoothSDPErrorCodeInvalidRequestSyntax = 3 KBluetoothSDPErrorCodeInvalidSDPVersion = 1 KBluetoothSDPErrorCodeInvalidServiceRecordHandle = 2 KBluetoothSDPErrorCodeReserved = 0 KBluetoothSDPErrorCodeReservedEnd = 65535 KBluetoothSDPErrorCodeReservedStart = 7 KBluetoothSDPErrorCodeSuccess = 0 )
const ( KBluetoothSDPPDUIDErrorResponse = 1 KBluetoothSDPPDUIDReserved = 0 KBluetoothSDPPDUIDServiceAttributeRequest = 4 KBluetoothSDPPDUIDServiceAttributeResponse = 5 KBluetoothSDPPDUIDServiceSearchAttributeRequest = 6 KBluetoothSDPPDUIDServiceSearchAttributeResponse = 7 KBluetoothSDPPDUIDServiceSearchRequest = 2 KBluetoothSDPPDUIDServiceSearchResponse = 3 )
const ( KBluetoothSDPUUID16ATT = 7 KBluetoothSDPUUID16AVCTP = 23 KBluetoothSDPUUID16AVDTP = 25 KBluetoothSDPUUID16BNEP = 15 KBluetoothSDPUUID16Base = 0 KBluetoothSDPUUID16CMPT = 27 KBluetoothSDPUUID16FTP = 10 KBluetoothSDPUUID16HIDP = 17 KBluetoothSDPUUID16HTTP = 12 KBluetoothSDPUUID16HardcopyControlChannel = 18 KBluetoothSDPUUID16HardcopyDataChannel = 20 KBluetoothSDPUUID16HardcopyNotification = 22 KBluetoothSDPUUID16IP = 9 KBluetoothSDPUUID16L2CAP = 256 KBluetoothSDPUUID16MCAPControlChannel = 30 KBluetoothSDPUUID16MCAPDataChannel = 31 KBluetoothSDPUUID16OBEX = 8 KBluetoothSDPUUID16RFCOMM = 3 KBluetoothSDPUUID16SDP = 1 KBluetoothSDPUUID16TCP = 4 KBluetoothSDPUUID16TCSAT = 6 KBluetoothSDPUUID16TCSBIN = 5 KBluetoothSDPUUID16UDI_C_Plane = 29 KBluetoothSDPUUID16UDP = 2 KBluetoothSDPUUID16UPNP = 16 KBluetoothSDPUUID16WSP = 14 )
const ( KBluetoothServiceClassMajorAny = 707406378 KBluetoothServiceClassMajorAudio = 256 KBluetoothServiceClassMajorCapturing = 64 KBluetoothServiceClassMajorEnd = 1852796518 KBluetoothServiceClassMajorInformation = 1024 KBluetoothServiceClassMajorLimitedDiscoverableMode = 1 KBluetoothServiceClassMajorNetworking = 16 KBluetoothServiceClassMajorNone = 1852796517 KBluetoothServiceClassMajorObjectTransfer = 128 KBluetoothServiceClassMajorPositioning = 8 KBluetoothServiceClassMajorRendering = 32 KBluetoothServiceClassMajorReserved1 = 2 KBluetoothServiceClassMajorReserved2 = 4 KBluetoothServiceClassMajorTelephony = 512 )
const ( KBluetoothSynchronousConnectionPacketType2EV3Omit = 64 KBluetoothSynchronousConnectionPacketType2EV5Omit = 256 KBluetoothSynchronousConnectionPacketType3EV3Omit = 128 KBluetoothSynchronousConnectionPacketType3EV5Omit = 512 KBluetoothSynchronousConnectionPacketTypeAll = 65535 KBluetoothSynchronousConnectionPacketTypeEV3 = 8 KBluetoothSynchronousConnectionPacketTypeEV4 = 16 KBluetoothSynchronousConnectionPacketTypeEV5 = 32 KBluetoothSynchronousConnectionPacketTypeEnd = 65536 KBluetoothSynchronousConnectionPacketTypeFutureUse = 64512 KBluetoothSynchronousConnectionPacketTypeHV1 = 1 KBluetoothSynchronousConnectionPacketTypeHV2 = 2 KBluetoothSynchronousConnectionPacketTypeHV3 = 4 KBluetoothSynchronousConnectionPacketTypeNone = 0 )
const ( KBluetoothVoiceSettingAirCodingFormatALaw = 2 KBluetoothVoiceSettingAirCodingFormatCVSD = 0 KBluetoothVoiceSettingAirCodingFormatMask = 3 KBluetoothVoiceSettingAirCodingFormatTransparentData = 3 KBluetoothVoiceSettingAirCodingFormatULaw = 1 )
const ( KBluetoothVoiceSettingInputCodingALawInputCoding = 512 KBluetoothVoiceSettingInputCodingLinearInputCoding = 0 KBluetoothVoiceSettingInputCodingMask = 768 KBluetoothVoiceSettingInputCodingULawInputCoding = 256 )
const ( KBluetoothVoiceSettingInputDataFormat1sComplement = 0 KBluetoothVoiceSettingInputDataFormat2sComplement = 64 KBluetoothVoiceSettingInputDataFormatMask = 192 KBluetoothVoiceSettingInputDataFormatSignMagnitude = 128 KBluetoothVoiceSettingInputDataFormatUnsigned = 192 )
const ( KBluetoothVoiceSettingInputSampleSize16Bit = 32 KBluetoothVoiceSettingInputSampleSize8Bit = 0 KBluetoothVoiceSettingInputSampleSizeMask = 32 )
const (
KBluetoothDeviceNameMaxLength = 248
)
const (
KBluetoothHCIErrorPowerIsOFF = 65
)
const (
KBluetoothL2CAPInfoTypeMaxConnectionlessMTUSize = 1
)
const (
KBluetoothL2CAPPacketHeaderSize = 4
)
const (
KBluetoothVoiceSettingPCMBitPositionMask = 28
)
const (
KMaximumNumberOfInquiryAccessCodes = 64
)
Variables ¶
This section is empty.
Functions ¶
func IOBluetoothDeviceFavoriteDevices ¶
func IOBluetoothDeviceFavoriteDevices() *foundation.NSArray[objc.ID]
func IOBluetoothDevicePairedDevices ¶
func IOBluetoothDevicePairedDevices() *foundation.NSArray[objc.ID]
func IOBluetoothDeviceRecentDevices ¶
func IOBluetoothDeviceRecentDevices(numDevices uint) *foundation.NSArray[objc.ID]
func IOBluetoothGetUniqueFileNameAndPath ¶
func IOBluetoothGetUniqueFileNameAndPath(inName *foundation.NSString, inPath *foundation.NSString) *foundation.NSString
func IOBluetoothHandsFreeCallDirection ¶
func IOBluetoothHandsFreeCallDirection() uintptr
func IOBluetoothHandsFreeCallIndex ¶
func IOBluetoothHandsFreeCallIndex() uintptr
func IOBluetoothHandsFreeCallMode ¶
func IOBluetoothHandsFreeCallMode() uintptr
func IOBluetoothHandsFreeCallMultiparty ¶
func IOBluetoothHandsFreeCallMultiparty() uintptr
func IOBluetoothHandsFreeCallName ¶
func IOBluetoothHandsFreeCallName() uintptr
func IOBluetoothHandsFreeCallNumber ¶
func IOBluetoothHandsFreeCallNumber() uintptr
func IOBluetoothHandsFreeCallStatus ¶
func IOBluetoothHandsFreeCallStatus() uintptr
func IOBluetoothHandsFreeCallType ¶
func IOBluetoothHandsFreeCallType() uintptr
func IOBluetoothHandsFreeIndicatorBattChg ¶
func IOBluetoothHandsFreeIndicatorBattChg() uintptr
func IOBluetoothHandsFreeIndicatorCall ¶
func IOBluetoothHandsFreeIndicatorCall() uintptr
func IOBluetoothHandsFreeIndicatorCallHeld ¶
func IOBluetoothHandsFreeIndicatorCallHeld() uintptr
func IOBluetoothHandsFreeIndicatorCallSetup ¶
func IOBluetoothHandsFreeIndicatorCallSetup() uintptr
func IOBluetoothHandsFreeIndicatorRoam ¶
func IOBluetoothHandsFreeIndicatorRoam() uintptr
func IOBluetoothHandsFreeIndicatorService ¶
func IOBluetoothHandsFreeIndicatorService() uintptr
func IOBluetoothHandsFreeIndicatorSignal ¶
func IOBluetoothHandsFreeIndicatorSignal() uintptr
func IOBluetoothHostControllerPoweredOffNotification ¶
func IOBluetoothHostControllerPoweredOffNotification() uintptr
func IOBluetoothHostControllerPoweredOnNotification ¶
func IOBluetoothHostControllerPoweredOnNotification() uintptr
func IOBluetoothIsFileAppleDesignatedPIMData ¶
func IOBluetoothIsFileAppleDesignatedPIMData(inFileName *foundation.NSString) uint8
func IOBluetoothL2CAPChannelPublishedNotification ¶
func IOBluetoothL2CAPChannelPublishedNotification() uintptr
func IOBluetoothL2CAPChannelTerminatedNotification ¶
func IOBluetoothL2CAPChannelTerminatedNotification() uintptr
func IOBluetoothNSStringFromDeviceAddress ¶
func IOBluetoothNSStringFromDeviceAddress(deviceAddress *BluetoothDeviceAddress) *foundation.NSString
func IOBluetoothNSStringFromDeviceAddressColon ¶
func IOBluetoothNSStringFromDeviceAddressColon(deviceAddress *BluetoothDeviceAddress) *foundation.NSString
func IOBluetoothNSStringToDeviceAddress ¶
func IOBluetoothNSStringToDeviceAddress(inNameString *foundation.NSString, outDeviceAddress *BluetoothDeviceAddress) int
func IOBluetoothNumberOfAvailableHIDDevices ¶
func IOBluetoothNumberOfAvailableHIDDevices() int
func IOBluetoothNumberOfKeyboardHIDDevices ¶
func IOBluetoothNumberOfKeyboardHIDDevices() int
func IOBluetoothNumberOfPointingHIDDevices ¶
func IOBluetoothNumberOfPointingHIDDevices() int
func IOBluetoothNumberOfTabletHIDDevices ¶
func IOBluetoothNumberOfTabletHIDDevices() int
func IOBluetoothPDUEncoding ¶
func IOBluetoothPDUEncoding() uintptr
func IOBluetoothPDUOriginatingAddress ¶
func IOBluetoothPDUOriginatingAddress() uintptr
func IOBluetoothPDUOriginatingAddressType ¶
func IOBluetoothPDUOriginatingAddressType() uintptr
func IOBluetoothPDUProtocolID ¶
func IOBluetoothPDUProtocolID() uintptr
func IOBluetoothPDUServicCenterAddress ¶
func IOBluetoothPDUServicCenterAddress() uintptr
func IOBluetoothPDUServiceCenterAddressType ¶
func IOBluetoothPDUServiceCenterAddressType() uintptr
func IOBluetoothPDUTimestamp ¶
func IOBluetoothPDUTimestamp() uintptr
func IOBluetoothPDUType ¶
func IOBluetoothPDUType() uintptr
func IOBluetoothPDUUserData ¶
func IOBluetoothPDUUserData() uintptr
func IOBluetoothPackDataList ¶
func KFTSListingNameKey ¶
func KFTSListingNameKey() uintptr
@const kFTSListingNameKey @abstract NSString value. This key is used with the array of NSDictionary's returned through the delegate method fileTransferServicesGetListingComplete: after calling getFolderListing.
func KFTSListingSizeKey ¶
func KFTSListingSizeKey() uintptr
@const kFTSListingSizeKey @abstract Int value. This key is used with the array of NSDictionary's returned through the delegate method fileTransferServicesGetListingComplete: after calling getFolderListing.
func KFTSListingTypeKey ¶
func KFTSListingTypeKey() uintptr
@const kFTSListingTypeKey @abstract FTSFileType value. This key is used with the array of NSDictionary's returned through the delegate method fileTransferServicesGetListingComplete: after calling getFolderListing.
func KFTSProgressBytesTotalKey ¶
func KFTSProgressBytesTotalKey() uintptr
@const kFTSProgressBytesTotalKey @abstract NSNumber integer value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
func KFTSProgressBytesTransferredKey ¶
func KFTSProgressBytesTransferredKey() uintptr
@const kFTSProgressBytesTransferredKey @abstract NSNumber integer value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
func KFTSProgressEstimatedTimeKey ¶
func KFTSProgressEstimatedTimeKey() uintptr
@const kFTSProgressEstimatedTimeKey @abstract NSNumber double value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
func KFTSProgressPercentageKey ¶
func KFTSProgressPercentageKey() uintptr
@const kFTSProgressPercentageKey @abstract NSNumber float value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
func KFTSProgressPrecentageKey ¶
func KFTSProgressPrecentageKey() uintptr
func KFTSProgressTimeElapsedKey ¶
func KFTSProgressTimeElapsedKey() uintptr
@const kFTSProgressTimeElapsedKey @abstract NSNumber int value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
func KFTSProgressTransferRateKey ¶
func KFTSProgressTransferRateKey() uintptr
@const kFTSProgressTransferRateKey @abstract NSNumber float value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
func KOBEXHeaderIDKeyAppParameters ¶
func KOBEXHeaderIDKeyAppParameters() uintptr
func KOBEXHeaderIDKeyAuthorizationChallenge ¶
func KOBEXHeaderIDKeyAuthorizationChallenge() uintptr
func KOBEXHeaderIDKeyAuthorizationResponse ¶
func KOBEXHeaderIDKeyAuthorizationResponse() uintptr
func KOBEXHeaderIDKeyBody ¶
func KOBEXHeaderIDKeyBody() uintptr
func KOBEXHeaderIDKeyByteSequence ¶
func KOBEXHeaderIDKeyByteSequence() uintptr
func KOBEXHeaderIDKeyConnectionID ¶
func KOBEXHeaderIDKeyConnectionID() uintptr
func KOBEXHeaderIDKeyCount ¶
func KOBEXHeaderIDKeyCount() uintptr
func KOBEXHeaderIDKeyDescription ¶
func KOBEXHeaderIDKeyDescription() uintptr
func KOBEXHeaderIDKeyEndOfBody ¶
func KOBEXHeaderIDKeyEndOfBody() uintptr
func KOBEXHeaderIDKeyHTTP ¶
func KOBEXHeaderIDKeyHTTP() uintptr
func KOBEXHeaderIDKeyLength ¶
func KOBEXHeaderIDKeyLength() uintptr
func KOBEXHeaderIDKeyName ¶
func KOBEXHeaderIDKeyName() uintptr
func KOBEXHeaderIDKeyObjectClass ¶
func KOBEXHeaderIDKeyObjectClass() uintptr
func KOBEXHeaderIDKeyTarget ¶
func KOBEXHeaderIDKeyTarget() uintptr
func KOBEXHeaderIDKeyTime4Byte ¶
func KOBEXHeaderIDKeyTime4Byte() uintptr
func KOBEXHeaderIDKeyTimeISO ¶
func KOBEXHeaderIDKeyTimeISO() uintptr
func KOBEXHeaderIDKeyType ¶
func KOBEXHeaderIDKeyType() uintptr
func KOBEXHeaderIDKeyUnknown1ByteQuantity ¶
func KOBEXHeaderIDKeyUnknown1ByteQuantity() uintptr
func KOBEXHeaderIDKeyUnknown4ByteQuantity ¶
func KOBEXHeaderIDKeyUnknown4ByteQuantity() uintptr
func KOBEXHeaderIDKeyUnknownByteSequence ¶
func KOBEXHeaderIDKeyUnknownByteSequence() uintptr
func KOBEXHeaderIDKeyUnknownUnicodeText ¶
func KOBEXHeaderIDKeyUnknownUnicodeText() uintptr
func KOBEXHeaderIDKeyUserDefined ¶
func KOBEXHeaderIDKeyUserDefined() uintptr
func KOBEXHeaderIDKeyWho ¶
func KOBEXHeaderIDKeyWho() uintptr
func OBEXAddBodyHeader ¶
func OBEXAddHTTPHeader ¶
func OBEXAddTargetHeader ¶
func OBEXAddTime4ByteHeader ¶
func OBEXAddTimeISOHeader ¶
func OBEXAddWhoHeader ¶
func OBEXCreateVCard ¶
func OBEXCreateVCard(inFirstName unsafe.Pointer, inFirstNameLength uint32, inLastName unsafe.Pointer, inLastNameLength uint32, inFriendlyName unsafe.Pointer, inFriendlyNameLength uint32, inNameCharset unsafe.Pointer, inNameCharsetLength uint32, inHomePhone unsafe.Pointer, inHomePhoneLength uint32, inWorkPhone unsafe.Pointer, inWorkPhoneLength uint32, inCellPhone unsafe.Pointer, inCellPhoneLength uint32, inFaxPhone unsafe.Pointer, inFaxPhoneLength uint32, inEMailAddress unsafe.Pointer, inEMailAddressLength uint32, inEMailAddressCharset unsafe.Pointer, inEMailAddressCharsetLength uint32, inOrganization unsafe.Pointer, inOrganizationLength uint32, inOrganizationCharset unsafe.Pointer, inOrganizationCharsetLength uint32, inTitle unsafe.Pointer, inTitleLength uint32, inTitleCharset unsafe.Pointer, inTitleCharsetLength uint32) unsafe.Pointer
func OBEXCreateVEvent ¶
func OBEXCreateVEvent(inCharset string, inCharsetLength uint32, inEncoding string, inEncodingLength uint32, inEventStartDate string, inEventStartDateLength uint32, inEventEndDate string, inEventEndDateLength uint32, inAlarmDate string, inAlarmDateLength uint32, inCategory string, inCategoryLength uint32, inSummary string, inSummaryLength uint32, inLocation string, inLocationLength uint32, inXIRMCLUID string, inXIRMCLUIDLength uint32) unsafe.Pointer
func OBEXHeadersToBytes ¶
func OBEXSessionAbort ¶
func OBEXSessionConnect ¶
func OBEXSessionDelete ¶
func OBEXSessionDisconnect ¶
func OBEXSessionGet ¶
func OBEXSessionGetResponse ¶
func OBEXSessionPut ¶
func OBEXSessionPutResponse ¶
func OBEXSessionSetPath ¶
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type BluetoothAFHHostChannelClassification ¶
type BluetoothAFHHostChannelClassification struct {
Data [10]uint8
}
type BluetoothAFHResults ¶
type BluetoothAMPCommandRejectReason ¶
type BluetoothAMPCommandRejectReason int64
const (
KBluetoothAMPManagerCommandRejectReasonCommandNotRecognized BluetoothAMPCommandRejectReason = 0
)
func (BluetoothAMPCommandRejectReason) String ¶
func (e BluetoothAMPCommandRejectReason) String() string
type BluetoothAMPCreatePhysicalLinkResponseStatus ¶
type BluetoothAMPCreatePhysicalLinkResponseStatus int64
const ( KBluetoothAMPManagerCreatePhysicalLinkResponseSuccess BluetoothAMPCreatePhysicalLinkResponseStatus = 0 KBluetoothAMPManagerCreatePhysicalLinkResponseInvalidControllerID BluetoothAMPCreatePhysicalLinkResponseStatus = 1 KBluetoothAMPManagerCreatePhysicalLinkResponseUnableToStartLinkCreation BluetoothAMPCreatePhysicalLinkResponseStatus = 2 KBluetoothAMPManagerCreatePhysicalLinkResponseCollisionOccurred BluetoothAMPCreatePhysicalLinkResponseStatus = 3 KBluetoothAMPManagerCreatePhysicalLinkResponseAMPDisconnectedPhysicalLinkRequestReceived BluetoothAMPCreatePhysicalLinkResponseStatus = 4 KBluetoothAMPManagerCreatePhysicalLinkResponsePhysicalLinkAlreadyExists BluetoothAMPCreatePhysicalLinkResponseStatus = 5 KBluetoothAMPManagerCreatePhysicalLinkResponseSecurityViolation BluetoothAMPCreatePhysicalLinkResponseStatus = 6 )
func (BluetoothAMPCreatePhysicalLinkResponseStatus) String ¶
func (e BluetoothAMPCreatePhysicalLinkResponseStatus) String() string
type BluetoothAMPDisconnectPhysicalLinkResponseStatus ¶
type BluetoothAMPDisconnectPhysicalLinkResponseStatus int64
const ( KBluetoothAMPManagerDisconnectPhysicalLinkResponseSuccess BluetoothAMPDisconnectPhysicalLinkResponseStatus = 0 KBluetoothAMPManagerDisconnectPhysicalLinkResponseInvalidControllerID BluetoothAMPDisconnectPhysicalLinkResponseStatus = 1 KBluetoothAMPManagerDisconnectPhysicalLinkResponseNoPhysicalLink BluetoothAMPDisconnectPhysicalLinkResponseStatus = 2 )
func (BluetoothAMPDisconnectPhysicalLinkResponseStatus) String ¶
func (e BluetoothAMPDisconnectPhysicalLinkResponseStatus) String() string
type BluetoothAMPDiscoverResponseControllerStatus ¶
type BluetoothAMPDiscoverResponseControllerStatus int64
const ( KBluetoothAMPManagerDiscoverResponseControllerStatusPoweredDown BluetoothAMPDiscoverResponseControllerStatus = 0 KBluetoothAMPManagerDiscoverResponseControllerStatusBluetoothOnly BluetoothAMPDiscoverResponseControllerStatus = 1 KBluetoothAMPManagerDiscoverResponseControllerStatusNoCapacity BluetoothAMPDiscoverResponseControllerStatus = 2 KBluetoothAMPManagerDiscoverResponseControllerStatusLowCapacity BluetoothAMPDiscoverResponseControllerStatus = 3 KBluetoothAMPManagerDiscoverResponseControllerStatusMediumCapacity BluetoothAMPDiscoverResponseControllerStatus = 4 KBluetoothAMPManagerDiscoverResponseControllerStatusHighCapacity BluetoothAMPDiscoverResponseControllerStatus = 5 KBluetoothAMPManagerDiscoverResponseControllerStatusFullCapacity BluetoothAMPDiscoverResponseControllerStatus = 6 )
func (BluetoothAMPDiscoverResponseControllerStatus) String ¶
func (e BluetoothAMPDiscoverResponseControllerStatus) String() string
type BluetoothAMPGetAssocResponseStatus ¶
type BluetoothAMPGetAssocResponseStatus int64
const ( KBluetoothAMPManagerGetAssocResponseSuccess BluetoothAMPGetAssocResponseStatus = 0 KBluetoothAMPManagerGetAssocResponseInvalidControllerID BluetoothAMPGetAssocResponseStatus = 1 )
func (BluetoothAMPGetAssocResponseStatus) String ¶
func (e BluetoothAMPGetAssocResponseStatus) String() string
type BluetoothAMPGetInfoResponseStatus ¶
type BluetoothAMPGetInfoResponseStatus int64
const ( KBluetoothAMPManagerGetInfoResponseSuccess BluetoothAMPGetInfoResponseStatus = 0 KBluetoothAMPManagerGetInfoResponseInvalidControllerID BluetoothAMPGetInfoResponseStatus = 1 )
func (BluetoothAMPGetInfoResponseStatus) String ¶
func (e BluetoothAMPGetInfoResponseStatus) String() string
type BluetoothAMPManagerCode ¶
type BluetoothAMPManagerCode int64
const ( KBluetoothAMPManagerCodeReserved BluetoothAMPManagerCode = 0 KBluetoothAMPManagerCodeAMPCommandReject BluetoothAMPManagerCode = 1 KBluetoothAMPManagerCodeAMPDiscoverRequest BluetoothAMPManagerCode = 2 KBluetoothAMPManagerCodeAMPDiscoverResponse BluetoothAMPManagerCode = 3 KBluetoothAMPManagerCodeAMPChangeNotify BluetoothAMPManagerCode = 4 KBluetoothAMPManagerCodeAMPChangeResponse BluetoothAMPManagerCode = 5 KBluetoothAMPManagerCodeAMPGetInfoRequest BluetoothAMPManagerCode = 6 KBluetoothAMPManagerCodeAMPGetInfoResponse BluetoothAMPManagerCode = 7 KBluetoothAMPManagerCodeAMPGetAssocRequest BluetoothAMPManagerCode = 8 KBluetoothAMPManagerCodeAMPGetAssocResponse BluetoothAMPManagerCode = 9 KBluetoothAMPManagerCodeAMPCreatePhysicalLinkRequest BluetoothAMPManagerCode = 10 KBluetoothAMPManagerCodeAMPCreatePhysicalLinkResponse BluetoothAMPManagerCode = 11 KBluetoothAMPManagerCodeAMPDisconnectPhysicalLinkRequest BluetoothAMPManagerCode = 12 KBluetoothAMPManagerCodeAMPDisconnectPhysicalLinkResponse BluetoothAMPManagerCode = 13 )
func (BluetoothAMPManagerCode) String ¶
func (e BluetoothAMPManagerCode) String() string
type BluetoothAuthenticationRequirementsValues ¶
type BluetoothAuthenticationRequirementsValues int64
const ( KBluetoothAuthenticationRequirementsMITMProtectionNotRequired BluetoothAuthenticationRequirementsValues = 0 KBluetoothAuthenticationRequirementsMITMProtectionRequired BluetoothAuthenticationRequirementsValues = 1 KBluetoothAuthenticationRequirementsMITMProtectionNotRequiredNoBonding BluetoothAuthenticationRequirementsValues = 0 KBluetoothAuthenticationRequirementsMITMProtectionRequiredNoBonding BluetoothAuthenticationRequirementsValues = 1 KBluetoothAuthenticationRequirementsMITMProtectionNotRequiredDedicatedBonding BluetoothAuthenticationRequirementsValues = 2 KBluetoothAuthenticationRequirementsMITMProtectionRequiredDedicatedBonding BluetoothAuthenticationRequirementsValues = 3 KBluetoothAuthenticationRequirementsMITMProtectionNotRequiredGeneralBonding BluetoothAuthenticationRequirementsValues = 4 KBluetoothAuthenticationRequirementsMITMProtectionRequiredGeneralBonding BluetoothAuthenticationRequirementsValues = 5 )
func (BluetoothAuthenticationRequirementsValues) String ¶
func (e BluetoothAuthenticationRequirementsValues) String() string
type BluetoothCompanyIdentifers ¶
type BluetoothCompanyIdentifers int64
const ( KBluetoothCompanyIdentiferEricssonTechnologyLicensing BluetoothCompanyIdentifers = 0 KBluetoothCompanyIdentiferNokiaMobilePhones BluetoothCompanyIdentifers = 1 KBluetoothCompanyIdentiferIntel BluetoothCompanyIdentifers = 2 KBluetoothCompanyIdentiferIBM BluetoothCompanyIdentifers = 3 KBluetoothCompanyIdentiferToshiba BluetoothCompanyIdentifers = 4 KBluetoothCompanyIdentifer3Com BluetoothCompanyIdentifers = 5 KBluetoothCompanyIdentiferMicrosoft BluetoothCompanyIdentifers = 6 KBluetoothCompanyIdentiferLucent BluetoothCompanyIdentifers = 7 KBluetoothCompanyIdentiferMotorola BluetoothCompanyIdentifers = 8 KBluetoothCompanyIdentiferInfineonTechnologiesAG BluetoothCompanyIdentifers = 9 KBluetoothCompanyIdentiferCambridgeSiliconRadio BluetoothCompanyIdentifers = 10 KBluetoothCompanyIdentiferSiliconWave BluetoothCompanyIdentifers = 11 KBluetoothCompanyIdentiferDigianswerAS BluetoothCompanyIdentifers = 12 KBluetoothCompanyIdentiferTexasInstruments BluetoothCompanyIdentifers = 13 KBluetoothCompanyIdentiferParthusTechnologies BluetoothCompanyIdentifers = 14 KBluetoothCompanyIdentiferBroadcom BluetoothCompanyIdentifers = 15 KBluetoothCompanyIdentiferMitelSemiconductor BluetoothCompanyIdentifers = 16 KBluetoothCompanyIdentiferWidcomm BluetoothCompanyIdentifers = 17 KBluetoothCompanyIdentiferZeevo BluetoothCompanyIdentifers = 18 KBluetoothCompanyIdentiferAtmel BluetoothCompanyIdentifers = 19 KBluetoothCompanyIdentiferMistubishiElectric BluetoothCompanyIdentifers = 20 KBluetoothCompanyIdentiferRTXTelecom BluetoothCompanyIdentifers = 21 KBluetoothCompanyIdentiferKCTechnology BluetoothCompanyIdentifers = 22 KBluetoothCompanyIdentiferNewlogic BluetoothCompanyIdentifers = 23 KBluetoothCompanyIdentiferTransilica BluetoothCompanyIdentifers = 24 KBluetoothCompanyIdentiferRohdeandSchwarz BluetoothCompanyIdentifers = 25 KBluetoothCompanyIdentiferTTPCom BluetoothCompanyIdentifers = 26 KBluetoothCompanyIdentiferSigniaTechnologies BluetoothCompanyIdentifers = 27 KBluetoothCompanyIdentiferConexantSystems BluetoothCompanyIdentifers = 28 KBluetoothCompanyIdentiferQualcomm BluetoothCompanyIdentifers = 29 KBluetoothCompanyIdentiferInventel BluetoothCompanyIdentifers = 30 KBluetoothCompanyIdentiferAVMBerlin BluetoothCompanyIdentifers = 31 KBluetoothCompanyIdentiferBandspeed BluetoothCompanyIdentifers = 32 KBluetoothCompanyIdentiferMansella BluetoothCompanyIdentifers = 33 KBluetoothCompanyIdentiferNEC BluetoothCompanyIdentifers = 34 KBluetoothCompanyIdentiferWavePlusTechnology BluetoothCompanyIdentifers = 35 KBluetoothCompanyIdentiferAlcatel BluetoothCompanyIdentifers = 36 KBluetoothCompanyIdentiferPhilipsSemiconductor BluetoothCompanyIdentifers = 37 KBluetoothCompanyIdentiferCTechnologies BluetoothCompanyIdentifers = 38 KBluetoothCompanyIdentiferOpenInterface BluetoothCompanyIdentifers = 39 KBluetoothCompanyIdentiferRFCMicroDevices BluetoothCompanyIdentifers = 40 KBluetoothCompanyIdentiferHitachi BluetoothCompanyIdentifers = 41 KBluetoothCompanyIdentiferSymbolTechnologies BluetoothCompanyIdentifers = 42 KBluetoothCompanyIdentiferTenovis BluetoothCompanyIdentifers = 43 KBluetoothCompanyIdentiferMacronixInternational BluetoothCompanyIdentifers = 44 KBluetoothCompanyIdentiferGCTSemiconductor BluetoothCompanyIdentifers = 45 KBluetoothCompanyIdentiferNorwoodSystems BluetoothCompanyIdentifers = 46 KBluetoothCompanyIdentiferMewTelTechnology BluetoothCompanyIdentifers = 47 KBluetoothCompanyIdentiferSTMicroelectronics BluetoothCompanyIdentifers = 48 KBluetoothCompanyIdentiferSynopsys BluetoothCompanyIdentifers = 49 KBluetoothCompanyIdentiferRedMCommunications BluetoothCompanyIdentifers = 50 KBluetoothCompanyIdentiferCommil BluetoothCompanyIdentifers = 51 KBluetoothCompanyIdentiferCATC BluetoothCompanyIdentifers = 52 KBluetoothCompanyIdentiferEclipse BluetoothCompanyIdentifers = 53 KBluetoothCompanyIdentiferRenesasTechnology BluetoothCompanyIdentifers = 54 KBluetoothCompanyIdentiferMobilian BluetoothCompanyIdentifers = 55 KBluetoothCompanyIdentiferTerax BluetoothCompanyIdentifers = 56 KBluetoothCompanyIdentiferIntegratedSystemSolution BluetoothCompanyIdentifers = 57 KBluetoothCompanyIdentiferMatsushitaElectricIndustrial BluetoothCompanyIdentifers = 58 KBluetoothCompanyIdentiferGennum BluetoothCompanyIdentifers = 59 KBluetoothCompanyIdentiferResearchInMotion BluetoothCompanyIdentifers = 60 KBluetoothCompanyIdentiferIPextreme BluetoothCompanyIdentifers = 61 KBluetoothCompanyIdentiferSystemsAndChips BluetoothCompanyIdentifers = 62 KBluetoothCompanyIdentiferBluetoothSIG BluetoothCompanyIdentifers = 63 KBluetoothCompanyIdentiferSeikoEpson BluetoothCompanyIdentifers = 64 KBluetoothCompanyIdentiferIntegratedSiliconSolution BluetoothCompanyIdentifers = 65 KBluetoothCompanyIdentiferCONWISETechnology BluetoothCompanyIdentifers = 66 KBluetoothCompanyIdentiferParrotSA BluetoothCompanyIdentifers = 67 KBluetoothCompanyIdentiferSocketCommunications BluetoothCompanyIdentifers = 68 KBluetoothCompanyIdentiferAtherosCommunications BluetoothCompanyIdentifers = 69 KBluetoothCompanyIdentiferMediaTek BluetoothCompanyIdentifers = 70 KBluetoothCompanyIdentiferBluegiga BluetoothCompanyIdentifers = 71 KBluetoothCompanyIdentiferMarvellTechnologyGroup BluetoothCompanyIdentifers = 72 KBluetoothCompanyIdentifer3DSP BluetoothCompanyIdentifers = 73 KBluetoothCompanyIdentiferAccelSemiconductor BluetoothCompanyIdentifers = 74 KBluetoothCompanyIdentiferContinentialAutomotiveSystems BluetoothCompanyIdentifers = 75 KBluetoothCompanyIdentiferApple BluetoothCompanyIdentifers = 76 KBluetoothCompanyIdentiferStaccatoCommunications BluetoothCompanyIdentifers = 77 KBluetoothCompanyIdentiferAvagoTechnologies BluetoothCompanyIdentifers = 78 KBluetoothCompanyIdentiferAPT BluetoothCompanyIdentifers = 79 KBluetoothCompanyIdentiferSiRFTechnology BluetoothCompanyIdentifers = 80 KBluetoothCompanyIdentiferTZeroTechnologies BluetoothCompanyIdentifers = 81 KBluetoothCompanyIdentiferJandM BluetoothCompanyIdentifers = 82 KBluetoothCompanyIdentiferFree2Move BluetoothCompanyIdentifers = 83 KBluetoothCompanyIdentifer3DiJoy BluetoothCompanyIdentifers = 84 KBluetoothCompanyIdentiferPlantronics BluetoothCompanyIdentifers = 85 KBluetoothCompanyIdentiferSonyEricssonMobileCommunications BluetoothCompanyIdentifers = 86 KBluetoothCompanyIdentiferHarmonInternational BluetoothCompanyIdentifers = 87 KBluetoothCompanyIdentiferVisio BluetoothCompanyIdentifers = 88 KBluetoothCompanyIdentiferNordicSemiconductor BluetoothCompanyIdentifers = 89 KBluetoothCompanyIdentiferEMMicroElectronicMarin BluetoothCompanyIdentifers = 90 KBluetoothCompanyIdentiferRalinkTechnology BluetoothCompanyIdentifers = 91 KBluetoothCompanyIdentiferBelkinInternational BluetoothCompanyIdentifers = 92 KBluetoothCompanyIdentiferRealtekSemiconductor BluetoothCompanyIdentifers = 93 KBluetoothCompanyIdentiferStonestreetOne BluetoothCompanyIdentifers = 94 KBluetoothCompanyIdentiferWicentric BluetoothCompanyIdentifers = 95 KBluetoothCompanyIdentiferRivieraWaves BluetoothCompanyIdentifers = 96 KBluetoothCompanyIdentiferRDAMicroelectronics BluetoothCompanyIdentifers = 97 KBluetoothCompanyIdentiferGibsonGuitars BluetoothCompanyIdentifers = 98 KBluetoothCompanyIdentiferMiCommand BluetoothCompanyIdentifers = 99 KBluetoothCompanyIdentiferBandXIInternational BluetoothCompanyIdentifers = 100 KBluetoothCompanyIdentiferHewlettPackard BluetoothCompanyIdentifers = 101 KBluetoothCompanyIdentifer9SolutionsOy BluetoothCompanyIdentifers = 102 KBluetoothCompanyIdentiferGNNetcom BluetoothCompanyIdentifers = 103 KBluetoothCompanyIdentiferGeneralMotors BluetoothCompanyIdentifers = 104 KBluetoothCompanyIdentiferAAndDEngineering BluetoothCompanyIdentifers = 105 KBluetoothCompanyIdentiferMindTree BluetoothCompanyIdentifers = 106 KBluetoothCompanyIdentiferPolarElectroOY BluetoothCompanyIdentifers = 107 KBluetoothCompanyIdentiferBeautifulEnterprise BluetoothCompanyIdentifers = 108 KBluetoothCompanyIdentiferBriarTek BluetoothCompanyIdentifers = 109 KBluetoothCompanyIdentiferSummitDataCommunications BluetoothCompanyIdentifers = 110 KBluetoothCompanyIdentiferSoundID BluetoothCompanyIdentifers = 111 KBluetoothCompanyIdentiferMonster BluetoothCompanyIdentifers = 112 KBluetoothCompanyIdentiferConnectBlueAB BluetoothCompanyIdentifers = 113 KBluetoothCompanyIdentiferShangHaiSuperSmartElectronics BluetoothCompanyIdentifers = 114 KBluetoothCompanyIdentiferGroupSense BluetoothCompanyIdentifers = 115 KBluetoothCompanyIdentiferZomm BluetoothCompanyIdentifers = 116 KBluetoothCompanyIdentiferSamsungElectronics BluetoothCompanyIdentifers = 117 KBluetoothCompanyIdentiferCreativeTechnology BluetoothCompanyIdentifers = 118 KBluetoothCompanyIdentiferLairdTechnologies BluetoothCompanyIdentifers = 119 KBluetoothCompanyIdentiferNike BluetoothCompanyIdentifers = 120 KBluetoothCompanyIdentiferLessWire BluetoothCompanyIdentifers = 121 KBluetoothCompanyIdentiferMStarTechnologies BluetoothCompanyIdentifers = 122 KBluetoothCompanyIdentiferHanlynnTechnologies BluetoothCompanyIdentifers = 123 KBluetoothCompanyIdentiferAAndRCambridge BluetoothCompanyIdentifers = 124 KBluetoothCompanyIdentiferSeersTechnology BluetoothCompanyIdentifers = 125 KBluetoothCompanyIdentiferSportsTrackingTechnologies BluetoothCompanyIdentifers = 126 KBluetoothCompanyIdentiferAutonetMobile BluetoothCompanyIdentifers = 127 KBluetoothCompanyIdentiferDeLormePublishingCompany BluetoothCompanyIdentifers = 128 KBluetoothCompanyIdentiferWuXiVimicro BluetoothCompanyIdentifers = 129 KBluetoothCompanyIdentiferSennheiserCommunications BluetoothCompanyIdentifers = 130 KBluetoothCompanyIdentiferTimeKeepingSystems BluetoothCompanyIdentifers = 131 KBluetoothCompanyIdentiferLudusHelsinki BluetoothCompanyIdentifers = 132 KBluetoothCompanyIdentiferBlueRadios BluetoothCompanyIdentifers = 133 KBluetoothCompanyIdentiferEquinux BluetoothCompanyIdentifers = 134 KBluetoothCompanyIdentiferGarminInternational BluetoothCompanyIdentifers = 135 KBluetoothCompanyIdentiferEcotest BluetoothCompanyIdentifers = 136 KBluetoothCompanyIdentiferGNResound BluetoothCompanyIdentifers = 137 KBluetoothCompanyIdentiferJawbone BluetoothCompanyIdentifers = 138 KBluetoothCompanyIdentiferTopconPositioningSystems BluetoothCompanyIdentifers = 139 KBluetoothCompanyIdentiferGimbal BluetoothCompanyIdentifers = 140 KBluetoothCompanyIdentiferZscanSoftware BluetoothCompanyIdentifers = 141 KBluetoothCompanyIdentiferQuintic BluetoothCompanyIdentifers = 142 KBluetoothCompanyIdentiferTelitWirelessSolutions BluetoothCompanyIdentifers = 143 KBluetoothCompanyIdentiferFunaiElectric BluetoothCompanyIdentifers = 144 KBluetoothCompanyIdentiferAdvancedPANMOBILSystems BluetoothCompanyIdentifers = 145 KBluetoothCompanyIdentiferThinkOptics BluetoothCompanyIdentifers = 146 KBluetoothCompanyIdentiferUniversalElectriconics BluetoothCompanyIdentifers = 147 KBluetoothCompanyIdentiferAirohaTechnology BluetoothCompanyIdentifers = 148 KBluetoothCompanyIdentiferNECLightning BluetoothCompanyIdentifers = 149 KBluetoothCompanyIdentiferODMTechnology BluetoothCompanyIdentifers = 150 KBluetoothCompanyIdentiferConnecteDevice BluetoothCompanyIdentifers = 151 KBluetoothCompanyIdentiferZero1TV BluetoothCompanyIdentifers = 152 KBluetoothCompanyIdentiferITechDynamicGlobalDistribution BluetoothCompanyIdentifers = 153 KBluetoothCompanyIdentiferAlpwise BluetoothCompanyIdentifers = 154 KBluetoothCompanyIdentiferJiangsuToppowerAutomotiveElectronics BluetoothCompanyIdentifers = 155 KBluetoothCompanyIdentiferColorfy BluetoothCompanyIdentifers = 156 KBluetoothCompanyIdentiferGeoforce BluetoothCompanyIdentifers = 157 KBluetoothCompanyIdentiferBose BluetoothCompanyIdentifers = 158 KBluetoothCompanyIdentiferSuuntoOy BluetoothCompanyIdentifers = 159 KBluetoothCompanyIdentiferKensingtonComputerProductsGroup BluetoothCompanyIdentifers = 160 KBluetoothCompanyIdentiferSRMedizinelektronik BluetoothCompanyIdentifers = 161 KBluetoothCompanyIdentiferVertu BluetoothCompanyIdentifers = 162 KBluetoothCompanyIdentiferMetaWatch BluetoothCompanyIdentifers = 163 KBluetoothCompanyIdentiferLinak BluetoothCompanyIdentifers = 164 KBluetoothCompanyIdentiferOTLDynamics BluetoothCompanyIdentifers = 165 KBluetoothCompanyIdentiferPandaOcean BluetoothCompanyIdentifers = 166 KBluetoothCompanyIdentiferVisteon BluetoothCompanyIdentifers = 167 KBluetoothCompanyIdentiferARPDevicesUnlimited BluetoothCompanyIdentifers = 168 KBluetoothCompanyIdentiferMagnetiMarelli BluetoothCompanyIdentifers = 169 KBluetoothCompanyIdentiferCaenRFID BluetoothCompanyIdentifers = 170 KBluetoothCompanyIdentiferIngenieurSystemgruppeZahn BluetoothCompanyIdentifers = 171 KBluetoothCompanyIdentiferGreenThrottleGames BluetoothCompanyIdentifers = 172 KBluetoothCompanyIdentiferPeterSystemtechnik BluetoothCompanyIdentifers = 173 KBluetoothCompanyIdentiferOmegawave BluetoothCompanyIdentifers = 174 KBluetoothCompanyIdentiferCinetix BluetoothCompanyIdentifers = 175 KBluetoothCompanyIdentiferPassifSemiconductor BluetoothCompanyIdentifers = 176 KBluetoothCompanyIdentiferSarisCyclingGroup BluetoothCompanyIdentifers = 177 KBluetoothCompanyIdentiferBekey BluetoothCompanyIdentifers = 178 KBluetoothCompanyIdentiferClarinoxTechnologies BluetoothCompanyIdentifers = 179 KBluetoothCompanyIdentiferBDETechnology BluetoothCompanyIdentifers = 180 KBluetoothCompanyIdentiferSwirlNetworks BluetoothCompanyIdentifers = 181 KBluetoothCompanyIdentiferMesoInternational BluetoothCompanyIdentifers = 182 KBluetoothCompanyIdentiferTreLab BluetoothCompanyIdentifers = 183 KBluetoothCompanyIdentiferQualcommInnovationCenter BluetoothCompanyIdentifers = 184 KBluetoothCompanyIdentiferJohnsonControls BluetoothCompanyIdentifers = 185 KBluetoothCompanyIdentiferStarkeyLaboratories BluetoothCompanyIdentifers = 186 KBluetoothCompanyIdentiferSPowerElectronics BluetoothCompanyIdentifers = 187 KBluetoothCompanyIdentiferAceSensor BluetoothCompanyIdentifers = 188 KBluetoothCompanyIdentiferAplix BluetoothCompanyIdentifers = 189 KBluetoothCompanyIdentiferAAMPofAmerica BluetoothCompanyIdentifers = 190 KBluetoothCompanyIdentiferStalmartTechnology BluetoothCompanyIdentifers = 191 KBluetoothCompanyIdentiferAMICCOMElectronics BluetoothCompanyIdentifers = 192 KBluetoothCompanyIdentiferShenzhenExcelsecuDataTechnology BluetoothCompanyIdentifers = 193 KBluetoothCompanyIdentiferGeneq BluetoothCompanyIdentifers = 194 KBluetoothCompanyIdentiferAdidas BluetoothCompanyIdentifers = 195 KBluetoothCompanyIdentiferLGElectronics BluetoothCompanyIdentifers = 196 KBluetoothCompanyIdentiferOnsetComputer BluetoothCompanyIdentifers = 197 KBluetoothCompanyIdentiferSelflyBV BluetoothCompanyIdentifers = 198 KBluetoothCompanyIdentiferQuupa BluetoothCompanyIdentifers = 199 KBluetoothCompanyIdentiferGeLo BluetoothCompanyIdentifers = 200 KBluetoothCompanyIdentiferEvluma BluetoothCompanyIdentifers = 201 KBluetoothCompanyIdentiferMC10 BluetoothCompanyIdentifers = 202 KBluetoothCompanyIdentiferBinauricSE BluetoothCompanyIdentifers = 203 KBluetoothCompanyIdentiferBeatsElectronics BluetoothCompanyIdentifers = 204 KBluetoothCompanyIdentiferMicrochipTechnology BluetoothCompanyIdentifers = 205 KBluetoothCompanyIdentiferElgatoSystems BluetoothCompanyIdentifers = 206 KBluetoothCompanyIdentiferARCHOS BluetoothCompanyIdentifers = 207 KBluetoothCompanyIdentiferDexcom BluetoothCompanyIdentifers = 208 KBluetoothCompanyIdentiferPolarElectroEurope BluetoothCompanyIdentifers = 209 KBluetoothCompanyIdentiferDialogSemiconductor BluetoothCompanyIdentifers = 210 KBluetoothCompanyIdentiferTaixingbangTechnology BluetoothCompanyIdentifers = 211 KBluetoothCompanyIdentiferKawantech BluetoothCompanyIdentifers = 212 KBluetoothCompanyIdentiferAustcoCommunicationsSystems BluetoothCompanyIdentifers = 213 KBluetoothCompanyIdentiferTimexGroup BluetoothCompanyIdentifers = 214 KBluetoothCompanyIdentiferQualcommTechnologies BluetoothCompanyIdentifers = 215 KBluetoothCompanyIdentiferQualcommConnectedExperiences BluetoothCompanyIdentifers = 216 KBluetoothCompanyIdentiferVoyetraTurtleBeach BluetoothCompanyIdentifers = 217 KBluetoothCompanyIdentifertxtrGMBH BluetoothCompanyIdentifers = 218 KBluetoothCompanyIdentiferBiosentronics BluetoothCompanyIdentifers = 219 KBluetoothCompanyIdentiferProctorAndGamble BluetoothCompanyIdentifers = 220 KBluetoothCompanyIdentiferHosiden BluetoothCompanyIdentifers = 221 KBluetoothCompanyIdentiferMusik BluetoothCompanyIdentifers = 222 KBluetoothCompanyIdentiferMisfitWearables BluetoothCompanyIdentifers = 223 KBluetoothCompanyIdentiferGoogle BluetoothCompanyIdentifers = 224 KBluetoothCompanyIdentiferDanlers BluetoothCompanyIdentifers = 225 KBluetoothCompanyIdentiferSemilink BluetoothCompanyIdentifers = 226 KBluetoothCompanyIdentiferInMusicBrands BluetoothCompanyIdentifers = 227 KBluetoothCompanyIdentiferLSResearch BluetoothCompanyIdentifers = 228 KBluetoothCompanyIdentiferEdenSoftwareConsultants BluetoothCompanyIdentifers = 229 KBluetoothCompanyIdentiferFreshtemp BluetoothCompanyIdentifers = 230 KBluetoothCompanyIdentiferKSTechnologies BluetoothCompanyIdentifers = 231 KBluetoothCompanyIdentiferACTSTechnologies BluetoothCompanyIdentifers = 232 KBluetoothCompanyIdentiferVtrackSystems BluetoothCompanyIdentifers = 233 KBluetoothCompanyIdentiferNielsenKellerman BluetoothCompanyIdentifers = 234 KBluetoothCompanyIdentiferServerTechnology BluetoothCompanyIdentifers = 235 KBluetoothCompanyIdentiferBioResearchAssociates BluetoothCompanyIdentifers = 236 KBluetoothCompanyIdentiferJollyLogic BluetoothCompanyIdentifers = 237 KBluetoothCompanyIdentiferAboveAverageOutcomes BluetoothCompanyIdentifers = 238 KBluetoothCompanyIdentiferBitsplitters BluetoothCompanyIdentifers = 239 KBluetoothCompanyIdentiferPayPal BluetoothCompanyIdentifers = 240 KBluetoothCompanyIdentiferWitronTechnology BluetoothCompanyIdentifers = 241 KBluetoothCompanyIdentiferMorseProject BluetoothCompanyIdentifers = 242 KBluetoothCompanyIdentiferKentDisplays BluetoothCompanyIdentifers = 243 KBluetoothCompanyIdentiferNautilus BluetoothCompanyIdentifers = 244 KBluetoothCompanyIdentiferSmartifier BluetoothCompanyIdentifers = 245 KBluetoothCompanyIdentiferElcometer BluetoothCompanyIdentifers = 246 KBluetoothCompanyIdentiferVSNTechnologies BluetoothCompanyIdentifers = 247 KBluetoothCompanyIdentiferAceUni BluetoothCompanyIdentifers = 248 KBluetoothCompanyIdentiferStickNFind BluetoothCompanyIdentifers = 249 KBluetoothCompanyIdentiferCrystalCode BluetoothCompanyIdentifers = 250 KBluetoothCompanyIdentiferKOUKAMM BluetoothCompanyIdentifers = 251 KBluetoothCompanyIdentiferDelphi BluetoothCompanyIdentifers = 252 KBluetoothCompanyIdentiferValenceTech BluetoothCompanyIdentifers = 253 KBluetoothCompanyIdentiferStanleyBlackAndDecker BluetoothCompanyIdentifers = 254 KBluetoothCompanyIdentiferTypeProducts BluetoothCompanyIdentifers = 255 KBluetoothCompanyIdentiferTomTomInternational BluetoothCompanyIdentifers = 256 KBluetoothCompanyIdentiferFuGoo BluetoothCompanyIdentifers = 257 KBluetoothCompanyIdentiferKeiser BluetoothCompanyIdentifers = 258 KBluetoothCompanyIdentiferBangAndOlufson BluetoothCompanyIdentifers = 259 KBluetoothCompanyIdentiferPLUSLocationSystems BluetoothCompanyIdentifers = 260 KBluetoothCompanyIdentiferUbiquitousComputingTechnology BluetoothCompanyIdentifers = 261 KBluetoothCompanyIdentiferInnovativeYachtterSolutions BluetoothCompanyIdentifers = 262 KBluetoothCompanyIdentiferWilliamDemantHolding BluetoothCompanyIdentifers = 263 KBluetoothCompanyIdentiferInteropIdentifier BluetoothCompanyIdentifers = 65535 )
func (BluetoothCompanyIdentifers) String ¶
func (e BluetoothCompanyIdentifers) String() string
type BluetoothDeviceAddress ¶
type BluetoothDeviceAddress struct {
Data [6]uint8
}
type BluetoothEnhancedSynchronousConnectionInfo ¶
type BluetoothEnhancedSynchronousConnectionInfo 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
}
type BluetoothEventFilterCondition ¶
type BluetoothEventFilterCondition struct {
Data [7]uint8
}
type BluetoothFeatureBits ¶
type BluetoothFeatureBits int64
const ( KBluetoothFeatureThreeSlotPackets BluetoothFeatureBits = 1 KBluetoothFeatureFiveSlotPackets BluetoothFeatureBits = 2 KBluetoothFeatureEncryption BluetoothFeatureBits = 4 KBluetoothFeatureSlotOffset BluetoothFeatureBits = 8 KBluetoothFeatureTimingAccuracy BluetoothFeatureBits = 16 KBluetoothFeatureSwitchRoles BluetoothFeatureBits = 32 KBluetoothFeatureHoldMode BluetoothFeatureBits = 64 KBluetoothFeatureSniffMode BluetoothFeatureBits = 128 KBluetoothFeatureParkMode BluetoothFeatureBits = 1 KBluetoothFeatureRSSI BluetoothFeatureBits = 2 KBluetoothFeaturePowerControlRequests BluetoothFeatureBits = 2 KBluetoothFeatureChannelQuality BluetoothFeatureBits = 4 KBluetoothFeatureSCOLink BluetoothFeatureBits = 8 KBluetoothFeatureHV2Packets BluetoothFeatureBits = 16 KBluetoothFeatureHV3Packets BluetoothFeatureBits = 32 KBluetoothFeatureULawLog BluetoothFeatureBits = 64 KBluetoothFeatureALawLog BluetoothFeatureBits = 128 KBluetoothFeatureCVSD BluetoothFeatureBits = 1 KBluetoothFeaturePagingScheme BluetoothFeatureBits = 2 KBluetoothFeaturePowerControl BluetoothFeatureBits = 4 KBluetoothFeatureTransparentSCOData BluetoothFeatureBits = 8 KBluetoothFeatureFlowControlLagBit0 BluetoothFeatureBits = 16 KBluetoothFeatureFlowControlLagBit1 BluetoothFeatureBits = 32 KBluetoothFeatureFlowControlLagBit2 BluetoothFeatureBits = 64 KBluetoothFeatureBroadcastEncryption BluetoothFeatureBits = 128 KBluetoothFeatureScatterMode BluetoothFeatureBits = 1 KBluetoothFeatureEnhancedDataRateACL2MbpsMode BluetoothFeatureBits = 2 KBluetoothFeatureEnhancedDataRateACL3MbpsMode BluetoothFeatureBits = 4 KBluetoothFeatureEnhancedInquiryScan BluetoothFeatureBits = 8 KBluetoothFeatureInterlacedInquiryScan BluetoothFeatureBits = 16 KBluetoothFeatureInterlacedPageScan BluetoothFeatureBits = 32 KBluetoothFeatureRSSIWithInquiryResult BluetoothFeatureBits = 64 KBluetoothFeatureExtendedSCOLink BluetoothFeatureBits = 128 KBluetoothFeatureEV4Packets BluetoothFeatureBits = 1 KBluetoothFeatureEV5Packets BluetoothFeatureBits = 2 KBluetoothFeatureAbsenceMasks BluetoothFeatureBits = 4 KBluetoothFeatureAFHCapablePeripheral BluetoothFeatureBits = 8 KBluetoothFeatureAFHClassificationPeripheral BluetoothFeatureBits = 16 KBluetoothFeatureAliasAuhentication BluetoothFeatureBits = 32 KBluetoothFeatureLESupportedController BluetoothFeatureBits = 64 KBluetoothFeature3SlotEnhancedDataRateACLPackets BluetoothFeatureBits = 128 KBluetoothFeatureAFHCapableSlave BluetoothFeatureBits = 8 KBluetoothFeatureAFHClassificationSlave BluetoothFeatureBits = 16 KBluetoothFeature5SlotEnhancedDataRateACLPackets BluetoothFeatureBits = 1 KBluetoothFeatureSniffSubrating BluetoothFeatureBits = 2 KBluetoothFeaturePauseEncryption BluetoothFeatureBits = 4 KBluetoothFeatureAFHCapableMaster BluetoothFeatureBits = 8 KBluetoothFeatureAFHClassificationMaster BluetoothFeatureBits = 16 KBluetoothFeatureEnhancedDataRateeSCO2MbpsMode BluetoothFeatureBits = 32 KBluetoothFeatureEnhancedDataRateeSCO3MbpsMode BluetoothFeatureBits = 64 KBluetoothFeature3SlotEnhancedDataRateeSCOPackets BluetoothFeatureBits = 128 KBluetoothFeatureExtendedInquiryResponse BluetoothFeatureBits = 1 KBluetoothFeatureSecureSimplePairing BluetoothFeatureBits = 8 KBluetoothFeatureEncapsulatedPDU BluetoothFeatureBits = 16 KBluetoothFeatureErroneousDataReporting BluetoothFeatureBits = 32 KBluetoothFeatureNonFlushablePacketBoundaryFlag BluetoothFeatureBits = 64 KBluetoothFeatureLinkSupervisionTimeoutChangedEvent BluetoothFeatureBits = 1 KBluetoothFeatureInquiryTransmissionPowerLevel BluetoothFeatureBits = 2 KBluetoothFeatureExtendedFeatures BluetoothFeatureBits = 128 KBluetoothExtendedFeatureSimpleSecurePairingHostMode BluetoothFeatureBits = 1 KBluetoothExtendedFeatureLESupportedHostMode BluetoothFeatureBits = 2 KBluetoothExtendedFeatureLEAndBREDRToSameDeviceHostMode BluetoothFeatureBits = 4 KBluetoothExtendedFeatureSecureConnectionsHostMode BluetoothFeatureBits = 8 KBluetoothExtendedFeatureSecureConnectionsControllerSupport BluetoothFeatureBits = 1 KBluetoothExtendedFeaturePing BluetoothFeatureBits = 2 KBluetoothExtendedFeatureReserved BluetoothFeatureBits = 4 KBluetoothExtendedFeatureTrainNudging BluetoothFeatureBits = 8 KBluetoothExtendedFeatureSlotAvailabilityMask BluetoothFeatureBits = 16 )
func (BluetoothFeatureBits) String ¶
func (e BluetoothFeatureBits) String() string
type BluetoothHCIAFHChannelAssessmentModes ¶
type BluetoothHCIAFHChannelAssessmentModes int64
const ( KAFHChannelAssessmentModeDisabled BluetoothHCIAFHChannelAssessmentModes = 0 KAFHChannelAssessmentModeEnabled BluetoothHCIAFHChannelAssessmentModes = 1 )
func (BluetoothHCIAFHChannelAssessmentModes) String ¶
func (e BluetoothHCIAFHChannelAssessmentModes) String() string
type BluetoothHCIAuthentionEnableModes ¶
type BluetoothHCIAuthentionEnableModes int64
const ( KAuthenticationDisabled BluetoothHCIAuthentionEnableModes = 0 KAuthenticationEnabled BluetoothHCIAuthentionEnableModes = 1 )
func (BluetoothHCIAuthentionEnableModes) String ¶
func (e BluetoothHCIAuthentionEnableModes) String() string
type BluetoothHCIBufferSize ¶
type BluetoothHCIConnectionModes ¶
type BluetoothHCIConnectionModes int64
const ( KConnectionActiveMode BluetoothHCIConnectionModes = 0 KConnectionHoldMode BluetoothHCIConnectionModes = 1 KConnectionSniffMode BluetoothHCIConnectionModes = 2 KConnectionParkMode BluetoothHCIConnectionModes = 3 KConnectionModeReservedForFutureUse BluetoothHCIConnectionModes = 4 )
func (BluetoothHCIConnectionModes) String ¶
func (e BluetoothHCIConnectionModes) String() string
type BluetoothHCICurrentInquiryAccessCodes ¶
type BluetoothHCICurrentInquiryAccessCodes struct {
Count uint8
Codes *BluetoothHCIInquiryAccessCode
}
type BluetoothHCIDeleteStoredLinkKeyFlags ¶
type BluetoothHCIDeleteStoredLinkKeyFlags int64
const ( KDeleteKeyForSpecifiedDeviceOnly BluetoothHCIDeleteStoredLinkKeyFlags = 0 KDeleteAllStoredLinkKeys BluetoothHCIDeleteStoredLinkKeyFlags = 1 )
func (BluetoothHCIDeleteStoredLinkKeyFlags) String ¶
func (e BluetoothHCIDeleteStoredLinkKeyFlags) String() string
type BluetoothHCIEncryptionModes ¶
type BluetoothHCIEncryptionModes int64
const ( KEncryptionDisabled BluetoothHCIEncryptionModes = 0 KEncryptionOnlyForPointToPointPackets BluetoothHCIEncryptionModes = 1 KEncryptionForBothPointToPointAndBroadcastPackets BluetoothHCIEncryptionModes = 2 )
func (BluetoothHCIEncryptionModes) String ¶
func (e BluetoothHCIEncryptionModes) String() string
type BluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams ¶
type BluetoothHCIEnhancedAcceptSynchronousConnectionRequestParams 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
}
type BluetoothHCIEnhancedSetupSynchronousConnectionParams ¶
type BluetoothHCIEnhancedSetupSynchronousConnectionParams 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
}
type BluetoothHCIEventAuthenticationCompleteResults ¶
type BluetoothHCIEventAuthenticationCompleteResults struct {
ConnectionHandle uint16
}
type BluetoothHCIEventChangeConnectionLinkKeyCompleteResults ¶
type BluetoothHCIEventChangeConnectionLinkKeyCompleteResults struct {
ConnectionHandle uint16
}
type BluetoothHCIEventConnectionCompleteResults ¶
type BluetoothHCIEventConnectionCompleteResults struct {
ConnectionHandle uint16
DeviceAddress BluetoothDeviceAddress
LinkType uint8
EncryptionMode uint8
}
type BluetoothHCIEventConnectionRequestResults ¶
type BluetoothHCIEventConnectionRequestResults struct {
DeviceAddress BluetoothDeviceAddress
ClassOfDevice uint32
LinkType uint8
}
type BluetoothHCIEventDataBufferOverflowResults ¶
type BluetoothHCIEventDataBufferOverflowResults struct {
LinkType uint8
}
type BluetoothHCIEventEncryptionKeyRefreshCompleteResults ¶
type BluetoothHCIEventEncryptionKeyRefreshCompleteResults struct {
ConnectionHandle uint16
}
type BluetoothHCIEventFlushOccurredResults ¶
type BluetoothHCIEventFlushOccurredResults struct {
ConnectionHandle uint16
}
type BluetoothHCIEventHardwareErrorResults ¶
type BluetoothHCIEventHardwareErrorResults struct {
Error uint8
}
type BluetoothHCIEventLEEnhancedConnectionCompleteResults ¶
type BluetoothHCIEventLEEnhancedConnectionCompleteResults struct {
ConnectionHandle uint16
Role uint8
PeerAddressType uint8
PeerAddress BluetoothDeviceAddress
LocalResolvablePrivateAddress BluetoothDeviceAddress
PeerResolvablePrivateAddress BluetoothDeviceAddress
ConnInterval uint16
ConnLatency uint16
SupervisionTimeout uint16
MasterClockAccuracy uint8
}
type BluetoothHCIEventLEReadRemoteUsedFeaturesCompleteResults ¶
type BluetoothHCIEventLEReadRemoteUsedFeaturesCompleteResults struct {
ConnectionHandle uint16
UsedFeatures BluetoothHCISupportedFeatures
}
type BluetoothHCIEventLinkKeyNotificationResults ¶
type BluetoothHCIEventLinkKeyNotificationResults struct {
DeviceAddress BluetoothDeviceAddress
LinkKey BluetoothKey
KeyType uint8
}
type BluetoothHCIEventPageScanModeChangeResults ¶
type BluetoothHCIEventPageScanModeChangeResults struct {
DeviceAddress BluetoothDeviceAddress
PageScanMode uint8
}
type BluetoothHCIEventPageScanRepetitionModeChangeResults ¶
type BluetoothHCIEventPageScanRepetitionModeChangeResults struct {
DeviceAddress BluetoothDeviceAddress
PageScanRepetitionMode uint8
}
type BluetoothHCIEventQoSSetupCompleteResults ¶
type BluetoothHCIEventQoSSetupCompleteResults struct {
ConnectionHandle uint16
SetupParams BluetoothHCIQualityOfServiceSetupParams
}
type BluetoothHCIEventQoSViolationResults ¶
type BluetoothHCIEventQoSViolationResults struct {
ConnectionHandle uint16
}
type BluetoothHCIEventReadExtendedFeaturesResults ¶
type BluetoothHCIEventReadExtendedFeaturesResults struct {
ConnectionHandle uint16
SupportedFeaturesInfo BluetoothHCIExtendedFeaturesInfo
}
type BluetoothHCIEventReadRemoteExtendedFeaturesResults ¶
type BluetoothHCIEventReadRemoteExtendedFeaturesResults struct {
Error uint8
ConnectionHandle uint16
Page uint8
MaxPage uint8
LmpFeatures BluetoothHCISupportedFeatures
}
type BluetoothHCIEventReadRemoteSupportedFeaturesResults ¶
type BluetoothHCIEventReadRemoteSupportedFeaturesResults struct {
Error uint8
ConnectionHandle uint16
LmpFeatures BluetoothHCISupportedFeatures
}
type BluetoothHCIEventReadSupportedFeaturesResults ¶
type BluetoothHCIEventReadSupportedFeaturesResults struct {
ConnectionHandle uint16
SupportedFeatures BluetoothHCISupportedFeatures
}
type BluetoothHCIEventRemoteNameRequestResults ¶
type BluetoothHCIEventRemoteNameRequestResults struct {
DeviceAddress BluetoothDeviceAddress
DeviceName [248]uint8
}
type BluetoothHCIEventRoleChangeResults ¶
type BluetoothHCIEventRoleChangeResults struct {
ConnectionHandle uint16
DeviceAddress BluetoothDeviceAddress
Role uint8
}
type BluetoothHCIEventSimplePairingCompleteResults ¶
type BluetoothHCIEventSimplePairingCompleteResults struct {
DeviceAddress BluetoothDeviceAddress
}
type BluetoothHCIExtendedInquiryResponse ¶
type BluetoothHCIExtendedInquiryResponse struct {
Data [240]uint8
}
type BluetoothHCIExtendedInquiryResponseDataTypes ¶
type BluetoothHCIExtendedInquiryResponseDataTypes int64
const ( KBluetoothHCIExtendedInquiryResponseDataTypeFlags BluetoothHCIExtendedInquiryResponseDataTypes = 1 KBluetoothHCIExtendedInquiryResponseDataType16BitServiceClassUUIDsWithMoreAvailable BluetoothHCIExtendedInquiryResponseDataTypes = 2 KBluetoothHCIExtendedInquiryResponseDataType16BitServiceClassUUIDsCompleteList BluetoothHCIExtendedInquiryResponseDataTypes = 3 KBluetoothHCIExtendedInquiryResponseDataType32BitServiceClassUUIDsWithMoreAvailable BluetoothHCIExtendedInquiryResponseDataTypes = 4 KBluetoothHCIExtendedInquiryResponseDataType32BitServiceClassUUIDsCompleteList BluetoothHCIExtendedInquiryResponseDataTypes = 5 KBluetoothHCIExtendedInquiryResponseDataType128BitServiceClassUUIDsWithMoreAvailable BluetoothHCIExtendedInquiryResponseDataTypes = 6 KBluetoothHCIExtendedInquiryResponseDataType128BitServiceClassUUIDsCompleteList BluetoothHCIExtendedInquiryResponseDataTypes = 7 KBluetoothHCIExtendedInquiryResponseDataTypeShortenedLocalName BluetoothHCIExtendedInquiryResponseDataTypes = 8 KBluetoothHCIExtendedInquiryResponseDataTypeCompleteLocalName BluetoothHCIExtendedInquiryResponseDataTypes = 9 KBluetoothHCIExtendedInquiryResponseDataTypeTransmitPowerLevel BluetoothHCIExtendedInquiryResponseDataTypes = 10 KBluetoothHCIExtendedInquiryResponseDataTypeSSPOOBClassOfDevice BluetoothHCIExtendedInquiryResponseDataTypes = 13 KBluetoothHCIExtendedInquiryResponseDataTypeSSPOOBSimplePairingHashC BluetoothHCIExtendedInquiryResponseDataTypes = 14 KBluetoothHCIExtendedInquiryResponseDataTypeSSPOOBSimplePairingRandomizerR BluetoothHCIExtendedInquiryResponseDataTypes = 15 KBluetoothHCIExtendedInquiryResponseDataTypeDeviceID BluetoothHCIExtendedInquiryResponseDataTypes = 16 KBluetoothHCIExtendedInquiryResponseDataTypeSecurityManagerTKValue BluetoothHCIExtendedInquiryResponseDataTypes = 16 KBluetoothHCIExtendedInquiryResponseDataTypeSecurityManagerOOBFlags BluetoothHCIExtendedInquiryResponseDataTypes = 17 KBluetoothHCIExtendedInquiryResponseDataTypePeripheralConnectionIntervalRange BluetoothHCIExtendedInquiryResponseDataTypes = 18 KBluetoothHCIExtendedInquiryResponseDataTypeServiceSolicitation16BitUUIDs BluetoothHCIExtendedInquiryResponseDataTypes = 20 KBluetoothHCIExtendedInquiryResponseDataTypeServiceSolicitation128BitUUIDs BluetoothHCIExtendedInquiryResponseDataTypes = 21 KBluetoothHCIExtendedInquiryResponseDataTypeServiceData BluetoothHCIExtendedInquiryResponseDataTypes = 22 KBluetoothHCIExtendedInquiryResponseDataTypePublicTargetAddress BluetoothHCIExtendedInquiryResponseDataTypes = 23 KBluetoothHCIExtendedInquiryResponseDataTypeRandomTargetAddress BluetoothHCIExtendedInquiryResponseDataTypes = 24 KBluetoothHCIExtendedInquiryResponseDataTypeAppearance BluetoothHCIExtendedInquiryResponseDataTypes = 25 KBluetoothHCIExtendedInquiryResponseDataTypeAdvertisingInterval BluetoothHCIExtendedInquiryResponseDataTypes = 26 KBluetoothHCIExtendedInquiryResponseDataTypeLEBluetoothDeviceAddress BluetoothHCIExtendedInquiryResponseDataTypes = 27 KBluetoothHCIExtendedInquiryResponseDataTypeLERole BluetoothHCIExtendedInquiryResponseDataTypes = 28 KBluetoothHCIExtendedInquiryResponseDataTypeSimplePairingHash BluetoothHCIExtendedInquiryResponseDataTypes = 29 KBluetoothHCIExtendedInquiryResponseDataTypeSimplePairingRandomizer BluetoothHCIExtendedInquiryResponseDataTypes = 30 KBluetoothHCIExtendedInquiryResponseDataTypeServiceSolicitation32BitUUIDs BluetoothHCIExtendedInquiryResponseDataTypes = 31 KBluetoothHCIExtendedInquiryResponseDataTypeServiceData32BitUUID BluetoothHCIExtendedInquiryResponseDataTypes = 32 KBluetoothHCIExtendedInquiryResponseDataTypeServiceData128BitUUID BluetoothHCIExtendedInquiryResponseDataTypes = 33 KBluetoothHCIExtendedInquiryResponseDataTypeSecureConnectionsConfirmationValue BluetoothHCIExtendedInquiryResponseDataTypes = 34 KBluetoothHCIExtendedInquiryResponseDataTypeSecureConnectionsRandomValue BluetoothHCIExtendedInquiryResponseDataTypes = 35 KBluetoothHCIExtendedInquiryResponseDataTypeURI BluetoothHCIExtendedInquiryResponseDataTypes = 36 KBluetoothHCIExtendedInquiryResponseDataTypeIndoorPositioning BluetoothHCIExtendedInquiryResponseDataTypes = 37 KBluetoothHCIExtendedInquiryResponseDataTypeTransportDiscoveryData BluetoothHCIExtendedInquiryResponseDataTypes = 38 KBluetoothHCIExtendedInquiryResponseDataTypeCsisRsiData BluetoothHCIExtendedInquiryResponseDataTypes = 46 KBluetoothHCIExtendedInquiryResponseDataType3DInformationData BluetoothHCIExtendedInquiryResponseDataTypes = 61 KBluetoothHCIExtendedInquiryResponseDataTypeManufacturerSpecificData BluetoothHCIExtendedInquiryResponseDataTypes = 255 KBluetoothHCIExtendedInquiryResponseDataTypeSlaveConnectionIntervalRange BluetoothHCIExtendedInquiryResponseDataTypes = 18 )
func (BluetoothHCIExtendedInquiryResponseDataTypes) String ¶
func (e BluetoothHCIExtendedInquiryResponseDataTypes) String() string
type BluetoothHCIExtendedInquiryResult ¶
type BluetoothHCIExtendedInquiryResult struct {
NumberOfReponses uint8
DeviceAddress BluetoothDeviceAddress
PageScanRepetitionMode uint8
Reserved uint8
ClassOfDevice uint32
ClockOffset uint16
RSSIValue int8
ExtendedInquiryResponse BluetoothHCIExtendedInquiryResponse
}
type BluetoothHCIFECRequiredValues ¶
type BluetoothHCIFECRequiredValues int64
const ( KBluetoothHCIFECRequired BluetoothHCIFECRequiredValues = 0 KBluetoothHCIFECNotRequired BluetoothHCIFECRequiredValues = 1 )
func (BluetoothHCIFECRequiredValues) String ¶
func (e BluetoothHCIFECRequiredValues) String() string
type BluetoothHCIGeneralFlowControlStates ¶
type BluetoothHCIGeneralFlowControlStates int64
const ( KHostControllerToHostFlowControlOff BluetoothHCIGeneralFlowControlStates = 0 KHCIACLDataPacketsOnHCISCODataPacketsOff BluetoothHCIGeneralFlowControlStates = 1 KHCIACLDataPacketsOffHCISCODataPacketsOn BluetoothHCIGeneralFlowControlStates = 2 KHCIACLDataPacketsOnHCISCODataPacketsOn BluetoothHCIGeneralFlowControlStates = 3 )
func (BluetoothHCIGeneralFlowControlStates) String ¶
func (e BluetoothHCIGeneralFlowControlStates) String() string
type BluetoothHCIHoldModeActivityStates ¶
type BluetoothHCIHoldModeActivityStates int64
const ( KMaintainCurrentPowerState BluetoothHCIHoldModeActivityStates = 0 KSuspendPageScan BluetoothHCIHoldModeActivityStates = 1 KSuspendInquiryScan BluetoothHCIHoldModeActivityStates = 2 KSuspendPeriodicInquiries BluetoothHCIHoldModeActivityStates = 3 )
func (BluetoothHCIHoldModeActivityStates) String ¶
func (e BluetoothHCIHoldModeActivityStates) String() string
type BluetoothHCIInquiryAccessCode ¶
type BluetoothHCIInquiryAccessCode struct {
Data [3]uint8
}
type BluetoothHCIInquiryModes ¶
type BluetoothHCIInquiryModes int64
const ( KBluetoothHCIInquiryModeResultFormatStandard BluetoothHCIInquiryModes = 0 KBluetoothHCIInquiryModeResultFormatWithRSSI BluetoothHCIInquiryModes = 1 KBluetoothHCIInquiryModeResultFormatWithRSSIOrExtendedInquiryResultFormat BluetoothHCIInquiryModes = 2 )
func (BluetoothHCIInquiryModes) String ¶
func (e BluetoothHCIInquiryModes) String() string
type BluetoothHCIInquiryResults ¶
type BluetoothHCIInquiryResults struct {
Results [50]BluetoothHCIInquiryResult
Count uint
}
type BluetoothHCIInquiryScanTypes ¶
type BluetoothHCIInquiryScanTypes int64
const ( KBluetoothHCIInquiryScanTypeStandard BluetoothHCIInquiryScanTypes = 0 KBluetoothHCIInquiryScanTypeInterlaced BluetoothHCIInquiryScanTypes = 1 KBluetoothHCIInquiryScanTypeReservedStart BluetoothHCIInquiryScanTypes = 2 KBluetoothHCIInquiryScanTypeReservedEnd BluetoothHCIInquiryScanTypes = 255 )
func (BluetoothHCIInquiryScanTypes) String ¶
func (e BluetoothHCIInquiryScanTypes) String() string
type BluetoothHCIInquiryWithRSSIResults ¶
type BluetoothHCIInquiryWithRSSIResults struct {
Results [50]BluetoothHCIInquiryWithRSSIResult
Count uint
}
type BluetoothHCILESupportedFeatures ¶
type BluetoothHCILESupportedFeatures = BluetoothHCISupportedFeatures
BluetoothHCILESupportedFeatures is an alias for BluetoothHCISupportedFeatures (C typedef BluetoothHCILESupportedFeatures).
type BluetoothHCILEUsedFeatures ¶
type BluetoothHCILEUsedFeatures = BluetoothHCISupportedFeatures
BluetoothHCILEUsedFeatures is an alias for BluetoothHCISupportedFeatures (C typedef BluetoothHCILEUsedFeatures).
type BluetoothHCILinkPolicySettingsValues ¶
type BluetoothHCILinkPolicySettingsValues int64
const ( KDisableAllLMModes BluetoothHCILinkPolicySettingsValues = 0 KEnableCentralPeripheralSwitch BluetoothHCILinkPolicySettingsValues = 1 KEnableHoldMode BluetoothHCILinkPolicySettingsValues = 2 KEnableSniffMode BluetoothHCILinkPolicySettingsValues = 4 KEnableParkMode BluetoothHCILinkPolicySettingsValues = 8 KReservedForFutureUse BluetoothHCILinkPolicySettingsValues = 16 KEnableMasterSlaveSwitch BluetoothHCILinkPolicySettingsValues = 1 )
func (BluetoothHCILinkPolicySettingsValues) String ¶
func (e BluetoothHCILinkPolicySettingsValues) String() string
type BluetoothHCIPageScanEnableStates ¶
type BluetoothHCIPageScanEnableStates int64
const ( KNoScansEnabled BluetoothHCIPageScanEnableStates = 0 KInquiryScanEnabledPageScanDisabled BluetoothHCIPageScanEnableStates = 1 KInquiryScanDisabledPageScanEnabled BluetoothHCIPageScanEnableStates = 2 KInquiryScanEnabledPageScanEnabled BluetoothHCIPageScanEnableStates = 3 )
func (BluetoothHCIPageScanEnableStates) String ¶
func (e BluetoothHCIPageScanEnableStates) String() string
type BluetoothHCIPageScanModes ¶
type BluetoothHCIPageScanModes int64
const ( KMandatoryPageScanMode BluetoothHCIPageScanModes = 0 KOptionalPageScanMode1 BluetoothHCIPageScanModes = 1 KOptionalPageScanMode2 BluetoothHCIPageScanModes = 2 KOptionalPageScanMode3 BluetoothHCIPageScanModes = 3 )
func (BluetoothHCIPageScanModes) String ¶
func (e BluetoothHCIPageScanModes) String() string
type BluetoothHCIPageScanPeriodModes ¶
type BluetoothHCIPageScanPeriodModes int64
const ( KP0Mode BluetoothHCIPageScanPeriodModes = 0 KP1Mode BluetoothHCIPageScanPeriodModes = 1 KP2Mode BluetoothHCIPageScanPeriodModes = 2 )
func (BluetoothHCIPageScanPeriodModes) String ¶
func (e BluetoothHCIPageScanPeriodModes) String() string
type BluetoothHCIPageScanTypes ¶
type BluetoothHCIPageScanTypes int64
const ( KBluetoothHCIPageScanTypeStandard BluetoothHCIPageScanTypes = 0 KBluetoothHCIPageScanTypeInterlaced BluetoothHCIPageScanTypes = 1 KBluetoothHCIPageScanTypeReservedStart BluetoothHCIPageScanTypes = 2 KBluetoothHCIPageScanTypeReservedEnd BluetoothHCIPageScanTypes = 255 )
func (BluetoothHCIPageScanTypes) String ¶
func (e BluetoothHCIPageScanTypes) String() string
type BluetoothHCIPowerState ¶
type BluetoothHCIPowerState int64
const ( KBluetoothHCIPowerStateON BluetoothHCIPowerState = 1 KBluetoothHCIPowerStateOFF BluetoothHCIPowerState = 0 KBluetoothHCIPowerStateUnintialized BluetoothHCIPowerState = 255 )
func (BluetoothHCIPowerState) String ¶
func (e BluetoothHCIPowerState) String() string
type BluetoothHCIRSSIInfo ¶
type BluetoothHCIReadExtendedInquiryResponseResults ¶
type BluetoothHCIReadExtendedInquiryResponseResults struct {
OutFECRequired uint8
ExtendedInquiryResponse BluetoothHCIExtendedInquiryResponse
}
type BluetoothHCIReadLocalOOBDataResults ¶
type BluetoothHCIReadLocalOOBDataResults struct {
Hash BluetoothHCISimplePairingOOBData
Randomizer BluetoothHCISimplePairingOOBData
}
type BluetoothHCIReadStoredLinkKeysFlags ¶
type BluetoothHCIReadStoredLinkKeysFlags int64
const ( KReturnLinkKeyForSpecifiedDeviceOnly BluetoothHCIReadStoredLinkKeysFlags = 0 KReadAllStoredLinkKeys BluetoothHCIReadStoredLinkKeysFlags = 1 )
func (BluetoothHCIReadStoredLinkKeysFlags) String ¶
func (e BluetoothHCIReadStoredLinkKeysFlags) String() string
type BluetoothHCIRetransmissionEffortTypes ¶
type BluetoothHCIRetransmissionEffortTypes int64
const ( KHCIRetransmissionEffortTypeNone BluetoothHCIRetransmissionEffortTypes = 0 KHCIRetransmissionEffortTypeAtLeastOneAndOptimizeForPower BluetoothHCIRetransmissionEffortTypes = 1 KHCIRetransmissionEffortTypeAtLeastOneAndOptimizeLinkQuality BluetoothHCIRetransmissionEffortTypes = 2 KHCIRetransmissionEffortTypeDontCare BluetoothHCIRetransmissionEffortTypes = 255 )
func (BluetoothHCIRetransmissionEffortTypes) String ¶
func (e BluetoothHCIRetransmissionEffortTypes) String() string
type BluetoothHCIRoleInfo ¶
type BluetoothHCIRoles ¶
type BluetoothHCIRoles int64
const ( KBluetoothHCICentralRole BluetoothHCIRoles = 0 KBluetoothHCIPeripheralRole BluetoothHCIRoles = 1 KBluetoothHCIMasterRole BluetoothHCIRoles = 0 KBluetoothHCISlaveRole BluetoothHCIRoles = 1 )
func (BluetoothHCIRoles) String ¶
func (e BluetoothHCIRoles) String() string
type BluetoothHCISCOFlowControlStates ¶
type BluetoothHCISCOFlowControlStates int64
const ( KSCOFlowControlDisabled BluetoothHCISCOFlowControlStates = 0 KSCOFlowControlEnabled BluetoothHCISCOFlowControlStates = 1 )
func (BluetoothHCISCOFlowControlStates) String ¶
func (e BluetoothHCISCOFlowControlStates) String() string
type BluetoothHCISimplePairingModes ¶
type BluetoothHCISimplePairingModes int64
const ( KBluetoothHCISimplePairingModeNotSet BluetoothHCISimplePairingModes = 0 KBluetoothHCISimplePairingModeEnabled BluetoothHCISimplePairingModes = 1 )
func (BluetoothHCISimplePairingModes) String ¶
func (e BluetoothHCISimplePairingModes) String() string
type BluetoothHCISimplePairingOOBData ¶
type BluetoothHCISimplePairingOOBData struct {
Data [16]uint8
}
type BluetoothHCISupportedCommands ¶
type BluetoothHCISupportedCommands struct {
Data [64]uint8
}
type BluetoothHCISupportedFeatures ¶
type BluetoothHCISupportedFeatures struct {
Data [8]uint8
}
type BluetoothHCITimeoutValues ¶
type BluetoothHCITimeoutValues int64
const (
KDefaultPageTimeout BluetoothHCITimeoutValues = 10000
)
func (BluetoothHCITimeoutValues) String ¶
func (e BluetoothHCITimeoutValues) String() string
type BluetoothHCITransmitReadPowerLevelTypes ¶
type BluetoothHCITransmitReadPowerLevelTypes int64
const ( KReadCurrentTransmitPowerLevel BluetoothHCITransmitReadPowerLevelTypes = 0 KReadMaximumTransmitPowerLevel BluetoothHCITransmitReadPowerLevelTypes = 1 )
func (BluetoothHCITransmitReadPowerLevelTypes) String ¶
func (e BluetoothHCITransmitReadPowerLevelTypes) String() string
type BluetoothHCIVersionInfo ¶
type BluetoothHCIVersions ¶
type BluetoothHCIVersions int64
const ( KBluetoothHCIVersionCoreSpecification1_0b BluetoothHCIVersions = 0 KBluetoothHCIVersionCoreSpecification1_1 BluetoothHCIVersions = 1 KBluetoothHCIVersionCoreSpecification1_2 BluetoothHCIVersions = 2 KBluetoothHCIVersionCoreSpecification2_0EDR BluetoothHCIVersions = 3 KBluetoothHCIVersionCoreSpecification2_1EDR BluetoothHCIVersions = 4 KBluetoothHCIVersionCoreSpecification3_0HS BluetoothHCIVersions = 5 KBluetoothHCIVersionCoreSpecification4_0 BluetoothHCIVersions = 6 KBluetoothHCIVersionCoreSpecification4_1 BluetoothHCIVersions = 7 KBluetoothHCIVersionCoreSpecification4_2 BluetoothHCIVersions = 8 KBluetoothHCIVersionCoreSpecification5_0 BluetoothHCIVersions = 9 KBluetoothHCIVersionCoreSpecification5_1 BluetoothHCIVersions = 10 KBluetoothHCIVersionCoreSpecification5_2 BluetoothHCIVersions = 11 KBluetoothHCIVersionCoreSpecification5_3 BluetoothHCIVersions = 12 )
func (BluetoothHCIVersions) String ¶
func (e BluetoothHCIVersions) String() string
type BluetoothIOCapabilities ¶
type BluetoothIOCapabilities int64
const ( KBluetoothCapabilityTypeDisplayOnly BluetoothIOCapabilities = 0 KBluetoothCapabilityTypeDisplayYesNo BluetoothIOCapabilities = 1 KBluetoothCapabilityTypeKeyboardOnly BluetoothIOCapabilities = 2 KBluetoothCapabilityTypeNoInputNoOutput BluetoothIOCapabilities = 3 )
func (BluetoothIOCapabilities) String ¶
func (e BluetoothIOCapabilities) String() string
type BluetoothIOCapabilityResponse ¶
type BluetoothIOCapabilityResponse struct {
DeviceAddress BluetoothDeviceAddress
IoCapability uint8
OOBDataPresence uint8
AuthenticationRequirements uint8
}
type BluetoothIRK ¶
type BluetoothIRK struct {
Data [16]uint8
}
type BluetoothKey ¶
type BluetoothKey struct {
Data [16]uint8
}
type BluetoothKeypressNotification ¶
type BluetoothKeypressNotification struct {
DeviceAddress BluetoothDeviceAddress
NotificationType uint8
}
type BluetoothKeypressNotificationTypes ¶
type BluetoothKeypressNotificationTypes int64
const ( KBluetoothKeypressNotificationTypePasskeyEntryStarted BluetoothKeypressNotificationTypes = 0 KBluetoothKeypressNotificationTypePasskeyDigitEntered BluetoothKeypressNotificationTypes = 1 KBluetoothKeypressNotificationTypePasskeyDigitErased BluetoothKeypressNotificationTypes = 2 KBluetoothKeypressNotificationTypePasskeyCleared BluetoothKeypressNotificationTypes = 3 KBluetoothKeypressNotificationTypePasskeyEntryCompleted BluetoothKeypressNotificationTypes = 4 )
func (BluetoothKeypressNotificationTypes) String ¶
func (e BluetoothKeypressNotificationTypes) String() string
type BluetoothL2CAPCommandCode ¶
type BluetoothL2CAPCommandCode int64
const ( KBluetoothL2CAPCommandCodeReserved BluetoothL2CAPCommandCode = 0 KBluetoothL2CAPCommandCodeCommandReject BluetoothL2CAPCommandCode = 1 KBluetoothL2CAPCommandCodeConnectionRequest BluetoothL2CAPCommandCode = 2 KBluetoothL2CAPCommandCodeConnectionResponse BluetoothL2CAPCommandCode = 3 KBluetoothL2CAPCommandCodeConfigureRequest BluetoothL2CAPCommandCode = 4 KBluetoothL2CAPCommandCodeConfigureResponse BluetoothL2CAPCommandCode = 5 KBluetoothL2CAPCommandCodeDisconnectionRequest BluetoothL2CAPCommandCode = 6 KBluetoothL2CAPCommandCodeDisconnectionResponse BluetoothL2CAPCommandCode = 7 KBluetoothL2CAPCommandCodeEchoRequest BluetoothL2CAPCommandCode = 8 KBluetoothL2CAPCommandCodeEchoResponse BluetoothL2CAPCommandCode = 9 KBluetoothL2CAPCommandCodeInformationRequest BluetoothL2CAPCommandCode = 10 KBluetoothL2CAPCommandCodeInformationResponse BluetoothL2CAPCommandCode = 11 KBluetoothL2CAPCommandCodeCreateChannelRequest BluetoothL2CAPCommandCode = 12 KBluetoothL2CAPCommandCodeCreateChannelResponse BluetoothL2CAPCommandCode = 13 KBluetoothL2CAPCommandCodeMoveChannelRequest BluetoothL2CAPCommandCode = 14 KBluetoothL2CAPCommandCodeMoveChannelResponse BluetoothL2CAPCommandCode = 15 KBluetoothL2CAPCommandCodeMoveChannelConfirmation BluetoothL2CAPCommandCode = 16 KBluetoothL2CAPCommandCodeMoveChannelConfirmationResponse BluetoothL2CAPCommandCode = 17 KBluetoothL2CAPCommandCodeConnectionParameterUpdateRequest BluetoothL2CAPCommandCode = 18 KBluetoothL2CAPCommandCodeConnectionParameterUpdateResponse BluetoothL2CAPCommandCode = 19 KBluetoothL2CAPCommandCodeLECreditBasedConnectionRequest BluetoothL2CAPCommandCode = 20 KBluetoothL2CAPCommandCodeLECreditBasedConnectionResponse BluetoothL2CAPCommandCode = 21 KBluetoothL2CAPCommandCodeLEFlowControlCredit BluetoothL2CAPCommandCode = 22 )
func (BluetoothL2CAPCommandCode) String ¶
func (e BluetoothL2CAPCommandCode) String() string
type BluetoothL2CAPCommandRejectReason ¶
type BluetoothL2CAPCommandRejectReason int64
const ( KBluetoothL2CAPCommandRejectReasonCommandNotUnderstood BluetoothL2CAPCommandRejectReason = 0 KBluetoothL2CAPCommandRejectReasonSignallingMTUExceeded BluetoothL2CAPCommandRejectReason = 1 KBluetoothL2CAPCommandRejectReasonInvalidCIDInRequest BluetoothL2CAPCommandRejectReason = 2 )
func (BluetoothL2CAPCommandRejectReason) String ¶
func (e BluetoothL2CAPCommandRejectReason) String() string
type BluetoothL2CAPConfigurationOption ¶
type BluetoothL2CAPConfigurationOption int64
const ( KBluetoothL2CAPConfigurationOptionMTU BluetoothL2CAPConfigurationOption = 1 KBluetoothL2CAPConfigurationOptionFlushTimeout BluetoothL2CAPConfigurationOption = 2 KBluetoothL2CAPConfigurationOptionQoS BluetoothL2CAPConfigurationOption = 3 KBluetoothL2CAPConfigurationOptionRetransmissionAndFlowControl BluetoothL2CAPConfigurationOption = 4 KBluetoothL2CAPConfigurationOptionFrameCheckSequence BluetoothL2CAPConfigurationOption = 5 KBluetoothL2CAPConfigurationOptionExtendedFlowSpecification BluetoothL2CAPConfigurationOption = 6 KBluetoothL2CAPConfigurationOptionExtendedWindowSize BluetoothL2CAPConfigurationOption = 7 )
func (BluetoothL2CAPConfigurationOption) String ¶
func (e BluetoothL2CAPConfigurationOption) String() string
type BluetoothL2CAPConfigurationResult ¶
type BluetoothL2CAPConfigurationResult int64
const ( KBluetoothL2CAPConfigurationResultSuccess BluetoothL2CAPConfigurationResult = 0 KBluetoothL2CAPConfigurationResultUnacceptableParams BluetoothL2CAPConfigurationResult = 1 KBluetoothL2CAPConfigurationResultRejected BluetoothL2CAPConfigurationResult = 2 KBluetoothL2CAPConfigurationResultUnknownOptions BluetoothL2CAPConfigurationResult = 3 )
func (BluetoothL2CAPConfigurationResult) String ¶
func (e BluetoothL2CAPConfigurationResult) String() string
type BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags ¶
type BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags int64
const ( KBluetoothL2CAPConfigurationBasicL2CAPModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 0 KBluetoothL2CAPConfigurationRetransmissionModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 1 KBluetoothL2CAPConfigurationFlowControlModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 2 KBluetoothL2CAPConfigurationEnhancedRetransmissionMode BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 3 KBluetoothL2CAPConfigurationStreamingMode BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 4 )
func (BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags) String ¶
func (e BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags) String() string
type BluetoothL2CAPConnectionResult ¶
type BluetoothL2CAPConnectionResult int64
const ( KBluetoothL2CAPConnectionResultSuccessful BluetoothL2CAPConnectionResult = 0 KBluetoothL2CAPConnectionResultPending BluetoothL2CAPConnectionResult = 1 KBluetoothL2CAPConnectionResultRefusedPSMNotSupported BluetoothL2CAPConnectionResult = 2 KBluetoothL2CAPConnectionResultRefusedSecurityBlock BluetoothL2CAPConnectionResult = 3 KBluetoothL2CAPConnectionResultRefusedNoResources BluetoothL2CAPConnectionResult = 4 KBluetoothL2CAPConnectionResultRefusedReserved BluetoothL2CAPConnectionResult = 5 KBluetoothL2CAPConnectionResultRefusedInvalidSourceCID BluetoothL2CAPConnectionResult = 6 KBluetoothL2CAPConnectionResultRefusedSourceCIDAlreadyAllocated BluetoothL2CAPConnectionResult = 7 )
func (BluetoothL2CAPConnectionResult) String ¶
func (e BluetoothL2CAPConnectionResult) String() string
type BluetoothL2CAPConnectionStatus ¶
type BluetoothL2CAPConnectionStatus int64
const ( KBluetoothL2CAPConnectionStatusNoInfoAvailable BluetoothL2CAPConnectionStatus = 0 KBluetoothL2CAPConnectionStatusAuthenticationPending BluetoothL2CAPConnectionStatus = 1 KBluetoothL2CAPConnectionStatusAuthorizationPending BluetoothL2CAPConnectionStatus = 2 )
func (BluetoothL2CAPConnectionStatus) String ¶
func (e BluetoothL2CAPConnectionStatus) String() string
type BluetoothL2CAPInformationExtendedFeaturesMask ¶
type BluetoothL2CAPInformationExtendedFeaturesMask int64
const ( KBluetoothL2CAPInformationNoExtendedFeatures BluetoothL2CAPInformationExtendedFeaturesMask = 0 KBluetoothL2CAPInformationFlowControlMode BluetoothL2CAPInformationExtendedFeaturesMask = 1 KBluetoothL2CAPInformationRetransmissionMode BluetoothL2CAPInformationExtendedFeaturesMask = 2 KBluetoothL2CAPInformationBidirectionalQoS BluetoothL2CAPInformationExtendedFeaturesMask = 4 KBluetoothL2CAPInformationEnhancedRetransmissionMode BluetoothL2CAPInformationExtendedFeaturesMask = 8 KBluetoothL2CAPInformationStreamingMode BluetoothL2CAPInformationExtendedFeaturesMask = 16 KBluetoothL2CAPInformationFCSOption BluetoothL2CAPInformationExtendedFeaturesMask = 32 KBluetoothL2CAPInformationExtendedFlowSpecification BluetoothL2CAPInformationExtendedFeaturesMask = 64 KBluetoothL2CAPInformationFixedChannels BluetoothL2CAPInformationExtendedFeaturesMask = 128 KBluetoothL2CAPInformationExtendedWindowSize BluetoothL2CAPInformationExtendedFeaturesMask = 256 KBluetoothL2CAPUnicastConnectionlessDataReception BluetoothL2CAPInformationExtendedFeaturesMask = 512 )
func (BluetoothL2CAPInformationExtendedFeaturesMask) String ¶
func (e BluetoothL2CAPInformationExtendedFeaturesMask) String() string
type BluetoothL2CAPInformationResult ¶
type BluetoothL2CAPInformationResult int64
const ( KBluetoothL2CAPInformationResultSuccess BluetoothL2CAPInformationResult = 0 KBluetoothL2CAPInformationResultNotSupported BluetoothL2CAPInformationResult = 1 )
func (BluetoothL2CAPInformationResult) String ¶
func (e BluetoothL2CAPInformationResult) String() string
type BluetoothL2CAPInformationType ¶
type BluetoothL2CAPInformationType int64
const ( KBluetoothL2CAPInformationTypeConnectionlessMTU BluetoothL2CAPInformationType = 1 KBluetoothL2CAPInformationTypeExtendedFeatures BluetoothL2CAPInformationType = 2 KBluetoothL2CAPInformationTypeFixedChannelsSupported BluetoothL2CAPInformationType = 3 )
func (BluetoothL2CAPInformationType) String ¶
func (e BluetoothL2CAPInformationType) String() string
type BluetoothL2CAPQoSType ¶
type BluetoothL2CAPQoSType int64
const ( KBluetoothL2CAPQoSTypeNoTraffic BluetoothL2CAPQoSType = 0 KBluetoothL2CAPQoSTypeBestEffort BluetoothL2CAPQoSType = 1 KBluetoothL2CAPQoSTypeGuaranteed BluetoothL2CAPQoSType = 2 )
func (BluetoothL2CAPQoSType) String ¶
func (e BluetoothL2CAPQoSType) String() string
type BluetoothL2CAPSegmentationAndReassembly ¶
type BluetoothL2CAPSegmentationAndReassembly int64
const ( KBluetoothL2CAPSegmentationAndReassemblyUnsegmentedSDU BluetoothL2CAPSegmentationAndReassembly = 0 KBluetoothL2CAPSegmentationAndReassemblyStartOfSDU BluetoothL2CAPSegmentationAndReassembly = 1 KBluetoothL2CAPSegmentationAndReassemblyEndOfSDU BluetoothL2CAPSegmentationAndReassembly = 2 KBluetoothL2CAPSegmentationAndReassemblyContinuationOfSDU BluetoothL2CAPSegmentationAndReassembly = 3 )
func (BluetoothL2CAPSegmentationAndReassembly) String ¶
func (e BluetoothL2CAPSegmentationAndReassembly) String() string
type BluetoothL2CAPSupervisoryFuctionType ¶
type BluetoothL2CAPSupervisoryFuctionType int64
const ( KBluetoothL2CAPSupervisoryFuctionTypeReceiverReady BluetoothL2CAPSupervisoryFuctionType = 0 KBluetoothL2CAPSupervisoryFuctionTypeReject BluetoothL2CAPSupervisoryFuctionType = 1 KBluetoothL2CAPSupervisoryFuctionTypeReceiverNotReady BluetoothL2CAPSupervisoryFuctionType = 2 KBluetoothL2CAPSupervisoryFuctionTypeSelectiveReject BluetoothL2CAPSupervisoryFuctionType = 3 )
func (BluetoothL2CAPSupervisoryFuctionType) String ¶
func (e BluetoothL2CAPSupervisoryFuctionType) String() string
type BluetoothLEAddressType ¶
type BluetoothLEAddressType int64
const ( BluetoothLEAddressTypePublic BluetoothLEAddressType = 0 BluetoothLEAddressTypeRandom BluetoothLEAddressType = 1 )
func (BluetoothLEAddressType) String ¶
func (e BluetoothLEAddressType) String() string
type BluetoothLEAdvertisingType ¶
type BluetoothLEAdvertisingType int64
const ( BluetoothLEAdvertisingTypeConnectableUndirected BluetoothLEAdvertisingType = 0 BluetoothLEAdvertisingTypeConnectableDirected BluetoothLEAdvertisingType = 1 BluetoothLEAdvertisingTypeDiscoverableUndirected BluetoothLEAdvertisingType = 2 BluetoothLEAdvertisingTypeNonConnectableUndirected BluetoothLEAdvertisingType = 3 BluetoothLEAdvertisingTypeScanResponse BluetoothLEAdvertisingType = 4 )
func (BluetoothLEAdvertisingType) String ¶
func (e BluetoothLEAdvertisingType) String() string
type BluetoothLEConnectionInterval ¶
type BluetoothLEConnectionInterval int64
const ( BluetoothLEConnectionIntervalMin BluetoothLEConnectionInterval = 6 BluetoothLEConnectionIntervalMax BluetoothLEConnectionInterval = 3200 )
func (BluetoothLEConnectionInterval) String ¶
func (e BluetoothLEConnectionInterval) String() string
type BluetoothLEFeatureBits ¶
type BluetoothLEFeatureBits int64
const ( KBluetoothLEFeatureLEEncryption BluetoothLEFeatureBits = 1 KBluetoothLEFeatureConnectionParamsRequestProcedure BluetoothLEFeatureBits = 2 KBluetoothLEFeatureExtendedRejectIndication BluetoothLEFeatureBits = 4 KBluetoothLEFeaturePeripheralInitiatedFeaturesExchange BluetoothLEFeatureBits = 8 KBluetoothLEFeatureLEPing BluetoothLEFeatureBits = 16 KBluetoothLEFeatureLEDataPacketLengthExtension BluetoothLEFeatureBits = 32 KBluetoothLEFeatureLLPrivacy BluetoothLEFeatureBits = 64 KBluetoothLEFeatureExtendedScannerFilterPolicies BluetoothLEFeatureBits = 128 KBluetoothLEFeatureSlaveInitiatedFeaturesExchange BluetoothLEFeatureBits = 8 )
func (BluetoothLEFeatureBits) String ¶
func (e BluetoothLEFeatureBits) String() string
type BluetoothLEScan ¶
type BluetoothLEScan int64
const ( BluetoothLEScanDisable BluetoothLEScan = 0 BluetoothLEScanEnable BluetoothLEScan = 1 )
func (BluetoothLEScan) String ¶
func (e BluetoothLEScan) String() string
type BluetoothLEScanDuplicateFilter ¶
type BluetoothLEScanDuplicateFilter int64
const ( BluetoothLEScanDuplicateFilterDisable BluetoothLEScanDuplicateFilter = 0 BluetoothLEScanDuplicateFilterEnable BluetoothLEScanDuplicateFilter = 1 )
func (BluetoothLEScanDuplicateFilter) String ¶
func (e BluetoothLEScanDuplicateFilter) String() string
type BluetoothLEScanFilter ¶
type BluetoothLEScanFilter int64
const ( BluetoothLEScanFilterNone BluetoothLEScanFilter = 0 BluetoothLEScanFilterSafelist BluetoothLEScanFilter = 1 BluetoothLEScanFilterWhitelist BluetoothLEScanFilter = 1 )
func (BluetoothLEScanFilter) String ¶
func (e BluetoothLEScanFilter) String() string
type BluetoothLEScanType ¶
type BluetoothLEScanType int64
const ( BluetoothLEScanTypePassive BluetoothLEScanType = 0 BluetoothLEScanTypeActive BluetoothLEScanType = 1 )
func (BluetoothLEScanType) String ¶
func (e BluetoothLEScanType) String() string
type BluetoothLESecurityManagerCommandCode ¶
type BluetoothLESecurityManagerCommandCode int64
const ( KBluetoothLESecurityManagerCommandCodeReserved BluetoothLESecurityManagerCommandCode = 0 KBluetoothLESecurityManagerCommandCodePairingRequest BluetoothLESecurityManagerCommandCode = 1 KBluetoothLESecurityManagerCommandCodePairingResponse BluetoothLESecurityManagerCommandCode = 2 KBluetoothLESecurityManagerCommandCodePairingConfirm BluetoothLESecurityManagerCommandCode = 3 KBluetoothLESecurityManagerCommandCodePairingRandom BluetoothLESecurityManagerCommandCode = 4 KBluetoothLESecurityManagerCommandCodePairingFailed BluetoothLESecurityManagerCommandCode = 5 KBluetoothLESecurityManagerCommandCodeEncryptionInfo BluetoothLESecurityManagerCommandCode = 6 KBluetoothLESecurityManagerCommandCodeMasterIdentification BluetoothLESecurityManagerCommandCode = 7 KBluetoothLESecurityManagerCommandCodeIdentityInfo BluetoothLESecurityManagerCommandCode = 8 KBluetoothLESecurityManagerCommandCodeIdentityAddressInfo BluetoothLESecurityManagerCommandCode = 9 KBluetoothLESecurityManagerCommandCodeSigningInfo BluetoothLESecurityManagerCommandCode = 10 KBluetoothLESecurityManagerCommandCodeSecurityRequest BluetoothLESecurityManagerCommandCode = 11 KBluetoothLESecurityManagerCommandCodePairingPublicKey BluetoothLESecurityManagerCommandCode = 12 KBluetoothLESecurityManagerCommandCodePairingDHKeyCheck BluetoothLESecurityManagerCommandCode = 13 KBluetoothLESecurityManagerCommandCodePairingKeypressNotification BluetoothLESecurityManagerCommandCode = 14 KBluetoothLESecurityManagerCommandCodeReservedStart BluetoothLESecurityManagerCommandCode = 15 KBluetoothLESecurityManagerCommandCodeReservedEnd BluetoothLESecurityManagerCommandCode = 255 )
func (BluetoothLESecurityManagerCommandCode) String ¶
func (e BluetoothLESecurityManagerCommandCode) String() string
type BluetoothLESecurityManagerIOCapability ¶
type BluetoothLESecurityManagerIOCapability int64
const ( KBluetoothLESecurityManagerIOCapabilityDisplayOnly BluetoothLESecurityManagerIOCapability = 0 KBluetoothLESecurityManagerIOCapabilityDisplayYesNo BluetoothLESecurityManagerIOCapability = 1 KBluetoothLESecurityManagerIOCapabilityKeyboardOnly BluetoothLESecurityManagerIOCapability = 2 KBluetoothLESecurityManagerIOCapabilityNoInputNoOutput BluetoothLESecurityManagerIOCapability = 3 KBluetoothLESecurityManagerIOCapabilityKeyboardDisplay BluetoothLESecurityManagerIOCapability = 4 KBluetoothLESecurityManagerIOCapabilityReservedStart BluetoothLESecurityManagerIOCapability = 5 KBluetoothLESecurityManagerIOCapabilityReservedEnd BluetoothLESecurityManagerIOCapability = 255 )
func (BluetoothLESecurityManagerIOCapability) String ¶
func (e BluetoothLESecurityManagerIOCapability) String() string
type BluetoothLESecurityManagerKeyDistributionFormat ¶
type BluetoothLESecurityManagerKeyDistributionFormat int64
const ( KBluetoothLESecurityManagerEncryptionKey BluetoothLESecurityManagerKeyDistributionFormat = 1 KBluetoothLESecurityManagerIDKey BluetoothLESecurityManagerKeyDistributionFormat = 2 KBluetoothLESecurityManagerSignKey BluetoothLESecurityManagerKeyDistributionFormat = 4 KBluetoothLESecurityManagerLinkKey BluetoothLESecurityManagerKeyDistributionFormat = 8 )
func (BluetoothLESecurityManagerKeyDistributionFormat) String ¶
func (e BluetoothLESecurityManagerKeyDistributionFormat) String() string
type BluetoothLESecurityManagerKeypressNotificationType ¶
type BluetoothLESecurityManagerKeypressNotificationType int64
const ( KBluetoothLESecurityManagerNotificationTypePasskeyEntryStarted BluetoothLESecurityManagerKeypressNotificationType = 0 KBluetoothLESecurityManagerNotificationTypePasskeyDigitEntered BluetoothLESecurityManagerKeypressNotificationType = 1 KBluetoothLESecurityManagerNotificationTypePasskeyDigitErased BluetoothLESecurityManagerKeypressNotificationType = 2 KBluetoothLESecurityManagerNotificationTypePasskeyCleared BluetoothLESecurityManagerKeypressNotificationType = 3 KBluetoothLESecurityManagerNotificationTypePasskeyEntryCompleted BluetoothLESecurityManagerKeypressNotificationType = 4 KBluetoothLESecurityManagerNotificationTypeReservedStart BluetoothLESecurityManagerKeypressNotificationType = 5 KBluetoothLESecurityManagerNotificationTypeReservedEnd BluetoothLESecurityManagerKeypressNotificationType = 255 )
func (BluetoothLESecurityManagerKeypressNotificationType) String ¶
func (e BluetoothLESecurityManagerKeypressNotificationType) String() string
type BluetoothLESecurityManagerOOBData ¶
type BluetoothLESecurityManagerOOBData int64
const ( KBluetoothLESecurityManagerOOBAuthenticationDataNotPresent BluetoothLESecurityManagerOOBData = 0 KBluetoothLESecurityManagerOOBAuthenticationDataPresent BluetoothLESecurityManagerOOBData = 1 KBluetoothLESecurityManagerOOBDataReservedStart BluetoothLESecurityManagerOOBData = 2 KBluetoothLESecurityManagerOOBDataReservedEnd BluetoothLESecurityManagerOOBData = 255 )
func (BluetoothLESecurityManagerOOBData) String ¶
func (e BluetoothLESecurityManagerOOBData) String() string
type BluetoothLESecurityManagerPairingFailedReasonCode ¶
type BluetoothLESecurityManagerPairingFailedReasonCode int64
const ( KBluetoothLESecurityManagerReasonCodeReserved BluetoothLESecurityManagerPairingFailedReasonCode = 0 KBluetoothLESecurityManagerReasonCodePasskeyEntryFailed BluetoothLESecurityManagerPairingFailedReasonCode = 1 KBluetoothLESecurityManagerReasonCodeOOBNotAvailbale BluetoothLESecurityManagerPairingFailedReasonCode = 2 KBluetoothLESecurityManagerReasonCodeAuthenticationRequirements BluetoothLESecurityManagerPairingFailedReasonCode = 3 KBluetoothLESecurityManagerReasonCodeConfirmValueFailed BluetoothLESecurityManagerPairingFailedReasonCode = 4 KBluetoothLESecurityManagerReasonCodePairingNotSupported BluetoothLESecurityManagerPairingFailedReasonCode = 5 KBluetoothLESecurityManagerReasonCodeEncryptionKeySize BluetoothLESecurityManagerPairingFailedReasonCode = 6 KBluetoothLESecurityManagerReasonCodeCommandNotSupported BluetoothLESecurityManagerPairingFailedReasonCode = 7 KBluetoothLESecurityManagerReasonCodeUnspecifiedReason BluetoothLESecurityManagerPairingFailedReasonCode = 8 KBluetoothLESecurityManagerReasonCodeRepeatedAttempts BluetoothLESecurityManagerPairingFailedReasonCode = 9 KBluetoothLESecurityManagerReasonCodeInvalidParameters BluetoothLESecurityManagerPairingFailedReasonCode = 10 KBluetoothLESecurityManagerReasonCodeDHKeyCheckFailed BluetoothLESecurityManagerPairingFailedReasonCode = 11 KBluetoothLESecurityManagerReasonCodeNumericComparisonFailed BluetoothLESecurityManagerPairingFailedReasonCode = 12 KBluetoothLESecurityManagerReasonCodeBREDRPairingInProgress BluetoothLESecurityManagerPairingFailedReasonCode = 13 KBluetoothLESecurityManagerReasonCodeCrossTransportKeyDerivationGenerationNotAllowed BluetoothLESecurityManagerPairingFailedReasonCode = 14 KBluetoothLESecurityManagerReasonCodeReservedStart BluetoothLESecurityManagerPairingFailedReasonCode = 15 KBluetoothLESecurityManagerReasonCodeReservedEnd BluetoothLESecurityManagerPairingFailedReasonCode = 255 )
func (BluetoothLESecurityManagerPairingFailedReasonCode) String ¶
func (e BluetoothLESecurityManagerPairingFailedReasonCode) String() string
type BluetoothLESecurityManagerUserInputCapability ¶
type BluetoothLESecurityManagerUserInputCapability int64
const ( KBluetoothLESecurityManagerUserInputCapabilityNoInput BluetoothLESecurityManagerUserInputCapability = 1 KBluetoothLESecurityManagerUserInputCapabilityYesNo BluetoothLESecurityManagerUserInputCapability = 2 KBluetoothLESecurityManagerUserInputCapabilityKeyboard BluetoothLESecurityManagerUserInputCapability = 3 )
func (BluetoothLESecurityManagerUserInputCapability) String ¶
func (e BluetoothLESecurityManagerUserInputCapability) String() string
type BluetoothLESecurityManagerUserOutputCapability ¶
type BluetoothLESecurityManagerUserOutputCapability int64
const ( KBluetoothLESecurityManagerUserOutputCapabilityNoOutput BluetoothLESecurityManagerUserOutputCapability = 1 KBluetoothLESecurityManagerUserOutputCapabilityNumericOutput BluetoothLESecurityManagerUserOutputCapability = 2 )
func (BluetoothLESecurityManagerUserOutputCapability) String ¶
func (e BluetoothLESecurityManagerUserOutputCapability) String() string
type BluetoothLMPVersions ¶
type BluetoothLMPVersions int64
const ( KBluetoothLMPVersionCoreSpecification1_0b BluetoothLMPVersions = 0 KBluetoothLMPVersionCoreSpecification1_1 BluetoothLMPVersions = 1 KBluetoothLMPVersionCoreSpecification1_2 BluetoothLMPVersions = 2 KBluetoothLMPVersionCoreSpecification2_0EDR BluetoothLMPVersions = 3 KBluetoothLMPVersionCoreSpecification2_1EDR BluetoothLMPVersions = 4 KBluetoothLMPVersionCoreSpecification3_0HS BluetoothLMPVersions = 5 KBluetoothLMPVersionCoreSpecification4_0 BluetoothLMPVersions = 6 KBluetoothLMPVersionCoreSpecification4_1 BluetoothLMPVersions = 7 KBluetoothLMPVersionCoreSpecification4_2 BluetoothLMPVersions = 8 KBluetoothLMPVersionCoreSpecification5_0 BluetoothLMPVersions = 9 KBluetoothLMPVersionCoreSpecification5_1 BluetoothLMPVersions = 10 KBluetoothLMPVersionCoreSpecification5_2 BluetoothLMPVersions = 11 )
func (BluetoothLMPVersions) String ¶
func (e BluetoothLMPVersions) String() string
type BluetoothLinkTypes ¶
type BluetoothLinkTypes int64
const ( KBluetoothSCOConnection BluetoothLinkTypes = 0 KBluetoothACLConnection BluetoothLinkTypes = 1 KBluetoothESCOConnection BluetoothLinkTypes = 2 KBluetoothLinkTypeNone BluetoothLinkTypes = 255 )
func (BluetoothLinkTypes) String ¶
func (e BluetoothLinkTypes) String() string
type BluetoothOOBDataPresenceValues ¶
type BluetoothOOBDataPresenceValues int64
const ( KBluetoothOOBAuthenticationDataNotPresent BluetoothOOBDataPresenceValues = 0 KBluetoothOOBAuthenticationDataFromRemoteDevicePresent BluetoothOOBDataPresenceValues = 1 )
func (BluetoothOOBDataPresenceValues) String ¶
func (e BluetoothOOBDataPresenceValues) String() string
type BluetoothPINCode ¶
type BluetoothPINCode struct {
Data [16]uint8
}
type BluetoothRFCOMMLineStatus ¶
type BluetoothRFCOMMLineStatus int64
const ( BluetoothRFCOMMLineStatusNoError BluetoothRFCOMMLineStatus = 0 BluetoothRFCOMMLineStatusOverrunError BluetoothRFCOMMLineStatus = 1 BluetoothRFCOMMLineStatusParityError BluetoothRFCOMMLineStatus = 2 BluetoothRFCOMMLineStatusFramingError BluetoothRFCOMMLineStatus = 3 )
func (BluetoothRFCOMMLineStatus) String ¶
func (e BluetoothRFCOMMLineStatus) String() string
type BluetoothRFCOMMParityType ¶
type BluetoothRFCOMMParityType int64
const ( KBluetoothRFCOMMParityTypeNoParity BluetoothRFCOMMParityType = 0 KBluetoothRFCOMMParityTypeOddParity BluetoothRFCOMMParityType = 1 KBluetoothRFCOMMParityTypeEvenParity BluetoothRFCOMMParityType = 2 KBluetoothRFCOMMParityTypeMaxParity BluetoothRFCOMMParityType = 3 )
func (BluetoothRFCOMMParityType) String ¶
func (e BluetoothRFCOMMParityType) String() string
type BluetoothReadClockInfo ¶
type BluetoothRemoteHostSupportedFeaturesNotification ¶
type BluetoothRemoteHostSupportedFeaturesNotification struct {
DeviceAddress BluetoothDeviceAddress
HostSupportedFeatures BluetoothHCISupportedFeatures
}
type BluetoothSetEventMask ¶
type BluetoothSetEventMask struct {
Data [8]uint8
}
type BluetoothSimplePairingDebugModes ¶
type BluetoothSimplePairingDebugModes int64
const ( KBluetoothHCISimplePairingDebugModeDisabled BluetoothSimplePairingDebugModes = 0 KBluetoothHCISimplePairingDebugModeEnabled BluetoothSimplePairingDebugModes = 1 )
func (BluetoothSimplePairingDebugModes) String ¶
func (e BluetoothSimplePairingDebugModes) String() string
type BluetoothTransportInfo ¶
type BluetoothTransportTypes ¶
type BluetoothTransportTypes int64
const ( KBluetoothTransportTypeUSB BluetoothTransportTypes = 1 KBluetoothTransportTypePCCard BluetoothTransportTypes = 2 KBluetoothTransportTypePCICard BluetoothTransportTypes = 3 KBluetoothTransportTypeUART BluetoothTransportTypes = 4 KBluetoothTransportTypePCIe BluetoothTransportTypes = 5 )
func (BluetoothTransportTypes) String ¶
func (e BluetoothTransportTypes) String() string
type BluetoothUserConfirmationRequest ¶
type BluetoothUserConfirmationRequest struct {
DeviceAddress BluetoothDeviceAddress
NumericValue uint32
}
type BluetoothUserPasskeyNotification ¶
type BluetoothUserPasskeyNotification struct {
DeviceAddress BluetoothDeviceAddress
Passkey uint32
}
type CBCentralManagerDelegate ¶
type CBCentralManagerDelegate interface {
}
CBCentralManagerDelegate wraps the ObjC protocol CBCentralManagerDelegate.
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type FTSFileType ¶
type FTSFileType int64
@enum FTSFileType @discussion The type values associated with the kFTSListingTypeKey dictionary value @constant kFTSFileTypeFolder Folder @constant kFTSFileTypeFile File
const ( KFTSFileTypeFolder FTSFileType = 1 KFTSFileTypeFile FTSFileType = 2 )
func (FTSFileType) String ¶
func (e FTSFileType) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type IOBluetoothDevice ¶
type IOBluetoothDevice struct {
IOBluetoothObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothdevice
func IOBluetoothDeviceDeviceWithAddress ¶
func IOBluetoothDeviceDeviceWithAddress(address *BluetoothDeviceAddress) *IOBluetoothDevice
func IOBluetoothDeviceDeviceWithAddressString ¶
func IOBluetoothDeviceDeviceWithAddressString(address *foundation.NSString) *IOBluetoothDevice
func IOBluetoothDeviceFromID ¶
func IOBluetoothDeviceFromID(id objc.ID) *IOBluetoothDevice
func IOBluetoothDeviceWithAddress ¶
func IOBluetoothDeviceWithAddress(address *BluetoothDeviceAddress) *IOBluetoothDevice
func IOBluetoothDeviceWithDeviceRef ¶
func IOBluetoothDeviceWithDeviceRef(deviceRef unsafe.Pointer) *IOBluetoothDevice
func (*IOBluetoothDevice) AddToFavorites ¶
func (o *IOBluetoothDevice) AddToFavorites() int
func (*IOBluetoothDevice) AddressString ¶
func (o *IOBluetoothDevice) AddressString() *foundation.NSString
func (*IOBluetoothDevice) ClassOfDevice ¶
func (o *IOBluetoothDevice) ClassOfDevice() uint32
func (*IOBluetoothDevice) CloseConnection ¶
func (o *IOBluetoothDevice) CloseConnection() int
func (*IOBluetoothDevice) ConnectionHandle ¶
func (o *IOBluetoothDevice) ConnectionHandle() uint16
func (*IOBluetoothDevice) DeviceClassMajor ¶
func (o *IOBluetoothDevice) DeviceClassMajor() uint32
func (*IOBluetoothDevice) DeviceClassMinor ¶
func (o *IOBluetoothDevice) DeviceClassMinor() uint32
func (*IOBluetoothDevice) GetAddress ¶
func (o *IOBluetoothDevice) GetAddress() *BluetoothDeviceAddress
func (*IOBluetoothDevice) GetAddressString ¶
func (o *IOBluetoothDevice) GetAddressString() *foundation.NSString
func (*IOBluetoothDevice) GetClassOfDevice ¶
func (o *IOBluetoothDevice) GetClassOfDevice() uint32
func (*IOBluetoothDevice) GetClockOffset ¶
func (o *IOBluetoothDevice) GetClockOffset() uint16
func (*IOBluetoothDevice) GetConnectionHandle ¶
func (o *IOBluetoothDevice) GetConnectionHandle() uint16
func (*IOBluetoothDevice) GetDeviceClassMajor ¶
func (o *IOBluetoothDevice) GetDeviceClassMajor() uint32
func (*IOBluetoothDevice) GetDeviceClassMinor ¶
func (o *IOBluetoothDevice) GetDeviceClassMinor() uint32
func (*IOBluetoothDevice) GetDeviceRef ¶
func (o *IOBluetoothDevice) GetDeviceRef() unsafe.Pointer
func (*IOBluetoothDevice) GetEncryptionMode ¶
func (o *IOBluetoothDevice) GetEncryptionMode() uint8
func (*IOBluetoothDevice) GetLastInquiryUpdate ¶
func (o *IOBluetoothDevice) GetLastInquiryUpdate() *foundation.NSDate
func (*IOBluetoothDevice) GetLastNameUpdate ¶
func (o *IOBluetoothDevice) GetLastNameUpdate() *foundation.NSDate
func (*IOBluetoothDevice) GetLastServicesUpdate ¶
func (o *IOBluetoothDevice) GetLastServicesUpdate() *foundation.NSDate
func (*IOBluetoothDevice) GetLinkType ¶
func (o *IOBluetoothDevice) GetLinkType() uint8
func (*IOBluetoothDevice) GetName ¶
func (o *IOBluetoothDevice) GetName() *foundation.NSString
func (*IOBluetoothDevice) GetNameOrAddress ¶
func (o *IOBluetoothDevice) GetNameOrAddress() *foundation.NSString
func (*IOBluetoothDevice) GetPageScanMode ¶
func (o *IOBluetoothDevice) GetPageScanMode() uint8
func (*IOBluetoothDevice) GetPageScanPeriodMode ¶
func (o *IOBluetoothDevice) GetPageScanPeriodMode() uint8
func (*IOBluetoothDevice) GetPageScanRepetitionMode ¶
func (o *IOBluetoothDevice) GetPageScanRepetitionMode() uint8
func (*IOBluetoothDevice) GetServiceClassMajor ¶
func (o *IOBluetoothDevice) GetServiceClassMajor() uint32
func (*IOBluetoothDevice) GetServiceRecordForUUID ¶
func (o *IOBluetoothDevice) GetServiceRecordForUUID(sdpUUID *IOBluetoothSDPUUID) *IOBluetoothSDPServiceRecord
func (*IOBluetoothDevice) GetServices ¶
func (o *IOBluetoothDevice) GetServices() *foundation.NSArray[objc.ID]
func (*IOBluetoothDevice) HandsFreeAudioGatewayDriverID ¶
func (o *IOBluetoothDevice) HandsFreeAudioGatewayDriverID() *foundation.NSString
@method handsFreeAudioGatewayDriverID @abstract Return the hands free gateway driver ID @discussion Returns the hands free gateway driver ID which is unique based on BT Address. @result The hands free gateway driver ID Deprecated: since macOS 10.8.
func (*IOBluetoothDevice) HandsFreeAudioGatewayServiceRecord ¶
func (o *IOBluetoothDevice) HandsFreeAudioGatewayServiceRecord() *IOBluetoothSDPServiceRecord
@method handsFreeAudioGatewayServiceRecord @abstract Return the hands free gateway SDP record @discussion Returns the hands free gateway SDP record. @result The hands free gateway SDP record
func (*IOBluetoothDevice) HandsFreeDeviceDriverID ¶
func (o *IOBluetoothDevice) HandsFreeDeviceDriverID() *foundation.NSString
@method handsFreeDeviceDriverID @abstract Return the hands free device driver ID @discussion Returns the hands free device driver ID which is unique based on BT Address. @result The hands free device driver ID Deprecated: since macOS 10.8.
func (*IOBluetoothDevice) HandsFreeDeviceServiceRecord ¶
func (o *IOBluetoothDevice) HandsFreeDeviceServiceRecord() *IOBluetoothSDPServiceRecord
@method handsFreeDeviceServiceRecord @abstract Return the hands free device SDP record @discussion Returns the hands free device SDP record. @result The hands free device SDP record
func (*IOBluetoothDevice) IsConnected ¶
func (o *IOBluetoothDevice) IsConnected() bool
func (*IOBluetoothDevice) IsFavorite ¶
func (o *IOBluetoothDevice) IsFavorite() bool
func (*IOBluetoothDevice) IsHandsFreeAudioGateway ¶
func (o *IOBluetoothDevice) IsHandsFreeAudioGateway() bool
@method isHandsFreeAudioGateway @abstract Return the devices support for hands free gateway @discussion Returns the devices support for hands free gateway (obtained from the devices SDP record). @result YES if the device supports hands free gateway; otherwise, NO.
func (*IOBluetoothDevice) IsHandsFreeDevice ¶
func (o *IOBluetoothDevice) IsHandsFreeDevice() bool
@method isHandsFreeDevice @abstract Return the devices support for hands free device @discussion Returns the devices support for hands free device (obtained from the devices SDP record). @result YES if the device supports hands free device; otherwise, NO.
func (*IOBluetoothDevice) IsIncoming ¶
func (o *IOBluetoothDevice) IsIncoming() bool
func (*IOBluetoothDevice) IsPaired ¶
func (o *IOBluetoothDevice) IsPaired() bool
func (*IOBluetoothDevice) LastNameUpdate ¶
func (o *IOBluetoothDevice) LastNameUpdate() *foundation.NSDate
func (*IOBluetoothDevice) Name ¶
func (o *IOBluetoothDevice) Name() *foundation.NSString
func (*IOBluetoothDevice) NameOrAddress ¶
func (o *IOBluetoothDevice) NameOrAddress() *foundation.NSString
func (*IOBluetoothDevice) OpenConnection ¶
func (o *IOBluetoothDevice) OpenConnection() int
func (*IOBluetoothDevice) OpenConnection2 ¶
func (o *IOBluetoothDevice) OpenConnection2(target objc.ID) int
func (*IOBluetoothDevice) OpenConnectionWithPageTimeoutAuthenticationRequired ¶
func (o *IOBluetoothDevice) OpenConnectionWithPageTimeoutAuthenticationRequired(target objc.ID, pageTimeoutValue uint16, authenticationRequired bool) int
@property openConnection:withPageTimeout:authenticationRequired: @abstract Create a baseband connection to the device. @discussion If a target is specified, the open connection call is asynchronous and on completion of the CREATE_CONNECTION command, the method -connectionComplete:status: will be called on the specified target. If no target is specified, the call is synchronous and will not return until the connection is open or the CREATE_CONNECTION call has failed. NOTE: This method is only available in Mac OS X 10.2.7 (Bluetooth v1.3) or later. As of Mac OS X 10.7, this method will no longer mask out "Connection Exists" 'errors' with a success result code; your code must account for the cases where the baseband connection is already open. @param target The target to message when the create connection call is complete @param pageTimeoutValue The page timeout value to use for this call @param authenticationRequired BOOL value to indicate whether authentication should be required for the connection @result Returns kIOReturnSuccess if the connection was successfully created (or if asynchronous, if the CREATE_CONNECTION command was successfully issued).
func (*IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMDelegate ¶
func (o *IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelDelegate objc.ID) int
func (*IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMWithConfigurationDelegate ¶
func (o *IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMWithConfigurationDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelConfiguration *foundation.NSDictionary[objc.ID, objc.ID], channelDelegate objc.ID) int
func (*IOBluetoothDevice) OpenL2CAPChannelFindExistingNewChannel ¶
func (o *IOBluetoothDevice) OpenL2CAPChannelFindExistingNewChannel(psm uint16, findExisting bool, newChannel *IOBluetoothL2CAPChannel) int
func (*IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMDelegate ¶
func (o *IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelDelegate objc.ID) int
func (*IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMWithConfigurationDelegate ¶
func (o *IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMWithConfigurationDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelConfiguration *foundation.NSDictionary[objc.ID, objc.ID], channelDelegate objc.ID) int
func (*IOBluetoothDevice) OpenRFCOMMChannelAsyncWithChannelIDDelegate ¶
func (o *IOBluetoothDevice) OpenRFCOMMChannelAsyncWithChannelIDDelegate(rfcommChannel *IOBluetoothRFCOMMChannel, channelID uint8, channelDelegate objc.ID) int
func (*IOBluetoothDevice) OpenRFCOMMChannelChannel ¶
func (o *IOBluetoothDevice) OpenRFCOMMChannelChannel(channelID uint8, rfcommChannel *IOBluetoothRFCOMMChannel) int
func (*IOBluetoothDevice) OpenRFCOMMChannelSyncWithChannelIDDelegate ¶
func (o *IOBluetoothDevice) OpenRFCOMMChannelSyncWithChannelIDDelegate(rfcommChannel *IOBluetoothRFCOMMChannel, channelID uint8, channelDelegate objc.ID) int
func (*IOBluetoothDevice) PerformSDPQuery ¶
func (o *IOBluetoothDevice) PerformSDPQuery(target objc.ID) int
func (*IOBluetoothDevice) PerformSDPQueryUuids ¶
func (o *IOBluetoothDevice) PerformSDPQueryUuids(target objc.ID, uuidArray *foundation.NSArray[objc.ID]) int
func (*IOBluetoothDevice) RSSI ¶
func (o *IOBluetoothDevice) RSSI() int8
func (*IOBluetoothDevice) RawRSSI ¶
func (o *IOBluetoothDevice) RawRSSI() int8
func (*IOBluetoothDevice) RecentAccessDate ¶
func (o *IOBluetoothDevice) RecentAccessDate() *foundation.NSDate
func (*IOBluetoothDevice) RegisterForDisconnectNotificationSelector ¶
func (o *IOBluetoothDevice) RegisterForDisconnectNotificationSelector(observer objc.ID, inSelector objc.SEL) *IOBluetoothUserNotification
func (*IOBluetoothDevice) RemoteNameRequest ¶
func (o *IOBluetoothDevice) RemoteNameRequest(target objc.ID) int
func (*IOBluetoothDevice) RemoteNameRequestWithPageTimeout ¶
func (o *IOBluetoothDevice) RemoteNameRequestWithPageTimeout(target objc.ID, pageTimeoutValue uint16) int
func (*IOBluetoothDevice) RemoveFromFavorites ¶
func (o *IOBluetoothDevice) RemoveFromFavorites() int
func (*IOBluetoothDevice) RequestAuthentication ¶
func (o *IOBluetoothDevice) RequestAuthentication() int
func (*IOBluetoothDevice) SendL2CAPEchoRequestLength ¶
func (o *IOBluetoothDevice) SendL2CAPEchoRequestLength(data unsafe.Pointer, length uint16) int
func (*IOBluetoothDevice) ServiceClassMajor ¶
func (o *IOBluetoothDevice) ServiceClassMajor() uint32
func (*IOBluetoothDevice) Services ¶
func (o *IOBluetoothDevice) Services() *foundation.NSArray[objc.ID]
func (*IOBluetoothDevice) SetSupervisionTimeout ¶
func (o *IOBluetoothDevice) SetSupervisionTimeout(timeout uint16) int
type IOBluetoothDeviceAsyncCallbacks ¶
type IOBluetoothDeviceAsyncCallbacks interface {
RemoteNameRequestCompleteStatus(device *IOBluetoothDevice, status int)
ConnectionCompleteStatus(device *IOBluetoothDevice, status int)
SdpQueryCompleteStatus(device *IOBluetoothDevice, status int)
}
IOBluetoothDeviceAsyncCallbacks wraps the ObjC protocol IOBluetoothDeviceAsyncCallbacks.
type IOBluetoothDeviceInquiry ¶
type IOBluetoothDeviceInquiry struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothdeviceinquiry
func IOBluetoothDeviceInquiryFromID ¶
func IOBluetoothDeviceInquiryFromID(id objc.ID) *IOBluetoothDeviceInquiry
func IOBluetoothDeviceInquiryInquiryWithDelegate ¶
func IOBluetoothDeviceInquiryInquiryWithDelegate(delegate objc.ID) *IOBluetoothDeviceInquiry
func (*IOBluetoothDeviceInquiry) ClearFoundDevices ¶
func (o *IOBluetoothDeviceInquiry) ClearFoundDevices()
func (*IOBluetoothDeviceInquiry) Delegate ¶
func (o *IOBluetoothDeviceInquiry) Delegate() objc.ID
func (*IOBluetoothDeviceInquiry) FoundDevices ¶
func (o *IOBluetoothDeviceInquiry) FoundDevices() *foundation.NSArray[objc.ID]
func (*IOBluetoothDeviceInquiry) InitWithDelegate ¶
func (o *IOBluetoothDeviceInquiry) InitWithDelegate(delegate objc.ID) *IOBluetoothDeviceInquiry
func (*IOBluetoothDeviceInquiry) InquiryLength ¶
func (o *IOBluetoothDeviceInquiry) InquiryLength() uint8
func (*IOBluetoothDeviceInquiry) SearchType ¶
func (o *IOBluetoothDeviceInquiry) SearchType() uint
func (*IOBluetoothDeviceInquiry) SetDelegate ¶
func (o *IOBluetoothDeviceInquiry) SetDelegate(delegate objc.ID)
func (*IOBluetoothDeviceInquiry) SetInquiryLength ¶
func (o *IOBluetoothDeviceInquiry) SetInquiryLength(inquiryLength uint8)
func (*IOBluetoothDeviceInquiry) SetSearchCriteriaMajorDeviceClassMinorDeviceClass ¶
func (o *IOBluetoothDeviceInquiry) SetSearchCriteriaMajorDeviceClassMinorDeviceClass(inServiceClassMajor uint32, inMajorDeviceClass uint32, inMinorDeviceClass uint32)
func (*IOBluetoothDeviceInquiry) SetSearchType ¶
func (o *IOBluetoothDeviceInquiry) SetSearchType(searchType uint)
func (*IOBluetoothDeviceInquiry) SetUpdateNewDeviceNames ¶
func (o *IOBluetoothDeviceInquiry) SetUpdateNewDeviceNames(updateNewDeviceNames bool)
func (*IOBluetoothDeviceInquiry) Start ¶
func (o *IOBluetoothDeviceInquiry) Start() int
func (*IOBluetoothDeviceInquiry) Stop ¶
func (o *IOBluetoothDeviceInquiry) Stop() int
func (*IOBluetoothDeviceInquiry) UpdateNewDeviceNames ¶
func (o *IOBluetoothDeviceInquiry) UpdateNewDeviceNames() bool
type IOBluetoothDeviceInquiryDelegate ¶
type IOBluetoothDeviceInquiryDelegate interface {
}
IOBluetoothDeviceInquiryDelegate wraps the ObjC protocol IOBluetoothDeviceInquiryDelegate.
type IOBluetoothDevicePair ¶
type IOBluetoothDevicePair struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothdevicepair
func IOBluetoothDevicePairFromID ¶
func IOBluetoothDevicePairFromID(id objc.ID) *IOBluetoothDevicePair
func IOBluetoothDevicePairPairWithDevice ¶
func IOBluetoothDevicePairPairWithDevice(device *IOBluetoothDevice) *IOBluetoothDevicePair
func (*IOBluetoothDevicePair) Delegate ¶
func (o *IOBluetoothDevicePair) Delegate() objc.ID
func (*IOBluetoothDevicePair) Device ¶
func (o *IOBluetoothDevicePair) Device() *IOBluetoothDevice
func (*IOBluetoothDevicePair) ReplyPINCodePINCode ¶
func (o *IOBluetoothDevicePair) ReplyPINCodePINCode(pINCodeSize uint, pINCode *BluetoothPINCode)
func (*IOBluetoothDevicePair) ReplyUserConfirmation ¶
func (o *IOBluetoothDevicePair) ReplyUserConfirmation(reply bool)
func (*IOBluetoothDevicePair) SetDelegate ¶
func (o *IOBluetoothDevicePair) SetDelegate(delegate objc.ID)
func (*IOBluetoothDevicePair) SetDevice ¶
func (o *IOBluetoothDevicePair) SetDevice(inDevice *IOBluetoothDevice)
func (*IOBluetoothDevicePair) Start ¶
func (o *IOBluetoothDevicePair) Start() int
func (*IOBluetoothDevicePair) Stop ¶
func (o *IOBluetoothDevicePair) Stop()
type IOBluetoothDevicePairDelegate ¶
type IOBluetoothDevicePairDelegate interface {
}
IOBluetoothDevicePairDelegate wraps the ObjC protocol IOBluetoothDevicePairDelegate.
type IOBluetoothDeviceSearchAttributes ¶
type IOBluetoothDeviceSearchAttributes struct {
Options uint
MaxResults uint
DeviceAttributeCount uint
AttributeList *IOBluetoothDeviceSearchDeviceAttributes
}
type IOBluetoothDeviceSearchDeviceAttributes ¶
type IOBluetoothDeviceSearchDeviceAttributes struct {
Address BluetoothDeviceAddress
Name [248]uint8
ServiceClassMajor uint32
DeviceClassMajor uint32
DeviceClassMinor uint32
}
type IOBluetoothDeviceSearchOptionsBits ¶
type IOBluetoothDeviceSearchOptionsBits int64
const ( KSearchOptionsNone IOBluetoothDeviceSearchOptionsBits = 0 KSearchOptionsAlwaysStartInquiry IOBluetoothDeviceSearchOptionsBits = 1 KSearchOptionsDiscardCachedResults IOBluetoothDeviceSearchOptionsBits = 2 )
func (IOBluetoothDeviceSearchOptionsBits) String ¶
func (e IOBluetoothDeviceSearchOptionsBits) String() string
type IOBluetoothDeviceSearchTypesBits ¶
type IOBluetoothDeviceSearchTypesBits int64
const ( KIOBluetoothDeviceSearchClassic IOBluetoothDeviceSearchTypesBits = 1 KIOBluetoothDeviceSearchLE IOBluetoothDeviceSearchTypesBits = 2 )
func (IOBluetoothDeviceSearchTypesBits) String ¶
func (e IOBluetoothDeviceSearchTypesBits) String() string
type IOBluetoothHandsFree ¶
type IOBluetoothHandsFree struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothhandsfree
func IOBluetoothHandsFreeFromID ¶
func IOBluetoothHandsFreeFromID(id objc.ID) *IOBluetoothHandsFree
func (*IOBluetoothHandsFree) Connect ¶
func (o *IOBluetoothHandsFree) Connect()
@method connect @abstract Connect to the device @discussion Connects to the device and sets up a service level connection (RFCOMM channel). Delegate methods will be called once the connection is complete or a failure occurs.
func (*IOBluetoothHandsFree) ConnectSCO ¶
func (o *IOBluetoothHandsFree) ConnectSCO()
@method connectSCO @abstract Open a SCO connection with the device @discussion Opens a SCO connection with the device. The device must already have a service level connection or this will return immediately. Delegate methods will be called once the connection is complete of a failure occurs.
func (*IOBluetoothHandsFree) Delegate ¶
func (o *IOBluetoothHandsFree) Delegate() IOBluetoothHandsFreeDelegate
@method delegate @abstract Return the delegate @discussion Returns the hands free object's delegate. @result The delegate for the hands free object or nil if it doesn't have a delegate. @method setDelegate:newDelegate @abstract Sets the hands free object’s delegate to a given object or removes an existing delegate. @discussion A IOBluetoothHandsFree delegate can optionally respond to any of the delegate methods in IOBluetoothHandsFreeDelegate and any subclasses delegates. @param newDelegate The delegate for the hands free object. Pass nil to remove an existing delegate.
func (*IOBluetoothHandsFree) Device ¶
func (o *IOBluetoothHandsFree) Device() *IOBluetoothDevice
@method device @abstract Return the IOBluetoothDevice. @discussion Returns the IOBluetoothDevice to connect with. @result The IOBluetoothDevice object
func (*IOBluetoothHandsFree) DeviceCallHoldModes ¶
func (o *IOBluetoothHandsFree) DeviceCallHoldModes() uint32
@method deviceCallHoldModes @abstract Return the device's supported call hold modes. @discussion Returns the device's supported call hold modes bitmap. The values are described in “IOBluetoothHandsFreeCallHoldModes.” @result The SMS services supported
func (*IOBluetoothHandsFree) DeviceSupportedFeatures ¶
func (o *IOBluetoothHandsFree) DeviceSupportedFeatures() uint32
@method deviceSupportedFeatures @abstract Return the device's supported features. @discussion Returns the device's supported features bitmap. The values are described in “IOBluetoothHandsFreeDeviceFeatures and IOBluetoothHandsFreeAudioGatewayFeatures.” @result The device features bitmap
func (*IOBluetoothHandsFree) DeviceSupportedSMSServices ¶
func (o *IOBluetoothHandsFree) DeviceSupportedSMSServices() uint32
@method deviceSupportedSMSServices @abstract Return the device's supported SMS services. @discussion Returns the device's supported SMS services bitmap. The values are described in “IOBluetoothHandsFreeSMSSupport.” @result The SMS services supported
func (*IOBluetoothHandsFree) Disconnect ¶
func (o *IOBluetoothHandsFree) Disconnect()
@method disconnect @abstract Disconnect from the device @discussion Disconnects from the device, closes the SCO and service level connection if they are connected. Delegate methods will be called once the disconnection is complete.
func (*IOBluetoothHandsFree) DisconnectSCO ¶
func (o *IOBluetoothHandsFree) DisconnectSCO()
@method disconnectSCO @abstract Disconnect the SCO connection with the device @discussion Disconnects the SCO connection with the device (if one exists). Delegate methods will be called once the disconnection is complete.
func (*IOBluetoothHandsFree) Indicator ¶
func (o *IOBluetoothHandsFree) Indicator(indicatorName *foundation.NSString) int
@method indicator:indicatorName @abstract Return an indicator's value @discussion Returns an indicator's value. @param indicatorName See “Hands free indicator constants," for standard indicator names.
func (*IOBluetoothHandsFree) InitWithDeviceDelegate ¶
func (o *IOBluetoothHandsFree) InitWithDeviceDelegate(device *IOBluetoothDevice, inDelegate IOBluetoothHandsFreeDelegate) *IOBluetoothHandsFree
@method initWithDevice:delegate: @abstract Create a new IOBluetoothHandsFree object @discussion This method should be called on a subclass (IOBluetoothHandsFreeDevice or IOBluetoothHandsFreeAudioGateway) to get full functionality. @param device An IOBluetoothDevice @param inDelegate An object to act as delegate that implements the IOBluetoothHandsFreeDelegate protocol. @result A newly created IOBluetoothHandsFreeAudioGateway object on success, nil on failure
func (*IOBluetoothHandsFree) InputVolume ¶
func (o *IOBluetoothHandsFree) InputVolume() float32
@method inputVolume @abstract Return the input volume @discussion Returns the input volume between 0 and 1. 0 is the same as mute. @result The input volume @method setInputVolume:newVolume @abstract Set the input volume @discussion Sets the input volume between 0 and 1. 0 is the same as mute. @param newVolume The new input volume
func (*IOBluetoothHandsFree) IsConnected ¶
func (o *IOBluetoothHandsFree) IsConnected() bool
@method isConnected @abstract Determine if there is a serivice level connection to the device @discussion Determines if there is a serivice level connection to the device. @result YES if there is a serivice level connection to the device; otherwise, NO.
func (*IOBluetoothHandsFree) IsInputMuted ¶
func (o *IOBluetoothHandsFree) IsInputMuted() bool
@method isInputMuted @abstract Return the input mute state. @discussion Returns the inputs mute state. @result YES if muted; otherwise NO. @method setInputMuted:muted @abstract Set the input mute state. @discussion Sets the inputs mute state. @param muted YES if muted; otherwise NO.
func (*IOBluetoothHandsFree) IsOutputMuted ¶
func (o *IOBluetoothHandsFree) IsOutputMuted() bool
@method isOutputMuted @abstract Return the output mute state. @discussion Returns the outputs mute state. @result YES if muted; otherwise NO. @method setOutputMuted:muted @abstract Set the output mute state. @discussion Sets the outputs mute state. @param muted YES if muted; otherwise NO.
func (*IOBluetoothHandsFree) IsSCOConnected ¶
func (o *IOBluetoothHandsFree) IsSCOConnected() bool
@method isSCOConnected @abstract Determine if there is a SCO connection to the device @discussion Determines if there is a SCO connection to the device. @result YES if there is a SCO connection to the device; otherwise, NO.
func (*IOBluetoothHandsFree) IsSMSEnabled ¶
func (o *IOBluetoothHandsFree) IsSMSEnabled() bool
@method isSMSEnabled @abstract Return YES if the device has SMS enabled. @discussion Returns YES if the device has SMS enabled (by responding to a CMGF command). NO if the device has not set an SMS mode or doesn't support SMS. @result YES if the device has SMSEnabled; otherwise, NO.
func (*IOBluetoothHandsFree) OutputVolume ¶
func (o *IOBluetoothHandsFree) OutputVolume() float32
@method outputVolume @abstract Return the output volume @discussion Returns the output volume between 0 and 1. 0 is the same as mute. @result The output volume @method setOutputVolume:newVolume @abstract Set the output volume @discussion Sets the output volume between 0 and 1. 0 is the same as mute. @param newVolume The new output volume
func (*IOBluetoothHandsFree) SMSMode ¶
func (o *IOBluetoothHandsFree) SMSMode() IOBluetoothSMSMode
@method SMSMode @abstract Return the device's SMS mode. @discussion Returns the device's SMS mode. The values are described in “IOBluetoothSMSMode.” @result The SMS mode
func (*IOBluetoothHandsFree) SetDelegate ¶
func (o *IOBluetoothHandsFree) SetDelegate(delegate IOBluetoothHandsFreeDelegate)
func (*IOBluetoothHandsFree) SetIndicatorValue ¶
func (o *IOBluetoothHandsFree) SetIndicatorValue(indicatorName *foundation.NSString, indicatorValue int)
@method setIndicator:indicatorName:indicatorValue @abstract Set an indicator's value @discussion Sets an indicator's value. @param indicatorName See “Hands free indicator constants," for standard indicator names. @param indicatorValue Will set the indicator value as long as it is within the min and max values allowed.
func (*IOBluetoothHandsFree) SetInputMuted ¶
func (o *IOBluetoothHandsFree) SetInputMuted(inputMuted bool)
func (*IOBluetoothHandsFree) SetInputVolume ¶
func (o *IOBluetoothHandsFree) SetInputVolume(inputVolume float32)
func (*IOBluetoothHandsFree) SetOutputMuted ¶
func (o *IOBluetoothHandsFree) SetOutputMuted(outputMuted bool)
func (*IOBluetoothHandsFree) SetOutputVolume ¶
func (o *IOBluetoothHandsFree) SetOutputVolume(outputVolume float32)
func (*IOBluetoothHandsFree) SetSupportedFeatures ¶
func (o *IOBluetoothHandsFree) SetSupportedFeatures(supportedFeatures uint32)
func (*IOBluetoothHandsFree) SupportedFeatures ¶
func (o *IOBluetoothHandsFree) SupportedFeatures() uint32
@method supportedFeatures @abstract Return supported features @discussion Returns the supported features bitmap. The values are described in “IOBluetoothHandsFreeDeviceFeatures and IOBluetoothHandsFreeAudioGatewayFeatures.” @result The supported features bitmap @method setSupportedFeatures:featuresBitmap @abstract Set the supported features @discussion Sets the supported features bitmap. The values are described in “IOBluetoothHandsFreeDeviceFeatures and IOBluetoothHandsFreeAudioGatewayFeatures.” @param featuresBitmap The features bitmap
type IOBluetoothHandsFreeAudioGateway ¶
type IOBluetoothHandsFreeAudioGateway struct {
IOBluetoothHandsFree
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothhandsfreeaudiogateway
func IOBluetoothHandsFreeAudioGatewayFromID ¶
func IOBluetoothHandsFreeAudioGatewayFromID(id objc.ID) *IOBluetoothHandsFreeAudioGateway
func (*IOBluetoothHandsFreeAudioGateway) CreateIndicatorMinMaxCurrentValue ¶
func (o *IOBluetoothHandsFreeAudioGateway) CreateIndicatorMinMaxCurrentValue(indicatorName *foundation.NSString, minValue int, maxValue int, currentValue int)
@method createIndicator:indicatorName:min:max:currentValue @abstract Create an indicator @discussion Creates an indicator with min and max values and sets the current value. The current value must be valid. @param indicatorName See �Hands free indicator constants," for standard indicator names. @param minValue Minimum value allowed for the indicator @param maxValue Maximum value allowed for the indicator @param currentValue The current indicator value. Must be within the min and max values passed in or the indicator will not be created.
func (*IOBluetoothHandsFreeAudioGateway) InitWithDeviceDelegate ¶
func (o *IOBluetoothHandsFreeAudioGateway) InitWithDeviceDelegate(device *IOBluetoothDevice, inDelegate objc.ID) *IOBluetoothHandsFreeAudioGateway
@method initWithDevice:delegate: @abstract Create a new IOBluetoothHandsFreeAudioGateway to act as a hands free gateway @discussion This will register a listener for incoming connections. @param device An IOBluetoothDevice @param inDelegate An object to act as delegate @result A newly created IOBluetoothHandsFreeAudioGateway object on success, nil on failure
func (*IOBluetoothHandsFreeAudioGateway) ProcessATCommand ¶
func (o *IOBluetoothHandsFreeAudioGateway) ProcessATCommand(atCommand *foundation.NSString)
@method processATCommand:atCommand @abstract Handles AT commands sent from the hands free device @discussion Implement this in a subclass if you wish to respond to additional AT commands or to change the default response. @param atCommand The at command from the hands free device
func (*IOBluetoothHandsFreeAudioGateway) SendOKResponse ¶
func (o *IOBluetoothHandsFreeAudioGateway) SendOKResponse()
@method sendOKResponse @abstract Sends an OK response @discussion Use this to respond OK.
func (*IOBluetoothHandsFreeAudioGateway) SendResponse ¶
func (o *IOBluetoothHandsFreeAudioGateway) SendResponse(response *foundation.NSString)
@method sendResponse:response @abstract Sends a response to the hands free device @discussion Use this to send a response followed by an OK. Equivalent to [sendResponse:response withOK:YES]. @param response The response to send to the hands free device
func (*IOBluetoothHandsFreeAudioGateway) SendResponseWithOK ¶
func (o *IOBluetoothHandsFreeAudioGateway) SendResponseWithOK(response *foundation.NSString, withOK bool)
@method sendResponse:response:withOK @abstract Sends a response to the hands free device @discussion Use this to send a response and optionally followed by an OK. @param response The response to send to the hands free device @param withOK If yes, an OK response will also be sent.
type IOBluetoothHandsFreeAudioGatewayDelegate ¶
type IOBluetoothHandsFreeAudioGatewayDelegate interface {
}
IOBluetoothHandsFreeAudioGatewayDelegate wraps the ObjC protocol IOBluetoothHandsFreeAudioGatewayDelegate.
type IOBluetoothHandsFreeAudioGatewayFeatures ¶
type IOBluetoothHandsFreeAudioGatewayFeatures int64
const ( IOBluetoothHandsFreeAudioGatewayFeatureNone IOBluetoothHandsFreeAudioGatewayFeatures = 0 IOBluetoothHandsFreeAudioGatewayFeatureThreeWayCalling IOBluetoothHandsFreeAudioGatewayFeatures = 1 IOBluetoothHandsFreeAudioGatewayFeatureECAndOrNRFunction IOBluetoothHandsFreeAudioGatewayFeatures = 2 IOBluetoothHandsFreeAudioGatewayFeatureVoiceRecognition IOBluetoothHandsFreeAudioGatewayFeatures = 4 IOBluetoothHandsFreeAudioGatewayFeatureInBandRingTone IOBluetoothHandsFreeAudioGatewayFeatures = 8 IOBluetoothHandsFreeAudioGatewayFeatureAttachedNumberToVoiceTag IOBluetoothHandsFreeAudioGatewayFeatures = 16 IOBluetoothHandsFreeAudioGatewayFeatureRejectCallCapability IOBluetoothHandsFreeAudioGatewayFeatures = 32 IOBluetoothHandsFreeAudioGatewayFeatureEnhancedCallStatus IOBluetoothHandsFreeAudioGatewayFeatures = 64 IOBluetoothHandsFreeAudioGatewayFeatureEnhancedCallControl IOBluetoothHandsFreeAudioGatewayFeatures = 128 IOBluetoothHandsFreeAudioGatewayFeatureExtendedErrorResultCodes IOBluetoothHandsFreeAudioGatewayFeatures = 256 IOBluetoothHandsFreeAudioGatewayFeatureCodecNegotiation IOBluetoothHandsFreeAudioGatewayFeatures = 512 )
func (IOBluetoothHandsFreeAudioGatewayFeatures) String ¶
func (e IOBluetoothHandsFreeAudioGatewayFeatures) String() string
type IOBluetoothHandsFreeCallHoldModes ¶
type IOBluetoothHandsFreeCallHoldModes uint64
const ( IOBluetoothHandsFreeCallHoldMode0 IOBluetoothHandsFreeCallHoldModes = 1 IOBluetoothHandsFreeCallHoldMode1 IOBluetoothHandsFreeCallHoldModes = 2 IOBluetoothHandsFreeCallHoldMode1idx IOBluetoothHandsFreeCallHoldModes = 4 IOBluetoothHandsFreeCallHoldMode2 IOBluetoothHandsFreeCallHoldModes = 8 IOBluetoothHandsFreeCallHoldMode2idx IOBluetoothHandsFreeCallHoldModes = 16 IOBluetoothHandsFreeCallHoldMode3 IOBluetoothHandsFreeCallHoldModes = 32 IOBluetoothHandsFreeCallHoldMode4 IOBluetoothHandsFreeCallHoldModes = 64 )
func (IOBluetoothHandsFreeCallHoldModes) String ¶
func (e IOBluetoothHandsFreeCallHoldModes) String() string
type IOBluetoothHandsFreeCodecID ¶
type IOBluetoothHandsFreeCodecID int64
const ( IOBluetoothHandsFreeCodecIDCVSD IOBluetoothHandsFreeCodecID = 1 IOBluetoothHandsFreeCodecIDmSBC IOBluetoothHandsFreeCodecID = 2 IOBluetoothHandsFreeCodecIDAACELD IOBluetoothHandsFreeCodecID = 128 )
func (IOBluetoothHandsFreeCodecID) String ¶
func (e IOBluetoothHandsFreeCodecID) String() string
type IOBluetoothHandsFreeDelegate ¶
type IOBluetoothHandsFreeDelegate interface {
}
IOBluetoothHandsFreeDelegate wraps the ObjC protocol IOBluetoothHandsFreeDelegate.
type IOBluetoothHandsFreeDevice ¶
type IOBluetoothHandsFreeDevice struct {
IOBluetoothHandsFree
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothhandsfreedevice
func IOBluetoothHandsFreeDeviceFromID ¶
func IOBluetoothHandsFreeDeviceFromID(id objc.ID) *IOBluetoothHandsFreeDevice
func (*IOBluetoothHandsFreeDevice) AcceptCall ¶
func (o *IOBluetoothHandsFreeDevice) AcceptCall()
@method acceptCall @abstract Accept an incoming call @discussion Accepts an incoming call.
func (*IOBluetoothHandsFreeDevice) AcceptCallOnPhone ¶
func (o *IOBluetoothHandsFreeDevice) AcceptCallOnPhone()
@method acceptCallOnPhone @abstract Accept an incoming call on the phone @discussion Accepts an incoming call and then quickly transfer audio to the phone.
func (*IOBluetoothHandsFreeDevice) AddHeldCall ¶
func (o *IOBluetoothHandsFreeDevice) AddHeldCall()
@method addHeldCall @abstract Add a held call to the current conversation @discussion Adds a held call to the current conversation.
func (*IOBluetoothHandsFreeDevice) CallTransfer ¶
func (o *IOBluetoothHandsFreeDevice) CallTransfer()
@method callTransfer @abstract Release all active calls @discussion Releases all active calls (if any exist) and accepts the other (held or waiting) call.
func (*IOBluetoothHandsFreeDevice) CurrentCallList ¶
func (o *IOBluetoothHandsFreeDevice) CurrentCallList()
@method currentCallList @abstract Get the current call list @discussion Gets the current call list (active, held, and setup in process). Each call is returned on the delegate method handsFree:currentCall.
func (*IOBluetoothHandsFreeDevice) DialNumber ¶
func (o *IOBluetoothHandsFreeDevice) DialNumber(aNumber *foundation.NSString)
@method dialNumber:aNumber @abstract Dial a number @discussion Calls aNumber @param aNumber The number to call - the gateway determines acceptable formats.
func (*IOBluetoothHandsFreeDevice) EndCall ¶
func (o *IOBluetoothHandsFreeDevice) EndCall()
@method endCall @abstract Hang up a call or reject an incoming call @discussion Hangs up the current call, or rejects an incoming call.
func (*IOBluetoothHandsFreeDevice) HoldCall ¶
func (o *IOBluetoothHandsFreeDevice) HoldCall()
@method holdCall @abstract Place all active calls on hold @discussion Places all active calls (if any exist) on hold and accepts the other (held or waiting) call.
func (*IOBluetoothHandsFreeDevice) InitWithDeviceDelegate ¶
func (o *IOBluetoothHandsFreeDevice) InitWithDeviceDelegate(device *IOBluetoothDevice, delegate objc.ID) *IOBluetoothHandsFreeDevice
@method initWithDevice:delegate: @abstract Create a new IOBluetoothHandsFreeDevice to act as a hands free device @discussion This will register a listener for incoming connections. @param device An IOBluetoothDevice @param inDelegate An object to act as delegate @result A newly created IOBluetoothHandsFreeDevice object on success, nil on failure
func (*IOBluetoothHandsFreeDevice) MemoryDial ¶
func (o *IOBluetoothHandsFreeDevice) MemoryDial(memoryLocation int)
@method memoryDial:memoryLocation @abstract Dial a number from memory @discussion Calls a number from a memory (or speed dial) location. @param memoryLocation The location in memory
func (*IOBluetoothHandsFreeDevice) PlaceAllOthersOnHold ¶
func (o *IOBluetoothHandsFreeDevice) PlaceAllOthersOnHold(index int)
@method placeAllOthersOnHold:index @abstract Place all other calls on hold. @discussion Places all calls on hold except call with index. @param index Index of the call to not place on hold
func (*IOBluetoothHandsFreeDevice) Redial ¶
func (o *IOBluetoothHandsFreeDevice) Redial()
@method redial @abstract Redial a number @discussion Redials the previous number stored by the hands free gateway.
func (*IOBluetoothHandsFreeDevice) ReleaseActiveCalls ¶
func (o *IOBluetoothHandsFreeDevice) ReleaseActiveCalls()
@method releaseActiveCalls @abstract Release all active calls @discussion Releases all active calls (if any exist) and accepts the other (held or waiting) call.
func (*IOBluetoothHandsFreeDevice) ReleaseCall ¶
func (o *IOBluetoothHandsFreeDevice) ReleaseCall(index int)
@method releaseCall:index @abstract Release an active call. @discussion Releases the active call with index. @param index Index of the call to release
func (*IOBluetoothHandsFreeDevice) ReleaseHeldCalls ¶
func (o *IOBluetoothHandsFreeDevice) ReleaseHeldCalls()
@method releaseHeldCalls @abstract Release all held calls @discussion Releases all held calls or sets User Determined User Busy for a waiting call.
func (*IOBluetoothHandsFreeDevice) SendATCommand ¶
func (o *IOBluetoothHandsFreeDevice) SendATCommand(atCommand *foundation.NSString)
@method sendATCommand:atCommand @abstract Send an AT command to the hands free gateway. @discussion Sends an AT command to the hands free gateway with a timeout of 10 seconds and handled by the built-in response handling. See sendAtCommand:timeout:selector:target for more details. @param atCommand AT command to send
func (*IOBluetoothHandsFreeDevice) SendATCommandTimeoutSelectorTarget ¶
func (o *IOBluetoothHandsFreeDevice) SendATCommandTimeoutSelectorTarget(atCommand *foundation.NSString, timeout float32, selector objc.SEL, target objc.ID)
@method sendATCommand:atCommand:timeout:selector:target @abstract Send an AT command to the hands free gateway. @discussion Sends an AT command to the hands free gateway with timeout. On command complete (OK, ERROR, TIMEOUT response or after timeout seconds) will perform selector on target. @param atCommand AT command to send
func (*IOBluetoothHandsFreeDevice) SendDTMF ¶
func (o *IOBluetoothHandsFreeDevice) SendDTMF(character *foundation.NSString)
@method sendDTMF:character @abstract Send a key press @discussion Sends a DTMF tone. @param character A single character in the set 0-9, #,*,A-D
func (*IOBluetoothHandsFreeDevice) SendSMSMessage ¶
func (o *IOBluetoothHandsFreeDevice) SendSMSMessage(aNumber *foundation.NSString, aMessage *foundation.NSString)
@method sendSMS:aNumber:aMessage @abstract Send an SMS to a number. @discussion Sends an SMS to aNumber with content aMessage. Currently this does not handle long SMS (>160 characters) or unicode messages.
func (*IOBluetoothHandsFreeDevice) SubscriberNumber ¶
func (o *IOBluetoothHandsFreeDevice) SubscriberNumber()
@method subscriberNumber @abstract Get the subscriber number(s) @discussion Gets the subscriber number(s) stored on the gateway. Each subscriber number is returned on the delegate method handsFree:subscriberNumber. There is no guarantee that the gateway will have a subscriber number.
func (*IOBluetoothHandsFreeDevice) TransferAudioToComputer ¶
func (o *IOBluetoothHandsFreeDevice) TransferAudioToComputer()
@method transferAudioToComputer @abstract Transfer audio source to the computer. @discussion Transfers audio to the computer.
func (*IOBluetoothHandsFreeDevice) TransferAudioToPhone ¶
func (o *IOBluetoothHandsFreeDevice) TransferAudioToPhone()
@method transferAudioToPhone @abstract Transfer audio source to the phone. @discussion Transfers audio to the phone.
type IOBluetoothHandsFreeDeviceDelegate ¶
type IOBluetoothHandsFreeDeviceDelegate interface {
IOBluetoothHandsFreeDelegate
}
IOBluetoothHandsFreeDeviceDelegate wraps the ObjC protocol IOBluetoothHandsFreeDeviceDelegate.
type IOBluetoothHandsFreeDeviceFeatures ¶
type IOBluetoothHandsFreeDeviceFeatures int64
const ( IOBluetoothHandsFreeDeviceFeatureNone IOBluetoothHandsFreeDeviceFeatures = 0 IOBluetoothHandsFreeDeviceFeatureECAndOrNRFunction IOBluetoothHandsFreeDeviceFeatures = 1 IOBluetoothHandsFreeDeviceFeatureThreeWayCalling IOBluetoothHandsFreeDeviceFeatures = 2 IOBluetoothHandsFreeDeviceFeatureCLIPresentation IOBluetoothHandsFreeDeviceFeatures = 4 IOBluetoothHandsFreeDeviceFeatureVoiceRecognition IOBluetoothHandsFreeDeviceFeatures = 8 IOBluetoothHandsFreeDeviceFeatureRemoteVolumeControl IOBluetoothHandsFreeDeviceFeatures = 16 IOBluetoothHandsFreeDeviceFeatureEnhancedCallStatus IOBluetoothHandsFreeDeviceFeatures = 32 IOBluetoothHandsFreeDeviceFeatureEnhancedCallControl IOBluetoothHandsFreeDeviceFeatures = 64 IOBluetoothHandsFreeDeviceFeatureCodecNegotiation IOBluetoothHandsFreeDeviceFeatures = 128 )
func (IOBluetoothHandsFreeDeviceFeatures) String ¶
func (e IOBluetoothHandsFreeDeviceFeatures) String() string
type IOBluetoothHandsFreePDUMessageStatus ¶
type IOBluetoothHandsFreePDUMessageStatus uint64
const ( IOBluetoothHandsFreePDUStatusRecUnread IOBluetoothHandsFreePDUMessageStatus = 0 IOBluetoothHandsFreePDUStatusRecRead IOBluetoothHandsFreePDUMessageStatus = 1 IOBluetoothHandsFreePDUStatusStoUnsent IOBluetoothHandsFreePDUMessageStatus = 2 IOBluetoothHandsFreePDUStatusStoSent IOBluetoothHandsFreePDUMessageStatus = 3 IOBluetoothHandsFreePDUStatusAll IOBluetoothHandsFreePDUMessageStatus = 4 )
func (IOBluetoothHandsFreePDUMessageStatus) String ¶
func (e IOBluetoothHandsFreePDUMessageStatus) String() string
type IOBluetoothHandsFreeSMSSupport ¶
type IOBluetoothHandsFreeSMSSupport uint64
const ( IOBluetoothHandsFreePhase2SMSSupport IOBluetoothHandsFreeSMSSupport = 1 IOBluetoothHandsFreePhase2pSMSSupport IOBluetoothHandsFreeSMSSupport = 2 IOBluetoothHandsFreeManufactureSpecificSMSSupport IOBluetoothHandsFreeSMSSupport = 4 )
func (IOBluetoothHandsFreeSMSSupport) String ¶
func (e IOBluetoothHandsFreeSMSSupport) String() string
type IOBluetoothHostController ¶
type IOBluetoothHostController struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothhostcontroller
func IOBluetoothHostControllerDefaultController ¶
func IOBluetoothHostControllerDefaultController() *IOBluetoothHostController
func IOBluetoothHostControllerFromID ¶
func IOBluetoothHostControllerFromID(id objc.ID) *IOBluetoothHostController
func (*IOBluetoothHostController) AddressAsString ¶
func (o *IOBluetoothHostController) AddressAsString() *foundation.NSString
func (*IOBluetoothHostController) ClassOfDevice ¶
func (o *IOBluetoothHostController) ClassOfDevice() uint32
func (*IOBluetoothHostController) Delegate ¶
func (o *IOBluetoothHostController) Delegate() objc.ID
func (*IOBluetoothHostController) NameAsString ¶
func (o *IOBluetoothHostController) NameAsString() *foundation.NSString
func (*IOBluetoothHostController) PowerState ¶
func (o *IOBluetoothHostController) PowerState() icadevices.BluetoothHCIPowerState
@method powerState @abstract Gets the controller power state @result The current controller's power state. This will be 1 for on, or 0 for off. Only Apple Bluetooth adapters support power off
func (*IOBluetoothHostController) SetClassOfDeviceForTimeInterval ¶
func (o *IOBluetoothHostController) SetClassOfDeviceForTimeInterval(classOfDevice uint32, seconds float64) int
func (*IOBluetoothHostController) SetDelegate ¶
func (o *IOBluetoothHostController) SetDelegate(delegate objc.ID)
type IOBluetoothL2CAPChannel ¶
type IOBluetoothL2CAPChannel struct {
IOBluetoothObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothl2capchannel
func IOBluetoothL2CAPChannelFromID ¶
func IOBluetoothL2CAPChannelFromID(id objc.ID) *IOBluetoothL2CAPChannel
func IOBluetoothL2CAPChannelWithObjectID ¶
func IOBluetoothL2CAPChannelWithObjectID(objectID uint) *IOBluetoothL2CAPChannel
func (*IOBluetoothL2CAPChannel) CloseChannel ¶
func (o *IOBluetoothL2CAPChannel) CloseChannel() int
func (*IOBluetoothL2CAPChannel) Delegate ¶
func (o *IOBluetoothL2CAPChannel) Delegate() objc.ID
@method delegate @abstract Returns the currently assigned delegate @discussion An incoming channel is one that was initiated by a remote device. @result Returns the current delegate, or nil if one is not set.
func (*IOBluetoothL2CAPChannel) Device ¶
func (o *IOBluetoothL2CAPChannel) Device() *IOBluetoothDevice
func (*IOBluetoothL2CAPChannel) GetDevice ¶
func (o *IOBluetoothL2CAPChannel) GetDevice() *IOBluetoothDevice
func (*IOBluetoothL2CAPChannel) GetIncomingMTU ¶
func (o *IOBluetoothL2CAPChannel) GetIncomingMTU() uint16
func (*IOBluetoothL2CAPChannel) GetLocalChannelID ¶
func (o *IOBluetoothL2CAPChannel) GetLocalChannelID() uint16
func (*IOBluetoothL2CAPChannel) GetObjectID ¶
func (o *IOBluetoothL2CAPChannel) GetObjectID() uint
func (*IOBluetoothL2CAPChannel) GetOutgoingMTU ¶
func (o *IOBluetoothL2CAPChannel) GetOutgoingMTU() uint16
func (*IOBluetoothL2CAPChannel) GetPSM ¶
func (o *IOBluetoothL2CAPChannel) GetPSM() uint16
func (*IOBluetoothL2CAPChannel) GetRemoteChannelID ¶
func (o *IOBluetoothL2CAPChannel) GetRemoteChannelID() uint16
func (*IOBluetoothL2CAPChannel) IncomingMTU ¶
func (o *IOBluetoothL2CAPChannel) IncomingMTU() uint16
func (*IOBluetoothL2CAPChannel) IsIncoming ¶
func (o *IOBluetoothL2CAPChannel) IsIncoming() bool
func (*IOBluetoothL2CAPChannel) LocalChannelID ¶
func (o *IOBluetoothL2CAPChannel) LocalChannelID() uint16
func (*IOBluetoothL2CAPChannel) ObjectID ¶
func (o *IOBluetoothL2CAPChannel) ObjectID() uint
func (*IOBluetoothL2CAPChannel) OutgoingMTU ¶
func (o *IOBluetoothL2CAPChannel) OutgoingMTU() uint16
func (*IOBluetoothL2CAPChannel) PSM ¶
func (o *IOBluetoothL2CAPChannel) PSM() uint16
func (*IOBluetoothL2CAPChannel) RegisterForChannelCloseNotificationSelector ¶
func (o *IOBluetoothL2CAPChannel) RegisterForChannelCloseNotificationSelector(observer objc.ID, inSelector objc.SEL) *IOBluetoothUserNotification
func (*IOBluetoothL2CAPChannel) RemoteChannelID ¶
func (o *IOBluetoothL2CAPChannel) RemoteChannelID() uint16
func (*IOBluetoothL2CAPChannel) RequestRemoteMTU ¶
func (o *IOBluetoothL2CAPChannel) RequestRemoteMTU(remoteMTU uint16) int
func (*IOBluetoothL2CAPChannel) SetDelegate ¶
func (o *IOBluetoothL2CAPChannel) SetDelegate(channelDelegate objc.ID) int
func (*IOBluetoothL2CAPChannel) SetDelegateWithConfiguration ¶
func (o *IOBluetoothL2CAPChannel) SetDelegateWithConfiguration(channelDelegate objc.ID, channelConfiguration *foundation.NSDictionary[objc.ID, objc.ID]) int
func (*IOBluetoothL2CAPChannel) WriteAsyncLengthRefcon ¶
func (*IOBluetoothL2CAPChannel) WriteAsyncTrapLengthRefcon ¶
func (*IOBluetoothL2CAPChannel) WriteSyncLength ¶
func (o *IOBluetoothL2CAPChannel) WriteSyncLength(data unsafe.Pointer, length uint16) int
type IOBluetoothL2CAPChannelDelegate ¶
type IOBluetoothL2CAPChannelDelegate interface {
}
IOBluetoothL2CAPChannelDelegate wraps the ObjC protocol IOBluetoothL2CAPChannelDelegate.
type IOBluetoothL2CAPChannelEvent ¶
type IOBluetoothL2CAPChannelEvent struct {
EventType IOBluetoothL2CAPChannelEventType
U unsafe.Pointer
Status int
}
type IOBluetoothL2CAPChannelEventType ¶
type IOBluetoothL2CAPChannelEventType int64
const ( KIOBluetoothL2CAPChannelEventTypeData IOBluetoothL2CAPChannelEventType = 1 KIOBluetoothL2CAPChannelEventTypeOpenComplete IOBluetoothL2CAPChannelEventType = 2 KIOBluetoothL2CAPChannelEventTypeClosed IOBluetoothL2CAPChannelEventType = 3 KIOBluetoothL2CAPChannelEventTypeReconfigured IOBluetoothL2CAPChannelEventType = 4 KIOBluetoothL2CAPChannelEventTypeWriteComplete IOBluetoothL2CAPChannelEventType = 5 KIOBluetoothL2CAPChannelEventTypeQueueSpaceAvailable IOBluetoothL2CAPChannelEventType = 6 )
func (IOBluetoothL2CAPChannelEventType) String ¶
func (e IOBluetoothL2CAPChannelEventType) String() string
type IOBluetoothOBEXSession ¶
type IOBluetoothOBEXSession struct {
OBEXSession
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothobexsession
func IOBluetoothOBEXSessionFromID ¶
func IOBluetoothOBEXSessionFromID(id objc.ID) *IOBluetoothOBEXSession
func IOBluetoothOBEXSessionWithDeviceChannelID ¶
func IOBluetoothOBEXSessionWithDeviceChannelID(inDevice *IOBluetoothDevice, inRFCOMMChannelID uint8) *IOBluetoothOBEXSession
func IOBluetoothOBEXSessionWithIncomingRFCOMMChannelEventSelectorSelectorTargetRefCon ¶
func IOBluetoothOBEXSessionWithIncomingRFCOMMChannelEventSelectorSelectorTargetRefCon(inChannel *IOBluetoothRFCOMMChannel, inEventSelector objc.SEL, inEventSelectorTarget objc.ID, inUserRefCon unsafe.Pointer) *IOBluetoothOBEXSession
func IOBluetoothOBEXSessionWithSDPServiceRecord ¶
func IOBluetoothOBEXSessionWithSDPServiceRecord(inSDPServiceRecord *IOBluetoothSDPServiceRecord) *IOBluetoothOBEXSession
func (*IOBluetoothOBEXSession) GetDevice ¶
func (o *IOBluetoothOBEXSession) GetDevice() *IOBluetoothDevice
func (*IOBluetoothOBEXSession) GetRFCOMMChannel ¶
func (o *IOBluetoothOBEXSession) GetRFCOMMChannel() *IOBluetoothRFCOMMChannel
func (*IOBluetoothOBEXSession) InitWithDeviceChannelID ¶
func (o *IOBluetoothOBEXSession) InitWithDeviceChannelID(inDevice *IOBluetoothDevice, inChannelID uint8) *IOBluetoothOBEXSession
func (*IOBluetoothOBEXSession) InitWithIncomingRFCOMMChannelEventSelectorSelectorTargetRefCon ¶
func (o *IOBluetoothOBEXSession) InitWithIncomingRFCOMMChannelEventSelectorSelectorTargetRefCon(inChannel *IOBluetoothRFCOMMChannel, inEventSelector objc.SEL, inEventSelectorTarget objc.ID, inUserRefCon unsafe.Pointer) *IOBluetoothOBEXSession
func (*IOBluetoothOBEXSession) InitWithSDPServiceRecord ¶
func (o *IOBluetoothOBEXSession) InitWithSDPServiceRecord(inSDPServiceRecord *IOBluetoothSDPServiceRecord) *IOBluetoothOBEXSession
func (*IOBluetoothOBEXSession) IsSessionTargetAMac ¶
func (o *IOBluetoothOBEXSession) IsSessionTargetAMac() bool
@method isSessionTargetAMac @abstract Tells whether the target device is a Mac by checking its service record. @result TRUE only if device service record has Mac entry, FALSE for all else. @discussion Tells whether the target device is a Mac by checking its service record.
func (*IOBluetoothOBEXSession) RestartTransmission ¶
func (o *IOBluetoothOBEXSession) RestartTransmission()
@method restartTransmission @abstract If the transmission was stopeed due to the lack of buffers this call restarts it. @result @discussion If the transmission was stopeed due to the lack of buffers this call restarts it.
func (*IOBluetoothOBEXSession) SendBufferTroughChannel ¶
func (o *IOBluetoothOBEXSession) SendBufferTroughChannel() int
@method sendBufferTroughChannel @abstract Sends the next block of data trough the rfcomm channel. @result @discussion Since a send in the rfcomm channel is broken in multiple write calls (this actually is true only if the size is grater than the rfcomm MTU). Each write call is performed by sendBufferTroughChannel. This should never need to be overwritten.
func (*IOBluetoothOBEXSession) SetOBEXSessionOpenConnectionCallbackRefCon ¶
func (o *IOBluetoothOBEXSession) SetOBEXSessionOpenConnectionCallbackRefCon(inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer)
func (*IOBluetoothOBEXSession) SetOpenTransportConnectionAsyncSelectorTargetRefCon ¶
type IOBluetoothObject ¶
type IOBluetoothObject struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothobject
func IOBluetoothObjectFromID ¶
func IOBluetoothObjectFromID(id objc.ID) *IOBluetoothObject
type IOBluetoothRFCOMMChannel ¶
type IOBluetoothRFCOMMChannel struct {
IOBluetoothObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothrfcommchannel
func IOBluetoothRFCOMMChannelFromID ¶
func IOBluetoothRFCOMMChannelFromID(id objc.ID) *IOBluetoothRFCOMMChannel
func IOBluetoothRFCOMMChannelWithObjectID ¶
func IOBluetoothRFCOMMChannelWithObjectID(objectID uint) *IOBluetoothRFCOMMChannel
func IOBluetoothRFCOMMChannelWithRFCOMMChannelRef ¶
func IOBluetoothRFCOMMChannelWithRFCOMMChannelRef(rfcommChannelRef unsafe.Pointer) *IOBluetoothRFCOMMChannel
@method withRFCOMMChannelRef: @abstract Method call to convert an IOBluetoothRFCOMMChannelRef into an IOBluetoothRFCOMMChannel *. @param rfcommChannelRef IOBluetoothRFCOMMChannelRef for which an IOBluetoothRFCOMMChannel * is desired. @result Returns the IOBluetoothRFCOMMChannel * for the given IOBluetoothRFCOMMChannelRef.
func (*IOBluetoothRFCOMMChannel) CloseChannel ¶
func (o *IOBluetoothRFCOMMChannel) CloseChannel() int
func (*IOBluetoothRFCOMMChannel) Delegate ¶
func (o *IOBluetoothRFCOMMChannel) Delegate() objc.ID
@method delegate @abstract Returns the object delegate @result the current delegate, or nil
func (*IOBluetoothRFCOMMChannel) GetChannelID ¶
func (o *IOBluetoothRFCOMMChannel) GetChannelID() uint8
func (*IOBluetoothRFCOMMChannel) GetDevice ¶
func (o *IOBluetoothRFCOMMChannel) GetDevice() *IOBluetoothDevice
func (*IOBluetoothRFCOMMChannel) GetMTU ¶
func (o *IOBluetoothRFCOMMChannel) GetMTU() uint16
func (*IOBluetoothRFCOMMChannel) GetObjectID ¶
func (o *IOBluetoothRFCOMMChannel) GetObjectID() uint
func (*IOBluetoothRFCOMMChannel) GetRFCOMMChannelRef ¶
func (o *IOBluetoothRFCOMMChannel) GetRFCOMMChannelRef() unsafe.Pointer
@method getRFCOMMChannelRef @abstract Returns an IOBluetoothRFCOMMChannelRef representation of the target IOBluetoothRFCOMMChannel object. @result Returns an IOBluetoothRFCOMMChannelRef representation of the target IOBluetoothRFCOMMChannel object.
func (*IOBluetoothRFCOMMChannel) IsIncoming ¶
func (o *IOBluetoothRFCOMMChannel) IsIncoming() bool
func (*IOBluetoothRFCOMMChannel) IsOpen ¶
func (o *IOBluetoothRFCOMMChannel) IsOpen() bool
func (*IOBluetoothRFCOMMChannel) IsTransmissionPaused ¶
func (o *IOBluetoothRFCOMMChannel) IsTransmissionPaused() bool
func (*IOBluetoothRFCOMMChannel) RegisterForChannelCloseNotificationSelector ¶
func (o *IOBluetoothRFCOMMChannel) RegisterForChannelCloseNotificationSelector(observer objc.ID, inSelector objc.SEL) *IOBluetoothUserNotification
func (*IOBluetoothRFCOMMChannel) SendRemoteLineStatus ¶
func (o *IOBluetoothRFCOMMChannel) SendRemoteLineStatus(lineStatus BluetoothRFCOMMLineStatus) int
func (*IOBluetoothRFCOMMChannel) SetDelegate ¶
func (o *IOBluetoothRFCOMMChannel) SetDelegate(delegate objc.ID) int
func (*IOBluetoothRFCOMMChannel) SetSerialParametersDataBitsParityStopBits ¶
func (o *IOBluetoothRFCOMMChannel) SetSerialParametersDataBitsParityStopBits(speed uint, nBits uint8, parity BluetoothRFCOMMParityType, bitStop uint8) int
func (*IOBluetoothRFCOMMChannel) WriteAsyncLengthRefcon ¶
func (*IOBluetoothRFCOMMChannel) WriteLengthSleep ¶
func (*IOBluetoothRFCOMMChannel) WriteSimpleLengthSleepBytesSent ¶
func (*IOBluetoothRFCOMMChannel) WriteSyncLength ¶
func (o *IOBluetoothRFCOMMChannel) WriteSyncLength(data unsafe.Pointer, length uint16) int
type IOBluetoothRFCOMMChannelDelegate ¶
type IOBluetoothRFCOMMChannelDelegate interface {
}
IOBluetoothRFCOMMChannelDelegate wraps the ObjC protocol IOBluetoothRFCOMMChannelDelegate.
type IOBluetoothSDPDataElement ¶
type IOBluetoothSDPDataElement struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothsdpdataelement
func IOBluetoothSDPDataElementFromID ¶
func IOBluetoothSDPDataElementFromID(id objc.ID) *IOBluetoothSDPDataElement
func IOBluetoothSDPDataElementWithElementValue ¶
func IOBluetoothSDPDataElementWithElementValue(element *foundation.NSObject) *IOBluetoothSDPDataElement
func IOBluetoothSDPDataElementWithSDPDataElementRef ¶
func IOBluetoothSDPDataElementWithSDPDataElementRef(sdpDataElementRef unsafe.Pointer) *IOBluetoothSDPDataElement
func IOBluetoothSDPDataElementWithTypeSizeDescriptorSizeValue ¶
func IOBluetoothSDPDataElementWithTypeSizeDescriptorSizeValue(type_ uint8, newSizeDescriptor uint8, newSize uint32, newValue *foundation.NSObject) *IOBluetoothSDPDataElement
func (*IOBluetoothSDPDataElement) ContainsDataElement ¶
func (o *IOBluetoothSDPDataElement) ContainsDataElement(dataElement *IOBluetoothSDPDataElement) bool
func (*IOBluetoothSDPDataElement) ContainsValue ¶
func (o *IOBluetoothSDPDataElement) ContainsValue(cmpValue *foundation.NSObject) bool
func (*IOBluetoothSDPDataElement) GetArrayValue ¶
func (o *IOBluetoothSDPDataElement) GetArrayValue() *foundation.NSArray[objc.ID]
func (*IOBluetoothSDPDataElement) GetDataValue ¶
func (o *IOBluetoothSDPDataElement) GetDataValue() *foundation.NSData
func (*IOBluetoothSDPDataElement) GetNumberValue ¶
func (o *IOBluetoothSDPDataElement) GetNumberValue() *foundation.NSNumber
func (*IOBluetoothSDPDataElement) GetSDPDataElementRef ¶
func (o *IOBluetoothSDPDataElement) GetSDPDataElementRef() unsafe.Pointer
func (*IOBluetoothSDPDataElement) GetSize ¶
func (o *IOBluetoothSDPDataElement) GetSize() uint32
func (*IOBluetoothSDPDataElement) GetSizeDescriptor ¶
func (o *IOBluetoothSDPDataElement) GetSizeDescriptor() uint8
func (*IOBluetoothSDPDataElement) GetStringValue ¶
func (o *IOBluetoothSDPDataElement) GetStringValue() *foundation.NSString
func (*IOBluetoothSDPDataElement) GetTypeDescriptor ¶
func (o *IOBluetoothSDPDataElement) GetTypeDescriptor() uint8
func (*IOBluetoothSDPDataElement) GetUUIDValue ¶
func (o *IOBluetoothSDPDataElement) GetUUIDValue() *IOBluetoothSDPUUID
func (*IOBluetoothSDPDataElement) GetValue ¶
func (o *IOBluetoothSDPDataElement) GetValue() *foundation.NSObject
func (*IOBluetoothSDPDataElement) InitWithElementValue ¶
func (o *IOBluetoothSDPDataElement) InitWithElementValue(element *foundation.NSObject) *IOBluetoothSDPDataElement
func (*IOBluetoothSDPDataElement) InitWithTypeSizeDescriptorSizeValue ¶
func (o *IOBluetoothSDPDataElement) InitWithTypeSizeDescriptorSizeValue(newType uint8, newSizeDescriptor uint8, newSize uint32, newValue *foundation.NSObject) *IOBluetoothSDPDataElement
type IOBluetoothSDPServiceAttribute ¶
type IOBluetoothSDPServiceAttribute struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothsdpserviceattribute
func IOBluetoothSDPServiceAttributeFromID ¶
func IOBluetoothSDPServiceAttributeFromID(id objc.ID) *IOBluetoothSDPServiceAttribute
func IOBluetoothSDPServiceAttributeWithIDAttributeElement ¶
func IOBluetoothSDPServiceAttributeWithIDAttributeElement(newAttributeID uint16, attributeElement *IOBluetoothSDPDataElement) *IOBluetoothSDPServiceAttribute
func IOBluetoothSDPServiceAttributeWithIDAttributeElementValue ¶
func IOBluetoothSDPServiceAttributeWithIDAttributeElementValue(newAttributeID uint16, attributeElementValue *foundation.NSObject) *IOBluetoothSDPServiceAttribute
func (*IOBluetoothSDPServiceAttribute) GetAttributeID ¶
func (o *IOBluetoothSDPServiceAttribute) GetAttributeID() uint16
func (*IOBluetoothSDPServiceAttribute) GetDataElement ¶
func (o *IOBluetoothSDPServiceAttribute) GetDataElement() *IOBluetoothSDPDataElement
func (*IOBluetoothSDPServiceAttribute) GetIDDataElement ¶
func (o *IOBluetoothSDPServiceAttribute) GetIDDataElement() *IOBluetoothSDPDataElement
func (*IOBluetoothSDPServiceAttribute) InitWithIDAttributeElement ¶
func (o *IOBluetoothSDPServiceAttribute) InitWithIDAttributeElement(newAttributeID uint16, attributeElement *IOBluetoothSDPDataElement) *IOBluetoothSDPServiceAttribute
func (*IOBluetoothSDPServiceAttribute) InitWithIDAttributeElementValue ¶
func (o *IOBluetoothSDPServiceAttribute) InitWithIDAttributeElementValue(newAttributeID uint16, attributeElementValue *foundation.NSObject) *IOBluetoothSDPServiceAttribute
type IOBluetoothSDPServiceRecord ¶
type IOBluetoothSDPServiceRecord struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothsdpservicerecord
func IOBluetoothSDPServiceRecordFromID ¶
func IOBluetoothSDPServiceRecordFromID(id objc.ID) *IOBluetoothSDPServiceRecord
func IOBluetoothSDPServiceRecordPublishedServiceRecordWithDictionary ¶
func IOBluetoothSDPServiceRecordPublishedServiceRecordWithDictionary(serviceDict *foundation.NSDictionary[objc.ID, objc.ID]) *IOBluetoothSDPServiceRecord
func IOBluetoothSDPServiceRecordWithSDPServiceRecordRef ¶
func IOBluetoothSDPServiceRecordWithSDPServiceRecordRef(sdpServiceRecordRef unsafe.Pointer) *IOBluetoothSDPServiceRecord
func IOBluetoothSDPServiceRecordWithServiceDictionaryDevice ¶
func IOBluetoothSDPServiceRecordWithServiceDictionaryDevice(serviceDict *foundation.NSDictionary[objc.ID, objc.ID], device *IOBluetoothDevice) *IOBluetoothSDPServiceRecord
func (*IOBluetoothSDPServiceRecord) Attributes ¶
func (o *IOBluetoothSDPServiceRecord) Attributes() *foundation.NSDictionary[objc.ID, objc.ID]
func (*IOBluetoothSDPServiceRecord) Device ¶
func (o *IOBluetoothSDPServiceRecord) Device() *IOBluetoothDevice
func (*IOBluetoothSDPServiceRecord) GetAttributeDataElement ¶
func (o *IOBluetoothSDPServiceRecord) GetAttributeDataElement(attributeID uint16) *IOBluetoothSDPDataElement
func (*IOBluetoothSDPServiceRecord) GetAttributes ¶
func (o *IOBluetoothSDPServiceRecord) GetAttributes() *foundation.NSDictionary[objc.ID, objc.ID]
func (*IOBluetoothSDPServiceRecord) GetDevice ¶
func (o *IOBluetoothSDPServiceRecord) GetDevice() *IOBluetoothDevice
func (*IOBluetoothSDPServiceRecord) GetL2CAPPSM ¶
func (o *IOBluetoothSDPServiceRecord) GetL2CAPPSM(outPSM *uint16) int
func (*IOBluetoothSDPServiceRecord) GetRFCOMMChannelID ¶
func (o *IOBluetoothSDPServiceRecord) GetRFCOMMChannelID(rfcommChannelID *uint8) int
func (*IOBluetoothSDPServiceRecord) GetSDPServiceRecordRef ¶
func (o *IOBluetoothSDPServiceRecord) GetSDPServiceRecordRef() unsafe.Pointer
func (*IOBluetoothSDPServiceRecord) GetServiceName ¶
func (o *IOBluetoothSDPServiceRecord) GetServiceName() *foundation.NSString
func (*IOBluetoothSDPServiceRecord) GetServiceRecordHandle ¶
func (o *IOBluetoothSDPServiceRecord) GetServiceRecordHandle(outServiceRecordHandle *uint32) int
func (*IOBluetoothSDPServiceRecord) HandsFreeSupportedFeatures ¶
func (o *IOBluetoothSDPServiceRecord) HandsFreeSupportedFeatures() uint16
@method handsFreeSupportedFeatures @abstract Return the hands free supported features @discussion Returns the hands free supported features bitmap stored in the SDP record. See “IOBluetoothHandsFreeDeviceFeatures and IOBluetoothHandsFreeAudioGatewayFeatures.” @result The supported features bitmap.
func (*IOBluetoothSDPServiceRecord) HasServiceFromArray ¶
func (o *IOBluetoothSDPServiceRecord) HasServiceFromArray(array *foundation.NSArray[objc.ID]) bool
func (*IOBluetoothSDPServiceRecord) InitWithServiceDictionaryDevice ¶
func (o *IOBluetoothSDPServiceRecord) InitWithServiceDictionaryDevice(serviceDict *foundation.NSDictionary[objc.ID, objc.ID], device *IOBluetoothDevice) *IOBluetoothSDPServiceRecord
func (*IOBluetoothSDPServiceRecord) MatchesSearchArray ¶
func (o *IOBluetoothSDPServiceRecord) MatchesSearchArray(searchArray *foundation.NSArray[objc.ID]) bool
@method matchesSearchArray: @abstract Returns TRUE any of the UUID arrays in the search array match the target service. @discussion The given array should contain NSArray objects. Each sub-NSArray should contain IOBluetoothSDPUUID objects. In turn, each sub-NSArray gets passed to -matchesUUIDArray: If any of those returns TRUE, then the search stops and TRUE is returned. Essentially the master NSArray contains the OR operations and each sub-array contains the AND operations. NOTE: This method is only available in Mac OS X 10.2.4 (Bluetooth v1.1) or later. @param array An NSArray of NSArrays of IOBluetoothSDPUUID objects. @result Returns TRUE if any of the UUID arrays match.
func (*IOBluetoothSDPServiceRecord) MatchesUUID16 ¶
func (o *IOBluetoothSDPServiceRecord) MatchesUUID16(uuid16 uint16) bool
@method matchesUUID16: @abstract Returns TRUE the UUID16 is found in the target service. NOTE: This method is only available in Mac OS X 10.7 or later. @param uuid16 A BluetoothSDPUUID16 to search for in the target service. @result Returns TRUE if the UUID16 is present in the service.
func (*IOBluetoothSDPServiceRecord) MatchesUUIDArray ¶
func (o *IOBluetoothSDPServiceRecord) MatchesUUIDArray(uuidArray *foundation.NSArray[objc.ID]) bool
@method matchesUUIDArray: @abstract Returns TRUE if ALL of the UUIDs in the given array is found in the target service. @discussion The given array should contain IOBluetoothSDPUUID objects. It only returns TRUE if all of the UUIDs are found. This method is like hasServiceFromArray: except that it requires that all UUIDs match instead of any of them matching. NOTE: This method is only available in Mac OS X 10.2.4 (Bluetooth v1.1) or later. @param array An NSArray of IOBluetoothSDPUUID objects to search for in the target service. @result Returns TRUE if all of the given UUIDs are present in the service.
func (*IOBluetoothSDPServiceRecord) RemoveServiceRecord ¶
func (o *IOBluetoothSDPServiceRecord) RemoveServiceRecord() int
func (*IOBluetoothSDPServiceRecord) SortedAttributes ¶
func (o *IOBluetoothSDPServiceRecord) SortedAttributes() *foundation.NSArray[objc.ID]
type IOBluetoothSDPUUID ¶
type IOBluetoothSDPUUID struct {
foundation.NSData
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothsdpuuid
func IOBluetoothSDPUUIDFromID ¶
func IOBluetoothSDPUUIDFromID(id objc.ID) *IOBluetoothSDPUUID
func IOBluetoothSDPUUIDUuid16 ¶
func IOBluetoothSDPUUIDUuid16(uuid16 uint16) *IOBluetoothSDPUUID
func IOBluetoothSDPUUIDUuid32 ¶
func IOBluetoothSDPUUIDUuid32(uuid32 uint32) *IOBluetoothSDPUUID
func IOBluetoothSDPUUIDUuidWithBytesLength ¶
func IOBluetoothSDPUUIDUuidWithBytesLength(bytes_ unsafe.Pointer, length uint) *IOBluetoothSDPUUID
func IOBluetoothSDPUUIDUuidWithData ¶
func IOBluetoothSDPUUIDUuidWithData(data *foundation.NSData) *IOBluetoothSDPUUID
func IOBluetoothSDPUUIDWithSDPUUIDRef ¶
func IOBluetoothSDPUUIDWithSDPUUIDRef(sdpUUIDRef unsafe.Pointer) *IOBluetoothSDPUUID
@method withSDPUUIDRef: @abstract Method call to convert an IOBluetoothSDPUUIDRef into an IOBluetoothSDPUUID *. @param sdpUUIDRef IOBluetoothSDPUUIDRef for which an IOBluetoothSDPUUID * is desired. @result Returns the IOBluetoothSDPUUID * for the given IOBluetoothSDPUUIDRef.
func (*IOBluetoothSDPUUID) GetSDPUUIDRef ¶
func (o *IOBluetoothSDPUUID) GetSDPUUIDRef() unsafe.Pointer
@method getSDPUUIDRef @abstract Returns an IOBluetoothSDPUUIDRef representation of the target IOBluetoothSDPUUID object. @result Returns an IOBluetoothSDPUUIDRef representation of the target IOBluetoothSDPUUID object.
func (*IOBluetoothSDPUUID) GetUUIDWithLength ¶
func (o *IOBluetoothSDPUUID) GetUUIDWithLength(newLength uint) *IOBluetoothSDPUUID
func (*IOBluetoothSDPUUID) InitWithUUID16 ¶
func (o *IOBluetoothSDPUUID) InitWithUUID16(uuid16 uint16) *IOBluetoothSDPUUID
func (*IOBluetoothSDPUUID) InitWithUUID32 ¶
func (o *IOBluetoothSDPUUID) InitWithUUID32(uuid32 uint32) *IOBluetoothSDPUUID
func (*IOBluetoothSDPUUID) IsEqualToUUID ¶
func (o *IOBluetoothSDPUUID) IsEqualToUUID(otherUUID *IOBluetoothSDPUUID) bool
type IOBluetoothSMSMode ¶
type IOBluetoothSMSMode uint64
const ( IOBluetoothSMSModePDU IOBluetoothSMSMode = 0 IOBluetoothSMSModeText IOBluetoothSMSMode = 1 )
func (IOBluetoothSMSMode) String ¶
func (e IOBluetoothSMSMode) String() string
type IOBluetoothUserNotification ¶
type IOBluetoothUserNotification struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/iobluetoothusernotification
func IOBluetoothDeviceRegisterForConnectNotificationsSelector ¶
func IOBluetoothDeviceRegisterForConnectNotificationsSelector(observer objc.ID, inSelector objc.SEL) *IOBluetoothUserNotification
func IOBluetoothL2CAPChannelRegisterForChannelOpenNotificationsSelector ¶
func IOBluetoothL2CAPChannelRegisterForChannelOpenNotificationsSelector(object objc.ID, selector objc.SEL) *IOBluetoothUserNotification
func IOBluetoothL2CAPChannelRegisterForChannelOpenNotificationsSelectorWithPSMDirection ¶
func IOBluetoothL2CAPChannelRegisterForChannelOpenNotificationsSelectorWithPSMDirection(object objc.ID, selector objc.SEL, psm uint16, inDirection IOBluetoothUserNotificationChannelDirection) *IOBluetoothUserNotification
func IOBluetoothRFCOMMChannelRegisterForChannelOpenNotificationsSelector ¶
func IOBluetoothRFCOMMChannelRegisterForChannelOpenNotificationsSelector(object objc.ID, selector objc.SEL) *IOBluetoothUserNotification
func IOBluetoothRFCOMMChannelRegisterForChannelOpenNotificationsSelectorWithChannelIDDirection ¶
func IOBluetoothRFCOMMChannelRegisterForChannelOpenNotificationsSelectorWithChannelIDDirection(object objc.ID, selector objc.SEL, channelID uint8, inDirection IOBluetoothUserNotificationChannelDirection) *IOBluetoothUserNotification
func IOBluetoothUserNotificationFromID ¶
func IOBluetoothUserNotificationFromID(id objc.ID) *IOBluetoothUserNotification
func (*IOBluetoothUserNotification) Unregister ¶
func (o *IOBluetoothUserNotification) Unregister()
type IOBluetoothUserNotificationChannelDirection ¶
type IOBluetoothUserNotificationChannelDirection int64
const ( KIOBluetoothUserNotificationChannelDirectionAny IOBluetoothUserNotificationChannelDirection = 0 KIOBluetoothUserNotificationChannelDirectionIncoming IOBluetoothUserNotificationChannelDirection = 1 KIOBluetoothUserNotificationChannelDirectionOutgoing IOBluetoothUserNotificationChannelDirection = 2 )
func (IOBluetoothUserNotificationChannelDirection) String ¶
func (e IOBluetoothUserNotificationChannelDirection) String() string
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type MDLabelDomain ¶
type MDLabelDomain int64
@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type OBEXAbortCommandData ¶
type OBEXConnectCommandData ¶
type OBEXConnectFlagValues ¶
type OBEXConnectFlagValues int64
const ( KOBEXConnectFlagNone OBEXConnectFlagValues = 0 KOBEXConnectFlagSupportMultipleItLMPConnections OBEXConnectFlagValues = 1 KOBEXConnectFlag1Reserved OBEXConnectFlagValues = 2 KOBEXConnectFlag2Reserved OBEXConnectFlagValues = 4 KOBEXConnectFlag3Reserved OBEXConnectFlagValues = 8 KOBEXConnectFlag4Reserved OBEXConnectFlagValues = 16 KOBEXConnectFlag5Reserved OBEXConnectFlagValues = 32 KOBEXConnectFlag6Reserved OBEXConnectFlagValues = 64 KOBEXConnectFlag7Reserved OBEXConnectFlagValues = 128 )
func (OBEXConnectFlagValues) String ¶
func (e OBEXConnectFlagValues) String() string
type OBEXErrorCodes ¶
type OBEXErrorCodes int64
const ( KOBEXErrorRangeMin OBEXErrorCodes = -21850 KOBEXErrorRangeMax OBEXErrorCodes = -21899 KOBEXSuccess OBEXErrorCodes = 0 KOBEXGeneralError OBEXErrorCodes = -21850 KOBEXNoResourcesError OBEXErrorCodes = -21851 KOBEXUnsupportedError OBEXErrorCodes = -21852 KOBEXInternalError OBEXErrorCodes = -21853 KOBEXBadArgumentError OBEXErrorCodes = -21854 KOBEXTimeoutError OBEXErrorCodes = -21855 KOBEXBadRequestError OBEXErrorCodes = -21856 KOBEXCancelledError OBEXErrorCodes = -21857 KOBEXForbiddenError OBEXErrorCodes = -21858 KOBEXNotAcceptableError OBEXErrorCodes = -21860 KOBEXConflictError OBEXErrorCodes = -21861 KOBEXMethodNotAllowedError OBEXErrorCodes = -21862 KOBEXNotFoundError OBEXErrorCodes = -21863 KOBEXNotImplementedError OBEXErrorCodes = -21864 KOBEXPreconditionFailedError OBEXErrorCodes = -21865 KOBEXSessionBusyError OBEXErrorCodes = -21875 KOBEXSessionNotConnectedError OBEXErrorCodes = -21876 KOBEXSessionBadRequestError OBEXErrorCodes = -21877 KOBEXSessionBadResponseError OBEXErrorCodes = -21878 KOBEXSessionNoTransportError OBEXErrorCodes = -21879 KOBEXSessionTransportDiedError OBEXErrorCodes = -21880 KOBEXSessionTimeoutError OBEXErrorCodes = -21881 KOBEXSessionAlreadyConnectedError OBEXErrorCodes = -21882 )
func (OBEXErrorCodes) String ¶
func (e OBEXErrorCodes) String() string
type OBEXErrorData ¶
type OBEXFileTransferServices ¶
type OBEXFileTransferServices struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/obexfiletransferservices
func OBEXFileTransferServicesFromID ¶
func OBEXFileTransferServicesFromID(id objc.ID) *OBEXFileTransferServices
func OBEXFileTransferServicesWithOBEXSession ¶
func OBEXFileTransferServicesWithOBEXSession(inOBEXSession *IOBluetoothOBEXSession) *OBEXFileTransferServices
@method withOBEXSession: @abstract Create a new OBEXFileTransferServices object @discussion This object must be constructed with a valid IOBluetoothOBEXSession. The given IOBluetoothOBEXSession does not need to be connected to the remote server. This module can be manually connected through the connect(void) method. @param inOBEXSession A valid IOBluetoothOBEXSession @result A newly created OBEXFileTransferServices object on success, nil on failure
func (*OBEXFileTransferServices) Abort ¶
func (o *OBEXFileTransferServices) Abort() int32
@method abort @abstract Abort the current operation @discussion Attempts send an abort request to the remote device. Returns the OBEXFileTransferServices object to an idle state though the state of the remote device is not guaranteed. @result kOBEXSuccess, or kOBEXGeneralError if no command is in progress. ABORT commands can only be sent on our turn, meaning we may have to timeout if the target side never responds to the command in progress. In that case this object will call back with a status of kOBEXTimeoutError and an error. Further results returned through the fileTransferServicesAbortComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) ChangeCurrentFolderBackward ¶
func (o *OBEXFileTransferServices) ChangeCurrentFolderBackward() int32
@method changeCurrentFolderBackward @abstract Change to the directory above the current level if not at the root @discussion Equivalent to 'cd ..' only if remote path is not already at root. @result kOBEXSuccess or kOBEXSessionBusyError initially. Further results returned through the fileTransferServicesPathChangeComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) ChangeCurrentFolderForwardToPath ¶
func (o *OBEXFileTransferServices) ChangeCurrentFolderForwardToPath(inDirName *foundation.NSString) int32
@method changeCurrentFolderForwardToPath: @abstract Change the remote path @discussion Equivalent to 'cd dirName'. @param inDirName The name of the remote folder to be set as current @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError initially. Further results returned through the fileTransferServicesPathChangeComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) ChangeCurrentFolderToRoot ¶
func (o *OBEXFileTransferServices) ChangeCurrentFolderToRoot() int32
@method changeCurrentFolderRoot @abstract Asynchronously change to the remote root directory @discussion Equivalent to 'cd ~/' @result kOBEXSuccess or kOBEXSessionBusyError initially. Further results returned through the fileTransferServicesPathChangeComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) ConnectToFTPService ¶
func (o *OBEXFileTransferServices) ConnectToFTPService() int32
@method connectToFTPService @abstract Connect to a remote device for FTP operations @discussion If the OBEXSession given to OBEXFileTransferServices on creation is not connected it can be manually connected through this method. @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXSessionAlreadyConnectedError, kOBEXNoResourcesError initially. Further results returned through the fileTransferServicesConnectionComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) ConnectToObjectPushService ¶
func (o *OBEXFileTransferServices) ConnectToObjectPushService() int32
@method connectToObjectPushService @abstract Connect to a remote device for ObjectPush operations. Most of the FTP functionality of this object will be disabled. @discussion If the OBEXSession given to OBEXFileTransferServices on creation is not connected it can be manually connected through this method. @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXSessionAlreadyConnectedError, kOBEXNoResourcesError initially. Further results returned through the fileTransferServicesConnectionComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) CopyRemoteFileToLocalPath ¶
func (o *OBEXFileTransferServices) CopyRemoteFileToLocalPath(inRemoteFileName *foundation.NSString, inLocalPathAndName *foundation.NSString) int32
@method copyRemoteFile:toLocalPath: @abstract Copy a remote file to a local path @discussion Equivalent to 'cp remotePath/remoteFileName localPathAndName'. @param inRemoteFileName The name of the remote file to get @param inLocalPathAndName The path and name of where the received file will go @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError. initially. Further results returned through the fileTransferServicesGetComplete: and fileTransferServicesGetProgress: delegate methods if initially successful.
func (*OBEXFileTransferServices) CreateFolder ¶
func (o *OBEXFileTransferServices) CreateFolder(inDirName *foundation.NSString) int32
@method createFolder: @abstract Create a folder on the remote target @discussion Equivalent to 'mkdir dirName'. @param inDirName The name of the folder to be created @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError initially. Further results returned through the fileTransferServicesCreateFolderComplete delegate method if initially successful.
func (*OBEXFileTransferServices) CurrentPath ¶
func (o *OBEXFileTransferServices) CurrentPath() *foundation.NSString
@method currentPath @abstract Get the remote current directory path during an FTP session @discussion This path is changed with each path-specific command called on OBEXFileTransferServices. @result The current path being browsed over FTP
func (*OBEXFileTransferServices) Delegate ¶
func (o *OBEXFileTransferServices) Delegate() objc.ID
func (*OBEXFileTransferServices) Disconnect ¶
func (o *OBEXFileTransferServices) Disconnect() int32
@method disconnect @abstract Disconnect from the remote device @discussion The user can manually disconnect the OBEXSession from the remote device if they want to. OBEXFileTransferServices will disconnect the OBEXSession at release only if it was responsible for opening the connection via a connect method. @result kOBEXSuccess, kOBEXSessionNotConnectedError, or kOBEXSessionBusyError initially. Further results returned through the fileTransferServicesDisconnectionComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) GetDefaultVCard ¶
func (o *OBEXFileTransferServices) GetDefaultVCard(inLocalPathAndName *foundation.NSString) int32
@method getDefaultVCard: @abstract Get the remote default VCard, if it is supported @discussion Some devices such as cellphones and computers support default VCards @param inLocalPathAndName The path and name of where the received file will go @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError initially. Further results returned through the fileTransferServicesGetComplete: and fileTransferServicesGetProgress: delegate methods if initially successful.
func (*OBEXFileTransferServices) InitWithOBEXSession ¶
func (o *OBEXFileTransferServices) InitWithOBEXSession(inOBEXSession *IOBluetoothOBEXSession) *OBEXFileTransferServices
@method initWithOBEXSession: @abstract Create a new OBEXFileTransferServices object @discussion This object must be constructed with a valid IOBluetoothOBEXSession. The given IOBluetoothOBEXSession does not need to be connected to the remote server. OBEXFileTransferServices can be manually connected through the provided connection methods. @param inOBEXSession A valid IOBluetoothOBEXSession @result A newly created OBEXFileTransferServices object on success, nil on failure
func (*OBEXFileTransferServices) IsBusy ¶
func (o *OBEXFileTransferServices) IsBusy() bool
@method isBusy @abstract Get the action state of the module @discussion OBEXFileTransferServices will be considered "busy" when an operation in taking place or has not completed. Calling abort: on this module will not automatically reset its busy state. The user will have to wait for the operation to complete or for the current operation to timeout. @result Success or failure code.
func (*OBEXFileTransferServices) IsConnected ¶
func (o *OBEXFileTransferServices) IsConnected() bool
@method isConnected @abstract Get the connected state of this module. @discussion Asks the OBEXSession that was passed to it on creation if it has an open OBEX connection @result Success or failure code.
func (*OBEXFileTransferServices) RemoveItem ¶
func (o *OBEXFileTransferServices) RemoveItem(inItemName *foundation.NSString) int32
@method removeItem: @abstract Remove a remote item. @discussion Not supported for use on Apple computer targets @param inItemName The name of the remote item to be removed @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError initially. Further results returned through the fileTransferServicesRemoveItemComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) RetrieveFolderListing ¶
func (o *OBEXFileTransferServices) RetrieveFolderListing() int32
@method retrieveFolderListing @abstract Get a remote directory listing @discussion Equivalent to 'ls'. @result kOBEXSuccess or kOBEXSessionBusyError initially. Further results returned through the fileTransferServicesRetrieveFolderListingComplete: delegate method if initially successful.
func (*OBEXFileTransferServices) SendDataTypeName ¶
func (o *OBEXFileTransferServices) SendDataTypeName(inData *foundation.NSData, inType *foundation.NSString, inName *foundation.NSString) int32
@method sendData:type:name: @abstract Send data to a remote target @discussion Use this method when you have data to send but no file to read from. @param inData The data to be sent @param inType The type of the data to be sent that will be used in the OBEX type header, usually a mime-type. For example, use "text/x-vCard" when sending vCards. This argument is optional. @param inName The name of the file that the data can be referenced as. @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError initially. Further results returned through the fileTransferServicesSendComplete: and fileTransferServicesSendProgress: delegate methods if initially successful.
func (*OBEXFileTransferServices) SendFile ¶
func (o *OBEXFileTransferServices) SendFile(inLocalPathAndName *foundation.NSString) int32
@method sendFile: @abstract Put a local file to the remote target @discussion Equivalent to 'mv inLocalFilePath remoteCurrentPath'. @param inLocalPathAndName The name and path of the file to be sent an instance of OBEXFilePut. @result kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError initially. Further results returned through the fileTransferServicesSendComplete: and fileTransferServicesSendProgress: delegate methods if initially successful.
func (*OBEXFileTransferServices) SetDelegate ¶
func (o *OBEXFileTransferServices) SetDelegate(delegate objc.ID)
type OBEXGetCommandData ¶
type OBEXHeaderIdentifiers ¶
type OBEXHeaderIdentifiers int64
const ( KOBEXHeaderIDName OBEXHeaderIdentifiers = 1 KOBEXHeaderIDDescription OBEXHeaderIdentifiers = 5 KOBEXHeaderIDReservedRangeStart OBEXHeaderIdentifiers = 16 KOBEXHeaderIDReservedRangeEnd OBEXHeaderIdentifiers = 47 KOBEXHeaderIDUserDefinedRangeStart OBEXHeaderIdentifiers = 48 KOBEXHeaderIDUserDefinedRangeEnd OBEXHeaderIdentifiers = 63 KOBEXHeaderIDType OBEXHeaderIdentifiers = 66 KOBEXHeaderIDTimeISO OBEXHeaderIdentifiers = 68 KOBEXHeaderIDTarget OBEXHeaderIdentifiers = 70 KOBEXHeaderIDHTTP OBEXHeaderIdentifiers = 71 KOBEXHeaderIDBody OBEXHeaderIdentifiers = 72 KOBEXHeaderIDEndOfBody OBEXHeaderIdentifiers = 73 KOBEXHeaderIDWho OBEXHeaderIdentifiers = 74 KOBEXHeaderIDAppParameters OBEXHeaderIdentifiers = 76 KOBEXHeaderIDAuthorizationChallenge OBEXHeaderIdentifiers = 77 KOBEXHeaderIDAuthorizationResponse OBEXHeaderIdentifiers = 78 KOBEXHeaderIDObjectClass OBEXHeaderIdentifiers = 79 KOBEXHeaderIDCount OBEXHeaderIdentifiers = 192 KOBEXHeaderIDLength OBEXHeaderIdentifiers = 195 KOBEXHeaderIDTime4Byte OBEXHeaderIdentifiers = 196 KOBEXHeaderIDConnectionID OBEXHeaderIdentifiers = 203 KOBEXHeaderIDOBEX13WANUUID OBEXHeaderIdentifiers = 80 KOBEXHeaderIDOBEX13ObjectClass OBEXHeaderIdentifiers = 81 KOBEXHeaderIDOBEX13SessionParameters OBEXHeaderIdentifiers = 82 KOBEXHeaderIDOBEX13SessionSequenceNumber OBEXHeaderIdentifiers = 147 KOBEXHeaderIDOBEX13CreatorID OBEXHeaderIdentifiers = 207 )
func (OBEXHeaderIdentifiers) String ¶
func (e OBEXHeaderIdentifiers) String() string
type OBEXNonceFlagValues ¶
type OBEXNonceFlagValues int64
const ( KOBEXNonceFlagNone OBEXNonceFlagValues = 0 KOBEXNonceFlagSendUserIDInResponse OBEXNonceFlagValues = 1 KOBEXNonceFlagAccessModeReadOnly OBEXNonceFlagValues = 2 KOBEXNonceFlag2Reserved OBEXNonceFlagValues = 4 KOBEXNonceFlag3Reserved OBEXNonceFlagValues = 8 KOBEXNonceFlag4Reserved OBEXNonceFlagValues = 16 KOBEXNonceFlag5Reserved OBEXNonceFlagValues = 32 KOBEXNonceFlag6Reserved OBEXNonceFlagValues = 64 KOBEXNonceFlag7Reserved OBEXNonceFlagValues = 128 )
func (OBEXNonceFlagValues) String ¶
func (e OBEXNonceFlagValues) String() string
type OBEXOpCodeCommandValues ¶
type OBEXOpCodeCommandValues int64
const ( KOBEXOpCodeReserved OBEXOpCodeCommandValues = 4 KOBEXOpCodeConnect OBEXOpCodeCommandValues = 128 KOBEXOpCodeDisconnect OBEXOpCodeCommandValues = 129 KOBEXOpCodePut OBEXOpCodeCommandValues = 2 KOBEXOpCodePutWithHighBitSet OBEXOpCodeCommandValues = 130 KOBEXOpCodeGet OBEXOpCodeCommandValues = 3 KOBEXOpCodeGetWithHighBitSet OBEXOpCodeCommandValues = 131 KOBEXOpCodeReservedWithHighBitSet OBEXOpCodeCommandValues = 132 KOBEXOpCodeSetPath OBEXOpCodeCommandValues = 133 KOBEXOpCodeAbort OBEXOpCodeCommandValues = 255 KOBEXOpCodeReservedRangeStart OBEXOpCodeCommandValues = 6 KOBEXOpCodeReservedRangeEnd OBEXOpCodeCommandValues = 15 KOBEXOpCodeUserDefinedStart OBEXOpCodeCommandValues = 16 KOBEXOpCodeUserDefinedEnd OBEXOpCodeCommandValues = 31 )
func (OBEXOpCodeCommandValues) String ¶
func (e OBEXOpCodeCommandValues) String() string
type OBEXOpCodeResponseValues ¶
type OBEXOpCodeResponseValues int64
const ( KOBEXResponseCodeReservedRangeStart OBEXOpCodeResponseValues = 0 KOBEXResponseCodeReservedRangeEnd OBEXOpCodeResponseValues = 15 KOBEXResponseCodeContinue OBEXOpCodeResponseValues = 16 KOBEXResponseCodeContinueWithFinalBit OBEXOpCodeResponseValues = 144 KOBEXResponseCodeSuccess OBEXOpCodeResponseValues = 32 KOBEXResponseCodeSuccessWithFinalBit OBEXOpCodeResponseValues = 160 KOBEXResponseCodeCreated OBEXOpCodeResponseValues = 33 KOBEXResponseCodeCreatedWithFinalBit OBEXOpCodeResponseValues = 161 KOBEXResponseCodeAccepted OBEXOpCodeResponseValues = 34 KOBEXResponseCodeAcceptedWithFinalBit OBEXOpCodeResponseValues = 162 KOBEXResponseCodeNonAuthoritativeInfo OBEXOpCodeResponseValues = 35 KOBEXResponseCodeNonAuthoritativeInfoWithFinalBit OBEXOpCodeResponseValues = 163 KOBEXResponseCodeNoContent OBEXOpCodeResponseValues = 36 KOBEXResponseCodeNoContentWithFinalBit OBEXOpCodeResponseValues = 164 KOBEXResponseCodeResetContent OBEXOpCodeResponseValues = 37 KOBEXResponseCodeResetContentWithFinalBit OBEXOpCodeResponseValues = 165 KOBEXResponseCodePartialContent OBEXOpCodeResponseValues = 38 KOBEXResponseCodePartialContentWithFinalBit OBEXOpCodeResponseValues = 166 KOBEXResponseCodeMultipleChoices OBEXOpCodeResponseValues = 48 KOBEXResponseCodeMultipleChoicesWithFinalBit OBEXOpCodeResponseValues = 176 KOBEXResponseCodeMovedPermanently OBEXOpCodeResponseValues = 49 KOBEXResponseCodeMovedPermanentlyWithFinalBit OBEXOpCodeResponseValues = 177 KOBEXResponseCodeMovedTemporarily OBEXOpCodeResponseValues = 50 KOBEXResponseCodeMovedTemporarilyWithFinalBit OBEXOpCodeResponseValues = 178 KOBEXResponseCodeSeeOther OBEXOpCodeResponseValues = 51 KOBEXResponseCodeSeeOtherWithFinalBit OBEXOpCodeResponseValues = 179 KOBEXResponseCodeNotModified OBEXOpCodeResponseValues = 52 KOBEXResponseCodeNotModifiedWithFinalBit OBEXOpCodeResponseValues = 180 KOBEXResponseCodeUseProxy OBEXOpCodeResponseValues = 53 KOBEXResponseCodeUseProxyWithFinalBit OBEXOpCodeResponseValues = 181 KOBEXResponseCodeBadRequest OBEXOpCodeResponseValues = 64 KOBEXResponseCodeBadRequestWithFinalBit OBEXOpCodeResponseValues = 192 KOBEXResponseCodePaymentRequired OBEXOpCodeResponseValues = 66 KOBEXResponseCodePaymentRequiredWithFinalBit OBEXOpCodeResponseValues = 194 KOBEXResponseCodeForbidden OBEXOpCodeResponseValues = 67 KOBEXResponseCodeForbiddenWithFinalBit OBEXOpCodeResponseValues = 195 KOBEXResponseCodeNotFound OBEXOpCodeResponseValues = 68 KOBEXResponseCodeNotFoundWithFinalBit OBEXOpCodeResponseValues = 196 KOBEXResponseCodeMethodNotAllowed OBEXOpCodeResponseValues = 69 KOBEXResponseCodeMethodNotAllowedWithFinalBit OBEXOpCodeResponseValues = 197 KOBEXResponseCodeNotAcceptable OBEXOpCodeResponseValues = 70 KOBEXResponseCodeNotAcceptableWithFinalBit OBEXOpCodeResponseValues = 198 KOBEXResponseCodeProxyAuthenticationRequired OBEXOpCodeResponseValues = 71 KOBEXResponseCodeProxyAuthenticationRequiredWithFinalBit OBEXOpCodeResponseValues = 199 KOBEXResponseCodeRequestTimeOut OBEXOpCodeResponseValues = 72 KOBEXResponseCodeRequestTimeOutWithFinalBit OBEXOpCodeResponseValues = 200 KOBEXResponseCodeConflict OBEXOpCodeResponseValues = 73 KOBEXResponseCodeConflictWithFinalBit OBEXOpCodeResponseValues = 201 KOBEXResponseCodeGone OBEXOpCodeResponseValues = 74 KOBEXResponseCodeGoneWithFinalBit OBEXOpCodeResponseValues = 202 KOBEXResponseCodeLengthRequired OBEXOpCodeResponseValues = 75 KOBEXResponseCodeLengthRequiredFinalBit OBEXOpCodeResponseValues = 203 KOBEXResponseCodePreconditionFailed OBEXOpCodeResponseValues = 76 KOBEXResponseCodePreconditionFailedWithFinalBit OBEXOpCodeResponseValues = 204 KOBEXResponseCodeRequestedEntityTooLarge OBEXOpCodeResponseValues = 77 KOBEXResponseCodeRequestedEntityTooLargeWithFinalBit OBEXOpCodeResponseValues = 205 KOBEXResponseCodeRequestURLTooLarge OBEXOpCodeResponseValues = 78 KOBEXResponseCodeRequestURLTooLargeWithFinalBit OBEXOpCodeResponseValues = 206 KOBEXResponseCodeUnsupportedMediaType OBEXOpCodeResponseValues = 79 KOBEXResponseCodeUnsupportedMediaTypeWithFinalBit OBEXOpCodeResponseValues = 207 KOBEXResponseCodeInternalServerError OBEXOpCodeResponseValues = 80 KOBEXResponseCodeInternalServerErrorWithFinalBit OBEXOpCodeResponseValues = 208 KOBEXResponseCodeNotImplemented OBEXOpCodeResponseValues = 81 KOBEXResponseCodeNotImplementedWithFinalBit OBEXOpCodeResponseValues = 209 KOBEXResponseCodeBadGateway OBEXOpCodeResponseValues = 82 KOBEXResponseCodeBadGatewayWithFinalBit OBEXOpCodeResponseValues = 210 KOBEXResponseCodeGatewayTimeout OBEXOpCodeResponseValues = 84 KOBEXResponseCodeGatewayTimeoutWithFinalBit OBEXOpCodeResponseValues = 212 KOBEXResponseCodeHTTPVersionNotSupported OBEXOpCodeResponseValues = 85 KOBEXResponseCodeHTTPVersionNotSupportedWithFinalBit OBEXOpCodeResponseValues = 213 KOBEXResponseCodeDatabaseFull OBEXOpCodeResponseValues = 96 KOBEXResponseCodeDatabaseFullWithFinalBit OBEXOpCodeResponseValues = 224 KOBEXResponseCodeDatabaseLocked OBEXOpCodeResponseValues = 97 KOBEXResponseCodeDatabaseLockedWithFinalBit OBEXOpCodeResponseValues = 225 )
func (OBEXOpCodeResponseValues) String ¶
func (e OBEXOpCodeResponseValues) String() string
type OBEXOpCodeSessionValues ¶
type OBEXOpCodeSessionValues int64
const ( KOBEXOpCodeCreateSession OBEXOpCodeSessionValues = 0 KOBEXOpCodeCloseSession OBEXOpCodeSessionValues = 1 KOBEXOpCodeSuspendSession OBEXOpCodeSessionValues = 2 KOBEXOpCodeResumeSession OBEXOpCodeSessionValues = 3 KOBEXOpCodeSetTimeout OBEXOpCodeSessionValues = 4 )
func (OBEXOpCodeSessionValues) String ¶
func (e OBEXOpCodeSessionValues) String() string
type OBEXPutCommandData ¶
type OBEXPutFlagValues ¶
type OBEXPutFlagValues int64
const ( KOBEXPutFlagNone OBEXPutFlagValues = 0 KOBEXPutFlagGoToParentDirFirst OBEXPutFlagValues = 1 KOBEXPutFlagDontCreateDirectory OBEXPutFlagValues = 2 KOBEXPutFlag2Reserved OBEXPutFlagValues = 4 KOBEXPutFlag3Reserved OBEXPutFlagValues = 8 KOBEXPutFlag4Reserved OBEXPutFlagValues = 16 KOBEXPutFlag5Reserved OBEXPutFlagValues = 32 KOBEXPutFlag6Reserved OBEXPutFlagValues = 64 KOBEXPutFlag7Reserved OBEXPutFlagValues = 128 )
func (OBEXPutFlagValues) String ¶
func (e OBEXPutFlagValues) String() string
type OBEXRealmValues ¶
type OBEXRealmValues int64
const ( KOBEXRealmASCII OBEXRealmValues = 0 KOBEXRealmISO88591 OBEXRealmValues = 1 KOBEXRealmISO88592 OBEXRealmValues = 2 KOBEXRealmISO88593 OBEXRealmValues = 3 KOBEXRealmISO88594 OBEXRealmValues = 4 KOBEXRealmISO88595 OBEXRealmValues = 5 KOBEXRealmISO88596 OBEXRealmValues = 6 KOBEXRealmISO88597 OBEXRealmValues = 7 KOBEXRealmISO88598 OBEXRealmValues = 8 KOBEXRealmISO88599 OBEXRealmValues = 9 KOBEXRealmUNICODE OBEXRealmValues = 255 )
func (OBEXRealmValues) String ¶
func (e OBEXRealmValues) String() string
type OBEXSession ¶
type OBEXSession struct {
foundation.NSObject
}
Apple documentation: https://developer.apple.com/documentation/iobluetooth/obexsession
func OBEXSessionFromID ¶
func OBEXSessionFromID(id objc.ID) *OBEXSession
func (*OBEXSession) ClientHandleIncomingData ¶
func (o *OBEXSession) ClientHandleIncomingData(event *OBEXTransportEvent)
func (*OBEXSession) CloseTransportConnection ¶
func (o *OBEXSession) CloseTransportConnection() int32
func (*OBEXSession) GetAvailableCommandPayloadLength ¶
func (o *OBEXSession) GetAvailableCommandPayloadLength(inOpCode uint8) uint16
func (*OBEXSession) GetAvailableCommandResponsePayloadLength ¶
func (o *OBEXSession) GetAvailableCommandResponsePayloadLength(inOpCode uint8) uint16
func (*OBEXSession) GetMaxPacketLength ¶
func (o *OBEXSession) GetMaxPacketLength() uint16
func (*OBEXSession) HasOpenOBEXConnection ¶
func (o *OBEXSession) HasOpenOBEXConnection() bool
func (*OBEXSession) HasOpenTransportConnection ¶
func (o *OBEXSession) HasOpenTransportConnection() uint8
func (*OBEXSession) OBEXAbortOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXAbortResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXConnectMaxPacketLengthOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXConnectResponseFlagsMaxPacketLengthOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (o *OBEXSession) OBEXConnectResponseFlagsMaxPacketLengthOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon(inResponseOpCode uint8, inFlags uint8, inMaxPacketLength uint16, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength uint, inSelector objc.SEL, inTarget objc.ID, inUserRefCon unsafe.Pointer) int32
func (*OBEXSession) OBEXDisconnectOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXDisconnectResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXGetHeadersHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXGetResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXPutHeadersDataHeadersDataLengthBodyDataBodyDataLengthEventSelectorSelectorTargetRefCon ¶
func (o *OBEXSession) OBEXPutHeadersDataHeadersDataLengthBodyDataBodyDataLengthEventSelectorSelectorTargetRefCon(isFinalChunk uint8, inHeadersData unsafe.Pointer, inHeadersDataLength uint, inBodyData unsafe.Pointer, inBodyDataLength uint, inSelector objc.SEL, inTarget objc.ID, inUserRefCon unsafe.Pointer) int32
func (*OBEXSession) OBEXPutResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXSetPathConstantsOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OBEXSetPathResponseOptionalHeadersOptionalHeadersLengthEventSelectorSelectorTargetRefCon ¶
func (*OBEXSession) OpenTransportConnectionSelectorTargetRefCon ¶
func (*OBEXSession) SendDataToTransportDataLength ¶
func (o *OBEXSession) SendDataToTransportDataLength(inDataToSend unsafe.Pointer, inDataLength uint) int32
func (*OBEXSession) ServerHandleIncomingData ¶
func (o *OBEXSession) ServerHandleIncomingData(event *OBEXTransportEvent)
func (*OBEXSession) SetEventCallback ¶
func (o *OBEXSession) SetEventCallback(inEventCallback unsafe.Pointer)
func (*OBEXSession) SetEventRefCon ¶
func (o *OBEXSession) SetEventRefCon(inRefCon unsafe.Pointer)
func (*OBEXSession) SetEventSelectorTargetRefCon ¶
type OBEXSessionEvent ¶
type OBEXSessionEventTypes ¶
type OBEXSessionEventTypes int64
const ( KOBEXSessionEventTypeConnectCommandResponseReceived OBEXSessionEventTypes = 1329808707 KOBEXSessionEventTypeDisconnectCommandResponseReceived OBEXSessionEventTypes = 1329808708 KOBEXSessionEventTypePutCommandResponseReceived OBEXSessionEventTypes = 1329808720 KOBEXSessionEventTypeGetCommandResponseReceived OBEXSessionEventTypes = 1329808711 KOBEXSessionEventTypeSetPathCommandResponseReceived OBEXSessionEventTypes = 1329808723 KOBEXSessionEventTypeAbortCommandResponseReceived OBEXSessionEventTypes = 1329808705 KOBEXSessionEventTypeConnectCommandReceived OBEXSessionEventTypes = 1330857283 KOBEXSessionEventTypeDisconnectCommandReceived OBEXSessionEventTypes = 1330857284 KOBEXSessionEventTypePutCommandReceived OBEXSessionEventTypes = 1330857296 KOBEXSessionEventTypeGetCommandReceived OBEXSessionEventTypes = 1330857287 KOBEXSessionEventTypeSetPathCommandReceived OBEXSessionEventTypes = 1330857299 KOBEXSessionEventTypeAbortCommandReceived OBEXSessionEventTypes = 1330857281 KOBEXSessionEventTypeError OBEXSessionEventTypes = 1330070853 )
func (OBEXSessionEventTypes) String ¶
func (e OBEXSessionEventTypes) String() string
type OBEXSessionParameterTags ¶
type OBEXSessionParameterTags int64
const ( KOBEXSessionParameterTagDeviceAddress OBEXSessionParameterTags = 0 KOBEXSessionParameterTagNonce OBEXSessionParameterTags = 1 KOBEXSessionParameterTagSessionID OBEXSessionParameterTags = 2 KOBEXSessionParameterTagNextSequenceNumber OBEXSessionParameterTags = 3 KOBEXSessionParameterTagTimeout OBEXSessionParameterTags = 4 KOBEXSessionParameterTagSessionOpcode OBEXSessionParameterTags = 5 )
func (OBEXSessionParameterTags) String ¶
func (e OBEXSessionParameterTags) String() string
type OBEXSetPathCommandData ¶
type OBEXTransportEvent ¶
type OBEXTransportEventTypes ¶
type OBEXTransportEventTypes int64
const ( KOBEXTransportEventTypeDataReceived OBEXTransportEventTypes = 1147237441 KOBEXTransportEventTypeStatus OBEXTransportEventTypes = 1400136020 )
func (OBEXTransportEventTypes) String ¶
func (e OBEXTransportEventTypes) String() string
type OBEXVersions ¶
type OBEXVersions int64
const (
KOBEXVersion10 OBEXVersions = 16
)
func (OBEXVersions) String ¶
func (e OBEXVersions) String() string
type OpaqueIOBluetoothObjectRef ¶
type OpaqueIOBluetoothObjectRef struct{}
OpaqueIOBluetoothObjectRef is an opaque type.
type OpaqueOBEXSessionRef ¶
type OpaqueOBEXSessionRef struct{}
OpaqueOBEXSessionRef is an opaque type.
type OpaquePrivOBEXSessionData ¶
type OpaquePrivOBEXSessionData struct{}
OpaquePrivOBEXSessionData is an opaque type.
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type ProtocolParameters ¶
type ProtocolParameters int64
const ( KBluetoothSDPProtocolParameterL2CAPPSM ProtocolParameters = 1 KBluetoothSDPProtocolParameterRFCOMMChannel ProtocolParameters = 1 KBluetoothSDPProtocolParameterTCPPort ProtocolParameters = 1 KBluetoothSDPProtocolParameterUDPPort ProtocolParameters = 1 KBluetoothSDPProtocolParameterBNEPVersion ProtocolParameters = 1 KBluetoothSDPProtocolParameterBNEPSupportedNetworkPacketTypeList ProtocolParameters = 2 )
func (ProtocolParameters) String ¶
func (e ProtocolParameters) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type SDPAttributeDeviceIdentificationRecord ¶
type SDPAttributeDeviceIdentificationRecord int64
const ( KBluetoothSDPAttributeDeviceIdentifierServiceDescription SDPAttributeDeviceIdentificationRecord = 1 KBluetoothSDPAttributeDeviceIdentifierDocumentationURL SDPAttributeDeviceIdentificationRecord = 10 KBluetoothSDPAttributeDeviceIdentifierClientExecutableURL SDPAttributeDeviceIdentificationRecord = 11 KBluetoothSDPAttributeDeviceIdentifierSpecificationID SDPAttributeDeviceIdentificationRecord = 512 KBluetoothSDPAttributeDeviceIdentifierVendorID SDPAttributeDeviceIdentificationRecord = 513 KBluetoothSDPAttributeDeviceIdentifierProductID SDPAttributeDeviceIdentificationRecord = 514 KBluetoothSDPAttributeDeviceIdentifierVersion SDPAttributeDeviceIdentificationRecord = 515 KBluetoothSDPAttributeDeviceIdentifierPrimaryRecord SDPAttributeDeviceIdentificationRecord = 516 KBluetoothSDPAttributeDeviceIdentifierVendorIDSource SDPAttributeDeviceIdentificationRecord = 517 KBluetoothSDPAttributeDeviceIdentifierReservedRangeStart SDPAttributeDeviceIdentificationRecord = 518 KBluetoothSDPAttributeDeviceIdentifierReservedRangeEnd SDPAttributeDeviceIdentificationRecord = 767 )
func (SDPAttributeDeviceIdentificationRecord) String ¶
func (e SDPAttributeDeviceIdentificationRecord) String() string
type SDPAttributeIdentifierCodes ¶
type SDPAttributeIdentifierCodes int64
const ( KBluetoothSDPAttributeIdentifierServiceRecordHandle SDPAttributeIdentifierCodes = 0 KBluetoothSDPAttributeIdentifierServiceClassIDList SDPAttributeIdentifierCodes = 1 KBluetoothSDPAttributeIdentifierServiceRecordState SDPAttributeIdentifierCodes = 2 KBluetoothSDPAttributeIdentifierServiceID SDPAttributeIdentifierCodes = 3 KBluetoothSDPAttributeIdentifierProtocolDescriptorList SDPAttributeIdentifierCodes = 4 KBluetoothSDPAttributeIdentifierBrowseGroupList SDPAttributeIdentifierCodes = 5 KBluetoothSDPAttributeIdentifierLanguageBaseAttributeIDList SDPAttributeIdentifierCodes = 6 KBluetoothSDPAttributeIdentifierServiceInfoTimeToLive SDPAttributeIdentifierCodes = 7 KBluetoothSDPAttributeIdentifierServiceAvailability SDPAttributeIdentifierCodes = 8 KBluetoothSDPAttributeIdentifierBluetoothProfileDescriptorList SDPAttributeIdentifierCodes = 9 KBluetoothSDPAttributeIdentifierDocumentationURL SDPAttributeIdentifierCodes = 10 KBluetoothSDPAttributeIdentifierClientExecutableURL SDPAttributeIdentifierCodes = 11 KBluetoothSDPAttributeIdentifierIconURL SDPAttributeIdentifierCodes = 12 KBluetoothSDPAttributeIdentifierAdditionalProtocolsDescriptorList SDPAttributeIdentifierCodes = 13 KBluetoothSDPAttributeIdentifierVersionNumberList SDPAttributeIdentifierCodes = 512 KBluetoothSDPAttributeIdentifierServiceDatabaseState SDPAttributeIdentifierCodes = 513 KBluetoothSDPAttributeIdentifierGroupID SDPAttributeIdentifierCodes = 512 KBluetoothSDPAttributeIdentifierIPSubnet SDPAttributeIdentifierCodes = 512 KBluetoothSDPAttributeIdentifierHIDReleaseNumber SDPAttributeIdentifierCodes = 512 KBluetoothSDPAttributeIdentifierHIDParserVersion SDPAttributeIdentifierCodes = 513 KBluetoothSDPAttributeIdentifierHIDDeviceSubclass SDPAttributeIdentifierCodes = 514 KBluetoothSDPAttributeIdentifierHIDCountryCode SDPAttributeIdentifierCodes = 515 KBluetoothSDPAttributeIdentifierHIDVirtualCable SDPAttributeIdentifierCodes = 516 KBluetoothSDPAttributeIdentifierHIDReconnectInitiate SDPAttributeIdentifierCodes = 517 KBluetoothSDPAttributeIdentifierHIDDescriptorList SDPAttributeIdentifierCodes = 518 KBluetoothSDPAttributeIdentifierHIDLangIDBaseList SDPAttributeIdentifierCodes = 519 KBluetoothSDPAttributeIdentifierHIDSDPDisable SDPAttributeIdentifierCodes = 520 KBluetoothSDPAttributeIdentifierHIDBatteryPower SDPAttributeIdentifierCodes = 521 KBluetoothSDPAttributeIdentifierHIDRemoteWake SDPAttributeIdentifierCodes = 522 KBluetoothSDPAttributeIdentifierHIDProfileVersion SDPAttributeIdentifierCodes = 523 KBluetoothSDPAttributeIdentifierHIDSupervisionTimeout SDPAttributeIdentifierCodes = 524 KBluetoothSDPAttributeIdentifierHIDNormallyConnectable SDPAttributeIdentifierCodes = 525 KBluetoothSDPAttributeIdentifierHIDBootDevice SDPAttributeIdentifierCodes = 526 KBluetoothSDPAttributeIdentifierHIDSSRHostMaxLatency SDPAttributeIdentifierCodes = 527 KBluetoothSDPAttributeIdentifierHIDSSRHostMinTimeout SDPAttributeIdentifierCodes = 528 KBluetoothSDPAttributeIdentifierServiceVersion SDPAttributeIdentifierCodes = 768 KBluetoothSDPAttributeIdentifierExternalNetwork SDPAttributeIdentifierCodes = 769 KBluetoothSDPAttributeIdentifierNetwork SDPAttributeIdentifierCodes = 769 KBluetoothSDPAttributeIdentifierSupportedDataStoresList SDPAttributeIdentifierCodes = 769 KBluetoothSDPAttributeIdentifierFaxClass1Support SDPAttributeIdentifierCodes = 770 KBluetoothSDPAttributeIdentifierRemoteAudioVolumeControl SDPAttributeIdentifierCodes = 770 KBluetoothSDPAttributeIdentifierFaxClass2_0Support SDPAttributeIdentifierCodes = 771 KBluetoothSDPAttributeIdentifierSupporterFormatsList SDPAttributeIdentifierCodes = 771 KBluetoothSDPAttributeIdentifierFaxClass2Support SDPAttributeIdentifierCodes = 772 KBluetoothSDPAttributeIdentifierAudioFeedbackSupport SDPAttributeIdentifierCodes = 773 KBluetoothSDPAttributeIdentifierNetworkAddress SDPAttributeIdentifierCodes = 774 KBluetoothSDPAttributeIdentifierWAPGateway SDPAttributeIdentifierCodes = 775 KBluetoothSDPAttributeIdentifierHomepageURL SDPAttributeIdentifierCodes = 776 KBluetoothSDPAttributeIdentifierWAPStackType SDPAttributeIdentifierCodes = 777 KBluetoothSDPAttributeIdentifierSecurityDescription SDPAttributeIdentifierCodes = 778 KBluetoothSDPAttributeIdentifierNetAccessType SDPAttributeIdentifierCodes = 779 KBluetoothSDPAttributeIdentifierMaxNetAccessRate SDPAttributeIdentifierCodes = 780 KBluetoothSDPAttributeIdentifierSupportedCapabilities SDPAttributeIdentifierCodes = 784 KBluetoothSDPAttributeIdentifierSupportedFeatures SDPAttributeIdentifierCodes = 785 KBluetoothSDPAttributeIdentifierSupportedFunctions SDPAttributeIdentifierCodes = 786 KBluetoothSDPAttributeIdentifierTotalImagingDataCapacity SDPAttributeIdentifierCodes = 787 KBluetoothSDPAttributeIdentifierServiceName SDPAttributeIdentifierCodes = 0 KBluetoothSDPAttributeIdentifierServiceDescription SDPAttributeIdentifierCodes = 1 KBluetoothSDPAttributeIdentifierProviderName SDPAttributeIdentifierCodes = 2 )
func (SDPAttributeIdentifierCodes) String ¶
func (e SDPAttributeIdentifierCodes) String() string
type SDPServiceClasses ¶
type SDPServiceClasses int64
const ( KBluetoothSDPUUID16ServiceClassServiceDiscoveryServer SDPServiceClasses = 4096 KBluetoothSDPUUID16ServiceClassBrowseGroupDescriptor SDPServiceClasses = 4097 KBluetoothSDPUUID16ServiceClassPublicBrowseGroup SDPServiceClasses = 4098 KBluetoothSDPUUID16ServiceClassSerialPort SDPServiceClasses = 4353 KBluetoothSDPUUID16ServiceClassLANAccessUsingPPP SDPServiceClasses = 4354 KBluetoothSDPUUID16ServiceClassDialupNetworking SDPServiceClasses = 4355 KBluetoothSDPUUID16ServiceClassIrMCSync SDPServiceClasses = 4356 KBluetoothSDPUUID16ServiceClassOBEXObjectPush SDPServiceClasses = 4357 KBluetoothSDPUUID16ServiceClassOBEXFileTransfer SDPServiceClasses = 4358 KBluetoothSDPUUID16ServiceClassIrMCSyncCommand SDPServiceClasses = 4359 KBluetoothSDPUUID16ServiceClassHeadset SDPServiceClasses = 4360 KBluetoothSDPUUID16ServiceClassCordlessTelephony SDPServiceClasses = 4361 KBluetoothSDPUUID16ServiceClassAudioSource SDPServiceClasses = 4362 KBluetoothSDPUUID16ServiceClassAudioSink SDPServiceClasses = 4363 KBluetoothSDPUUID16ServiceClassAVRemoteControlTarget SDPServiceClasses = 4364 KBluetoothSDPUUID16ServiceClassAdvancedAudioDistribution SDPServiceClasses = 4365 KBluetoothSDPUUID16ServiceClassAVRemoteControl SDPServiceClasses = 4366 KBluetoothSDPUUID16ServiceClassAVRemoteControlController SDPServiceClasses = 4367 KBluetoothSDPUUID16ServiceClassIntercom SDPServiceClasses = 4368 KBluetoothSDPUUID16ServiceClassFax SDPServiceClasses = 4369 KBluetoothSDPUUID16ServiceClassHeadsetAudioGateway SDPServiceClasses = 4370 KBluetoothSDPUUID16ServiceClassWAP SDPServiceClasses = 4371 KBluetoothSDPUUID16ServiceClassWAPClient SDPServiceClasses = 4372 KBluetoothSDPUUID16ServiceClassPANU SDPServiceClasses = 4373 KBluetoothSDPUUID16ServiceClassNAP SDPServiceClasses = 4374 KBluetoothSDPUUID16ServiceClassGN SDPServiceClasses = 4375 KBluetoothSDPUUID16ServiceClassDirectPrinting SDPServiceClasses = 4376 KBluetoothSDPUUID16ServiceClassReferencePrinting SDPServiceClasses = 4377 KBluetoothSDPUUID16ServiceClassImaging SDPServiceClasses = 4378 KBluetoothSDPUUID16ServiceClassImagingResponder SDPServiceClasses = 4379 KBluetoothSDPUUID16ServiceClassImagingAutomaticArchive SDPServiceClasses = 4380 KBluetoothSDPUUID16ServiceClassImagingReferencedObjects SDPServiceClasses = 4381 KBluetoothSDPUUID16ServiceClassHandsFree SDPServiceClasses = 4382 KBluetoothSDPUUID16ServiceClassHandsFreeAudioGateway SDPServiceClasses = 4383 KBluetoothSDPUUID16ServiceClassDirectPrintingReferenceObjectsService SDPServiceClasses = 4384 KBluetoothSDPUUID16ServiceClassReflectedUI SDPServiceClasses = 4385 KBluetoothSDPUUID16ServiceClassBasicPrinting SDPServiceClasses = 4386 KBluetoothSDPUUID16ServiceClassPrintingStatus SDPServiceClasses = 4387 KBluetoothSDPUUID16ServiceClassHumanInterfaceDeviceService SDPServiceClasses = 4388 KBluetoothSDPUUID16ServiceClassHardcopyCableReplacement SDPServiceClasses = 4389 KBluetoothSDPUUID16ServiceClassHCR_Print SDPServiceClasses = 4390 KBluetoothSDPUUID16ServiceClassHCR_Scan SDPServiceClasses = 4391 KBluetoothSDPUUID16ServiceClassCommonISDNAccess SDPServiceClasses = 4392 KBluetoothSDPUUID16ServiceClassVideoConferencingGW SDPServiceClasses = 4393 KBluetoothSDPUUID16ServiceClassUDI_MT SDPServiceClasses = 4394 KBluetoothSDPUUID16ServiceClassUDI_TA SDPServiceClasses = 4395 KBluetoothSDPUUID16ServiceClassAudioVideo SDPServiceClasses = 4396 KBluetoothSDPUUID16ServiceClassSIM_Access SDPServiceClasses = 4397 KBluetoothSDPUUID16ServiceClassPhonebookAccess_PCE SDPServiceClasses = 4398 KBluetoothSDPUUID16ServiceClassPhonebookAccess_PSE SDPServiceClasses = 4399 KBluetoothSDPUUID16ServiceClassPhonebookAccess SDPServiceClasses = 4400 KBluetoothSDPUUID16ServiceClassHeadset_HS SDPServiceClasses = 4401 KBluetoothSDPUUID16ServiceClassMessageAccessServer SDPServiceClasses = 4402 KBluetoothSDPUUID16ServiceClassMessageNotificationServer SDPServiceClasses = 4403 KBluetoothSDPUUID16ServiceClassMessageAccessProfile SDPServiceClasses = 4404 KBluetoothSDPUUID16ServiceClassPnPInformation SDPServiceClasses = 4608 KBluetoothSDPUUID16ServiceClassGenericNetworking SDPServiceClasses = 4609 KBluetoothSDPUUID16ServiceClassGenericFileTransfer SDPServiceClasses = 4610 KBluetoothSDPUUID16ServiceClassGenericAudio SDPServiceClasses = 4611 KBluetoothSDPUUID16ServiceClassGenericTelephony SDPServiceClasses = 4612 KBluetoothSDPUUID16ServiceClassVideoSource SDPServiceClasses = 4867 KBluetoothSDPUUID16ServiceClassVideoSink SDPServiceClasses = 4868 KBluetoothSDPUUID16ServiceClassVideoDistribution SDPServiceClasses = 4869 KBluetoothSDPUUID16ServiceClassHealthDevice SDPServiceClasses = 5120 KBluetoothSDPUUID16ServiceClassHealthDeviceSource SDPServiceClasses = 5121 KBluetoothSDPUUID16ServiceClassHealthDeviceSink SDPServiceClasses = 5122 KBluetoothSDPUUID16ServiceClassGATT SDPServiceClasses = 6145 )
func (SDPServiceClasses) String ¶
func (e SDPServiceClasses) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string
Source Files
¶
- IOBluetoothDevice.go
- IOBluetoothDeviceInquiry.go
- IOBluetoothDevicePair.go
- IOBluetoothHandsFree.go
- IOBluetoothHandsFreeAudioGateway.go
- IOBluetoothHandsFreeDevice.go
- IOBluetoothHostController.go
- IOBluetoothL2CAPChannel.go
- IOBluetoothOBEXSession.go
- IOBluetoothObject.go
- IOBluetoothRFCOMMChannel.go
- IOBluetoothSDPDataElement.go
- IOBluetoothSDPServiceAttribute.go
- IOBluetoothSDPServiceRecord.go
- IOBluetoothSDPUUID.go
- IOBluetoothUserNotification.go
- OBEXFileTransferServices.go
- OBEXSession.go
- doc.go
- iobluetooth_enums.go
- iobluetooth_externs.go
- iobluetooth_functions.go
- iobluetooth_protocols.go
- iobluetooth_runtime.go
- iobluetooth_structs.go