Documentation
¶
Overview ¶
Package iobluetooth provides a fluent Go API over the macOS IOBluetooth framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Delegates ¶
A …Delegate interface is implemented by a plain Go value and installed with the matching With… setter; the package builds the Objective-C delegate object behind the scenes. Optional protocol methods are separate one-method …Handler interfaces — implement the ones you need on the same value and the framework calls them too.
Types ¶
Each base type below lists the concrete types you construct and pass where the base is accepted:
- IOBluetoothHandsFree: IOBluetoothHandsFreeAudioGateway, IOBluetoothHandsFreeDevice
- IOBluetoothObject: IOBluetoothDevice, IOBluetoothL2CAPChannel, IOBluetoothRFCOMMChannel
- OBEXSession: IOBluetoothOBEXSession
Index ¶
- Constants
- func FavoriteDevices() obj.Object
- func IOBluetoothAddSCOAudioDevice(device IOBluetoothDeviceRef, configDict corefoundation.CFDictionaryRef) int
- func IOBluetoothFindNumberOfRegistryEntriesOfClassName(deviceType string) int
- func IOBluetoothGetUniqueFileNameAndPath(inName string, inPath string) string
- func IOBluetoothHandsFreeCallDirection() obj.Object
- func IOBluetoothHandsFreeCallIndex() obj.Object
- func IOBluetoothHandsFreeCallMode() obj.Object
- func IOBluetoothHandsFreeCallMultiparty() obj.Object
- func IOBluetoothHandsFreeCallName() obj.Object
- func IOBluetoothHandsFreeCallNumber() obj.Object
- func IOBluetoothHandsFreeCallStatus() obj.Object
- func IOBluetoothHandsFreeCallType() obj.Object
- func IOBluetoothHandsFreeIndicatorBattChg() obj.Object
- func IOBluetoothHandsFreeIndicatorCall() obj.Object
- func IOBluetoothHandsFreeIndicatorCallHeld() obj.Object
- func IOBluetoothHandsFreeIndicatorCallSetup() obj.Object
- func IOBluetoothHandsFreeIndicatorRoam() obj.Object
- func IOBluetoothHandsFreeIndicatorService() obj.Object
- func IOBluetoothHandsFreeIndicatorSignal() obj.Object
- func IOBluetoothHostControllerPoweredOffNotification() obj.Object
- func IOBluetoothHostControllerPoweredOnNotification() obj.Object
- func IOBluetoothIgnoreHIDDevice(device IOBluetoothDeviceRef)
- func IOBluetoothIsFileAppleDesignatedPIMData(inFileName string) uint8
- func IOBluetoothL2CAPChannelPublishedNotification() obj.Object
- func IOBluetoothL2CAPChannelTerminatedNotification() obj.Object
- func IOBluetoothNSStringFromDeviceAddress(deviceAddress *BluetoothDeviceAddress) string
- func IOBluetoothNSStringFromDeviceAddressColon(deviceAddress *BluetoothDeviceAddress) string
- func IOBluetoothNumberOfAvailableHIDDevices() int
- func IOBluetoothNumberOfKeyboardHIDDevices() int
- func IOBluetoothNumberOfPointingHIDDevices() int
- func IOBluetoothNumberOfTabletHIDDevices() int
- func IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber(inDeviceRef IOBluetoothDeviceRef, inChannelID uint8, ...) int32
- func IOBluetoothOBEXSessionCreateWithIOBluetoothSDPServiceRecordRef(inSDPServiceRef IOBluetoothSDPServiceRecordRef, outSessionRef unsafe.Pointer) int32
- func IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel(inRFCOMMChannelRef IOBluetoothRFCOMMChannelRef, inCallback unsafe.Pointer, ...) int32
- func IOBluetoothOBEXSessionOpenTransportConnection(inSessionRef OBEXSessionRef, inCallback unsafe.Pointer, ...) int32
- func IOBluetoothPDUEncoding() obj.Object
- func IOBluetoothPDUOriginatingAddress() obj.Object
- func IOBluetoothPDUOriginatingAddressType() obj.Object
- func IOBluetoothPDUProtocolID() obj.Object
- func IOBluetoothPDUServicCenterAddress() obj.Object
- func IOBluetoothPDUServiceCenterAddressType() obj.Object
- func IOBluetoothPDUTimestamp() obj.Object
- func IOBluetoothPDUType() obj.Object
- func IOBluetoothPDUUserData() obj.Object
- func IOBluetoothPackDataList(ioBuffer unsafe.Pointer, inFormat string, inArgs string) int
- func IOBluetoothRemoveIgnoredHIDDevice(device IOBluetoothDeviceRef)
- func IOBluetoothRemoveSCOAudioDevice(device IOBluetoothDeviceRef) int
- func IOBluetoothUnpackDataList(inBufferSize int, inBuffer unsafe.Pointer, inFormat string, inArgs string) int
- func IOBluetoothUserNotificationUnregister(notificationRef IOBluetoothUserNotificationRef)
- func KFTSListingNameKey() obj.Object
- func KFTSListingSizeKey() obj.Object
- func KFTSListingTypeKey() obj.Object
- func KFTSProgressBytesTotalKey() obj.Object
- func KFTSProgressBytesTransferredKey() obj.Object
- func KFTSProgressEstimatedTimeKey() obj.Object
- func KFTSProgressPercentageKey() obj.Object
- func KFTSProgressPrecentageKey() obj.Object
- func KFTSProgressTimeElapsedKey() obj.Object
- func KFTSProgressTransferRateKey() obj.Object
- func KOBEXHeaderIDKeyAppParameters() obj.Object
- func KOBEXHeaderIDKeyAuthorizationChallenge() obj.Object
- func KOBEXHeaderIDKeyAuthorizationResponse() obj.Object
- func KOBEXHeaderIDKeyBody() obj.Object
- func KOBEXHeaderIDKeyByteSequence() obj.Object
- func KOBEXHeaderIDKeyConnectionID() obj.Object
- func KOBEXHeaderIDKeyCount() obj.Object
- func KOBEXHeaderIDKeyDescription() obj.Object
- func KOBEXHeaderIDKeyEndOfBody() obj.Object
- func KOBEXHeaderIDKeyHTTP() obj.Object
- func KOBEXHeaderIDKeyLength() obj.Object
- func KOBEXHeaderIDKeyName() obj.Object
- func KOBEXHeaderIDKeyObjectClass() obj.Object
- func KOBEXHeaderIDKeyTarget() obj.Object
- func KOBEXHeaderIDKeyTime4Byte() obj.Object
- func KOBEXHeaderIDKeyTimeISO() obj.Object
- func KOBEXHeaderIDKeyType() obj.Object
- func KOBEXHeaderIDKeyUnknown1ByteQuantity() obj.Object
- func KOBEXHeaderIDKeyUnknown4ByteQuantity() obj.Object
- func KOBEXHeaderIDKeyUnknownByteSequence() obj.Object
- func KOBEXHeaderIDKeyUnknownUnicodeText() obj.Object
- func KOBEXHeaderIDKeyUserDefined() obj.Object
- func KOBEXHeaderIDKeyWho() obj.Object
- func OBEXAddApplicationParameterHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddAuthorizationChallengeHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddAuthorizationResponseHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddBodyHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, isEndOfBody uint8, ...) int32
- func OBEXAddByteSequenceHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddConnectionIDHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddCountHeader(count uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
- func OBEXAddDescriptionHeader(description corefoundation.CFStringRef, ...) int32
- func OBEXAddHTTPHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddLengthHeader(length uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
- func OBEXAddNameHeader(name corefoundation.CFStringRef, dictRef corefoundation.CFMutableDictionaryRef) int32
- func OBEXAddObjectClassHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddTargetHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddTime4ByteHeader(time4Byte uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
- func OBEXAddTimeISOHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddTypeHeader(type_ corefoundation.CFStringRef, ...) int32
- func OBEXAddUserDefinedHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXAddWhoHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, ...) int32
- func OBEXCreateVCard(inFirstName unsafe.Pointer, inFirstNameLength uint32, ...) corefoundation.CFDataRef
- func OBEXCreateVEvent(inCharset string, inCharsetLength uint32, inEncoding string, ...) corefoundation.CFDataRef
- func OBEXGetHeaders(inData unsafe.Pointer, inDataSize int) corefoundation.CFDictionaryRef
- func OBEXHeadersToBytes(dictionaryOfHeaders corefoundation.CFDictionaryRef) corefoundation.CFMutableDataRef
- func OBEXSessionAbort(inSessionRef OBEXSessionRef, inOptionalHeaders unsafe.Pointer, ...) int32
- func OBEXSessionAbortResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, ...) int32
- func OBEXSessionConnect(inSessionRef OBEXSessionRef, inFlags uint8, inMaxPacketLength uint16, ...) int32
- func OBEXSessionConnectResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, inFlags uint8, ...) int32
- func OBEXSessionDelete(inSessionRef OBEXSessionRef) int32
- func OBEXSessionDisconnect(inSessionRef OBEXSessionRef, inOptionalHeaders unsafe.Pointer, ...) int32
- func OBEXSessionDisconnectResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, ...) int32
- func OBEXSessionGet(inSessionRef OBEXSessionRef, inIsFinalChunk uint8, ...) int32
- func OBEXSessionGetAvailableCommandPayloadLength(inSessionRef OBEXSessionRef, inOpCode uint8) (result int32, outLength uint16)
- func OBEXSessionGetAvailableCommandResponsePayloadLength(inSessionRef OBEXSessionRef, inOpCode uint8) (result int32, outLength uint16)
- func OBEXSessionGetMaxPacketLength(inSessionRef OBEXSessionRef) (result int32, outLength uint16)
- func OBEXSessionGetResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, ...) int32
- func OBEXSessionHasOpenOBEXConnection(inSessionRef OBEXSessionRef) (result int32, outIsConnected uint8)
- func OBEXSessionPut(inSessionRef OBEXSessionRef, inIsFinalChunk uint8, ...) int32
- func OBEXSessionPutResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, ...) int32
- func OBEXSessionSetPath(inSessionRef OBEXSessionRef, inFlags uint8, inConstants uint8, ...) int32
- func OBEXSessionSetPathResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, ...) int32
- func OBEXSessionSetServerCallback(inSessionRef OBEXSessionRef, inCallback unsafe.Pointer, ...) int32
- func PairedDevices() obj.Object
- func RecentDevices(numDevices int) obj.Object
- 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
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type FTSFileType
- type FilesecProperty
- type Flag
- type IOBluetoothDevice
- func DeviceWithAddress(address *BluetoothDeviceAddress) *IOBluetoothDevice
- func DeviceWithAddressString(address string) *IOBluetoothDevice
- func IOBluetoothDeviceFromID(id objc.ID) *IOBluetoothDevice
- func NewIOBluetoothDevice() *IOBluetoothDevice
- func WithAddress(address *BluetoothDeviceAddress) *IOBluetoothDevice
- func WithDeviceRef(deviceRef IOBluetoothDeviceRef) *IOBluetoothDevice
- func (ibd *IOBluetoothDevice) AddToFavorites() int
- func (ibd *IOBluetoothDevice) Address() *BluetoothDeviceAddress
- func (ibd *IOBluetoothDevice) AddressString() string
- func (ibd *IOBluetoothDevice) ClassOfDevice() uint32
- func (ibd *IOBluetoothDevice) ClockOffset() uint16
- func (ibd *IOBluetoothDevice) CloseConnection() int
- func (ibd *IOBluetoothDevice) ConnectionHandle() uint16
- func (ibd *IOBluetoothDevice) DeviceClassMajor() uint32
- func (ibd *IOBluetoothDevice) DeviceClassMinor() uint32
- func (ibd *IOBluetoothDevice) DeviceRef() IOBluetoothDeviceRef
- func (ibd *IOBluetoothDevice) EncryptionMode() uint8
- func (ibd *IOBluetoothDevice) GetAddressString() string
- func (ibd *IOBluetoothDevice) GetClassOfDevice() uint32
- func (ibd *IOBluetoothDevice) GetConnectionHandle() uint16
- func (ibd *IOBluetoothDevice) GetDeviceClassMajor() uint32
- func (ibd *IOBluetoothDevice) GetDeviceClassMinor() uint32
- func (ibd *IOBluetoothDevice) GetLastNameUpdate() time.Time
- func (ibd *IOBluetoothDevice) GetName() string
- func (ibd *IOBluetoothDevice) GetNameOrAddress() string
- func (ibd *IOBluetoothDevice) GetServiceClassMajor() uint32
- func (ibd *IOBluetoothDevice) GetServiceRecordForUUID(sdpUUID *IOBluetoothSDPUUID) *IOBluetoothSDPServiceRecord
- func (ibd *IOBluetoothDevice) GetServices() obj.Object
- func (ibd *IOBluetoothDevice) HandsFreeAudioGatewayDriverID() string
- func (ibd *IOBluetoothDevice) HandsFreeAudioGatewayServiceRecord() *IOBluetoothSDPServiceRecord
- func (ibd *IOBluetoothDevice) HandsFreeDeviceDriverID() string
- func (ibd *IOBluetoothDevice) HandsFreeDeviceServiceRecord() *IOBluetoothSDPServiceRecord
- func (ibd *IOBluetoothDevice) IsConnected() bool
- func (ibd *IOBluetoothDevice) IsFavorite() bool
- func (ibd *IOBluetoothDevice) IsHandsFreeAudioGateway() bool
- func (ibd *IOBluetoothDevice) IsHandsFreeDevice() bool
- func (ibd *IOBluetoothDevice) IsIncoming() bool
- func (ibd *IOBluetoothDevice) IsPaired() bool
- func (ibd *IOBluetoothDevice) LastInquiryUpdate() time.Time
- func (ibd *IOBluetoothDevice) LastNameUpdate() time.Time
- func (ibd *IOBluetoothDevice) LastServicesUpdate() time.Time
- func (ibd *IOBluetoothDevice) LinkType() uint8
- func (ibd *IOBluetoothDevice) Name() string
- func (ibd *IOBluetoothDevice) NameOrAddress() string
- func (ibd *IOBluetoothDevice) OpenConnection() int
- func (ibd *IOBluetoothDevice) OpenConnection2(target obj.Object) int
- func (ibd *IOBluetoothDevice) OpenConnectionWithPageTimeoutAuthenticationRequired(target obj.Object, pageTimeoutValue uint16, authenticationRequired bool) int
- func (ibd *IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelDelegate obj.Object) int
- func (ibd *IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMWithConfigurationDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, ...) int
- func (ibd *IOBluetoothDevice) OpenL2CAPChannelFindExistingNewChannel(psm uint16, findExisting bool, newChannel *IOBluetoothL2CAPChannel) int
- func (ibd *IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelDelegate obj.Object) int
- func (ibd *IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMWithConfigurationDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, ...) int
- func (ibd *IOBluetoothDevice) OpenRFCOMMChannelAsyncWithChannelIDDelegate(rfcommChannel *IOBluetoothRFCOMMChannel, channelID uint8, ...) int
- func (ibd *IOBluetoothDevice) OpenRFCOMMChannelChannel(channelID uint8, rfcommChannel *IOBluetoothRFCOMMChannel) int
- func (ibd *IOBluetoothDevice) OpenRFCOMMChannelSyncWithChannelIDDelegate(rfcommChannel *IOBluetoothRFCOMMChannel, channelID uint8, ...) int
- func (ibd *IOBluetoothDevice) PageScanMode() uint8
- func (ibd *IOBluetoothDevice) PageScanPeriodMode() uint8
- func (ibd *IOBluetoothDevice) PageScanRepetitionMode() uint8
- func (ibd *IOBluetoothDevice) PerformSDPQuery(target obj.Object) int
- func (ibd *IOBluetoothDevice) PerformSDPQueryUuids(target obj.Object, uuidArray obj.Object) int
- func (ibd *IOBluetoothDevice) RSSI() int8
- func (ibd *IOBluetoothDevice) RawRSSI() int8
- func (ibd *IOBluetoothDevice) RecentAccessDate() time.Time
- func (ibd *IOBluetoothDevice) RemoteNameRequest(target obj.Object) int
- func (ibd *IOBluetoothDevice) RemoteNameRequestWithPageTimeout(target obj.Object, pageTimeoutValue uint16) int
- func (ibd *IOBluetoothDevice) RemoveFromFavorites() int
- func (ibd *IOBluetoothDevice) RequestAuthentication() int
- func (ibd *IOBluetoothDevice) SendL2CAPEchoRequestLength(data unsafe.Pointer, length uint16) int
- func (ibd *IOBluetoothDevice) ServiceClassMajor() uint32
- func (ibd *IOBluetoothDevice) Services() obj.Object
- func (ibd *IOBluetoothDevice) SetSupervisionTimeout(timeout uint16) int
- type IOBluetoothDeviceAsyncCallbacks
- type IOBluetoothDeviceInquiry
- func (ibdi *IOBluetoothDeviceInquiry) ClearFoundDevices()
- func (ibdi *IOBluetoothDeviceInquiry) Delegate() obj.Object
- func (ibdi *IOBluetoothDeviceInquiry) Description() string
- func (ibdi *IOBluetoothDeviceInquiry) FoundDevices() obj.Object
- func (ibdi *IOBluetoothDeviceInquiry) InquiryLength() uint8
- func (ibdi *IOBluetoothDeviceInquiry) IsEqual(other obj.Object) bool
- func (ibdi *IOBluetoothDeviceInquiry) IsKind(className string) bool
- func (ibdi *IOBluetoothDeviceInquiry) SearchType() int
- func (ibdi *IOBluetoothDeviceInquiry) SetSearchCriteriaMajorDeviceClassMinorDeviceClass(inServiceClassMajor uint32, inMajorDeviceClass uint32, ...)
- func (ibdi *IOBluetoothDeviceInquiry) Start() int
- func (ibdi *IOBluetoothDeviceInquiry) Stop() int
- func (ibdi *IOBluetoothDeviceInquiry) String() string
- func (ibdi *IOBluetoothDeviceInquiry) UpdateNewDeviceNames() bool
- func (ibdi *IOBluetoothDeviceInquiry) WithDelegate(delegate obj.Object) *IOBluetoothDeviceInquiry
- func (ibdi *IOBluetoothDeviceInquiry) WithInquiryLength(inquiryLength uint8) *IOBluetoothDeviceInquiry
- func (ibdi *IOBluetoothDeviceInquiry) WithSearchType(searchType int) *IOBluetoothDeviceInquiry
- func (ibdi *IOBluetoothDeviceInquiry) WithUpdateNewDeviceNames(updateNewDeviceNames bool) *IOBluetoothDeviceInquiry
- type IOBluetoothDeviceInquiryDelegate
- type IOBluetoothDeviceInquiryDelegateDeviceInquiryCompleteErrorAbortedHandler
- type IOBluetoothDeviceInquiryDelegateDeviceInquiryDeviceFoundDeviceHandler
- type IOBluetoothDeviceInquiryDelegateDeviceInquiryDeviceNameUpdatedDeviceDevicesRemainingHandler
- type IOBluetoothDeviceInquiryDelegateDeviceInquiryStartedHandler
- type IOBluetoothDeviceInquiryDelegateDeviceInquiryUpdatingDeviceNamesStartedDevicesRemainingHandler
- type IOBluetoothDevicePair
- func (ibdp *IOBluetoothDevicePair) Delegate() obj.Object
- func (ibdp *IOBluetoothDevicePair) Description() string
- func (ibdp *IOBluetoothDevicePair) Device() *IOBluetoothDevice
- func (ibdp *IOBluetoothDevicePair) IsEqual(other obj.Object) bool
- func (ibdp *IOBluetoothDevicePair) IsKind(className string) bool
- func (ibdp *IOBluetoothDevicePair) ReplyPINCodePINCode(pinCodeSize int, pinCode *BluetoothPINCode)
- func (ibdp *IOBluetoothDevicePair) ReplyUserConfirmation(reply bool)
- func (ibdp *IOBluetoothDevicePair) SetDevice(inDevice *IOBluetoothDevice)
- func (ibdp *IOBluetoothDevicePair) Start() int
- func (ibdp *IOBluetoothDevicePair) Stop()
- func (ibdp *IOBluetoothDevicePair) String() string
- func (ibdp *IOBluetoothDevicePair) WithDelegate(delegate obj.Object) *IOBluetoothDevicePair
- type IOBluetoothDevicePairDelegate
- type IOBluetoothDevicePairDelegateDevicePairingConnectedHandler
- type IOBluetoothDevicePairDelegateDevicePairingConnectingHandler
- type IOBluetoothDevicePairDelegateDevicePairingFinishedErrorHandler
- type IOBluetoothDevicePairDelegateDevicePairingPINCodeRequestHandler
- type IOBluetoothDevicePairDelegateDevicePairingStartedHandler
- type IOBluetoothDevicePairDelegateDevicePairingUserConfirmationRequestNumericValueHandler
- type IOBluetoothDevicePairDelegateDevicePairingUserPasskeyNotificationPasskeyHandler
- type IOBluetoothDevicePairDelegateDeviceSimplePairingCompleteStatusHandler
- type IOBluetoothDeviceRef
- type IOBluetoothDeviceSearchAttributes
- type IOBluetoothDeviceSearchDeviceAttributes
- type IOBluetoothDeviceSearchOptionsBits
- type IOBluetoothDeviceSearchTypesBits
- type IOBluetoothHandsFree
- func (ibhf *IOBluetoothHandsFree) Connect()
- func (ibhf *IOBluetoothHandsFree) ConnectSCO()
- func (ibhf *IOBluetoothHandsFree) Description() string
- func (ibhf *IOBluetoothHandsFree) Device() *IOBluetoothDevice
- func (ibhf *IOBluetoothHandsFree) DeviceCallHoldModes() uint32
- func (ibhf *IOBluetoothHandsFree) DeviceSupportedFeatures() uint32
- func (ibhf *IOBluetoothHandsFree) DeviceSupportedSMSServices() uint32
- func (ibhf *IOBluetoothHandsFree) Disconnect()
- func (ibhf *IOBluetoothHandsFree) DisconnectSCO()
- func (ibhf *IOBluetoothHandsFree) Indicator(indicatorName string) int
- func (ibhf *IOBluetoothHandsFree) InputVolume() float32
- func (ibhf *IOBluetoothHandsFree) IsConnected() bool
- func (ibhf *IOBluetoothHandsFree) IsEqual(other obj.Object) bool
- func (ibhf *IOBluetoothHandsFree) IsInputMuted() bool
- func (ibhf *IOBluetoothHandsFree) IsKind(className string) bool
- func (ibhf *IOBluetoothHandsFree) IsOutputMuted() bool
- func (ibhf *IOBluetoothHandsFree) IsSCOConnected() bool
- func (ibhf *IOBluetoothHandsFree) IsSMSEnabled() bool
- func (ibhf *IOBluetoothHandsFree) OutputVolume() float32
- func (ibhf *IOBluetoothHandsFree) SMSMode() IOBluetoothSMSMode
- func (ibhf *IOBluetoothHandsFree) SetIndicatorValue(indicatorName string, indicatorValue int)
- func (ibhf *IOBluetoothHandsFree) String() string
- func (ibhf *IOBluetoothHandsFree) SupportedFeatures() uint32
- func (ibhf *IOBluetoothHandsFree) WithDelegate(delegate IOBluetoothHandsFreeDelegate) *IOBluetoothHandsFree
- func (ibhf *IOBluetoothHandsFree) WithInputMuted(inputMuted bool) *IOBluetoothHandsFree
- func (ibhf *IOBluetoothHandsFree) WithInputVolume(inputVolume float32) *IOBluetoothHandsFree
- func (ibhf *IOBluetoothHandsFree) WithOutputMuted(outputMuted bool) *IOBluetoothHandsFree
- func (ibhf *IOBluetoothHandsFree) WithOutputVolume(outputVolume float32) *IOBluetoothHandsFree
- func (ibhf *IOBluetoothHandsFree) WithSupportedFeatures(supportedFeatures uint32) *IOBluetoothHandsFree
- type IOBluetoothHandsFreeAudioGateway
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) CreateIndicatorMinMaxCurrentValue(indicatorName string, minValue int, maxValue int, currentValue int)
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) ProcessATCommand(atCommand string)
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) SendOKResponse()
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) SendResponse(response string)
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) SendResponseWithOK(response string, withOK bool)
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithDelegate(delegate IOBluetoothHandsFreeDelegate) *IOBluetoothHandsFreeAudioGateway
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithInputMuted(inputMuted bool) *IOBluetoothHandsFreeAudioGateway
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithInputVolume(inputVolume float32) *IOBluetoothHandsFreeAudioGateway
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithOutputMuted(outputMuted bool) *IOBluetoothHandsFreeAudioGateway
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithOutputVolume(outputVolume float32) *IOBluetoothHandsFreeAudioGateway
- func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithSupportedFeatures(supportedFeatures uint32) *IOBluetoothHandsFreeAudioGateway
- type IOBluetoothHandsFreeAudioGatewayDelegate
- type IOBluetoothHandsFreeAudioGatewayDelegateHandsFreeHangupHandler
- type IOBluetoothHandsFreeAudioGatewayDelegateHandsFreeRedialHandler
- type IOBluetoothHandsFreeAudioGatewayFeatures
- type IOBluetoothHandsFreeCallHoldModes
- type IOBluetoothHandsFreeCodecID
- type IOBluetoothHandsFreeDelegate
- type IOBluetoothHandsFreeDelegateHandsFreeConnectedHandler
- type IOBluetoothHandsFreeDelegateHandsFreeDisconnectedHandler
- type IOBluetoothHandsFreeDelegateHandsFreeScoConnectionClosedHandler
- type IOBluetoothHandsFreeDelegateHandsFreeScoConnectionOpenedHandler
- type IOBluetoothHandsFreeDevice
- func (ibhfd *IOBluetoothHandsFreeDevice) AcceptCall()
- func (ibhfd *IOBluetoothHandsFreeDevice) AcceptCallOnPhone()
- func (ibhfd *IOBluetoothHandsFreeDevice) AddHeldCall()
- func (ibhfd *IOBluetoothHandsFreeDevice) CallTransfer()
- func (ibhfd *IOBluetoothHandsFreeDevice) CurrentCallList()
- func (ibhfd *IOBluetoothHandsFreeDevice) DialNumber(aNumber string)
- func (ibhfd *IOBluetoothHandsFreeDevice) EndCall()
- func (ibhfd *IOBluetoothHandsFreeDevice) HoldCall()
- func (ibhfd *IOBluetoothHandsFreeDevice) MemoryDial(memoryLocation int)
- func (ibhfd *IOBluetoothHandsFreeDevice) PlaceAllOthersOnHold(index int)
- func (ibhfd *IOBluetoothHandsFreeDevice) Redial()
- func (ibhfd *IOBluetoothHandsFreeDevice) ReleaseActiveCalls()
- func (ibhfd *IOBluetoothHandsFreeDevice) ReleaseCall(index int)
- func (ibhfd *IOBluetoothHandsFreeDevice) ReleaseHeldCalls()
- func (ibhfd *IOBluetoothHandsFreeDevice) SendATCommand(atCommand string)
- func (ibhfd *IOBluetoothHandsFreeDevice) SendDTMF(character string)
- func (ibhfd *IOBluetoothHandsFreeDevice) SendSMSMessage(aNumber string, aMessage string)
- func (ibhfd *IOBluetoothHandsFreeDevice) SubscriberNumber()
- func (ibhfd *IOBluetoothHandsFreeDevice) TransferAudioToComputer()
- func (ibhfd *IOBluetoothHandsFreeDevice) TransferAudioToPhone()
- func (ibhfd *IOBluetoothHandsFreeDevice) WithDelegate(delegate IOBluetoothHandsFreeDelegate) *IOBluetoothHandsFreeDevice
- func (ibhfd *IOBluetoothHandsFreeDevice) WithInputMuted(inputMuted bool) *IOBluetoothHandsFreeDevice
- func (ibhfd *IOBluetoothHandsFreeDevice) WithInputVolume(inputVolume float32) *IOBluetoothHandsFreeDevice
- func (ibhfd *IOBluetoothHandsFreeDevice) WithOutputMuted(outputMuted bool) *IOBluetoothHandsFreeDevice
- func (ibhfd *IOBluetoothHandsFreeDevice) WithOutputVolume(outputVolume float32) *IOBluetoothHandsFreeDevice
- func (ibhfd *IOBluetoothHandsFreeDevice) WithSupportedFeatures(supportedFeatures uint32) *IOBluetoothHandsFreeDevice
- type IOBluetoothHandsFreeDeviceDelegate
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeBatteryChargeHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeCallHoldStateHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeCallSetupModeHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeCurrentCallHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeIncomingCallFromHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeIncomingSMSHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsCallActiveHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsRoamingHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsServiceAvailableHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeRingAttemptHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeSignalStrengthHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeSubscriberNumberHandler
- type IOBluetoothHandsFreeDeviceDelegateHandsFreeUnhandledResultCodeHandler
- type IOBluetoothHandsFreeDeviceFeatures
- type IOBluetoothHandsFreePDUMessageStatus
- type IOBluetoothHandsFreeProvider
- type IOBluetoothHandsFreeSMSSupport
- type IOBluetoothHostController
- func (ibhc *IOBluetoothHostController) AddressAsString() string
- func (ibhc *IOBluetoothHostController) ClassOfDevice() uint32
- func (ibhc *IOBluetoothHostController) Delegate() obj.Object
- func (ibhc *IOBluetoothHostController) Description() string
- func (ibhc *IOBluetoothHostController) IsEqual(other obj.Object) bool
- func (ibhc *IOBluetoothHostController) IsKind(className string) bool
- func (ibhc *IOBluetoothHostController) NameAsString() string
- func (ibhc *IOBluetoothHostController) SetClassOfDeviceForTimeInterval(classOfDevice uint32, seconds float64) int
- func (ibhc *IOBluetoothHostController) String() string
- func (ibhc *IOBluetoothHostController) WithDelegate(delegate obj.Object) *IOBluetoothHostController
- type IOBluetoothL2CAPChannel
- func (iblcc *IOBluetoothL2CAPChannel) CloseChannel() int
- func (iblcc *IOBluetoothL2CAPChannel) Delegate() obj.Object
- func (iblcc *IOBluetoothL2CAPChannel) Device() *IOBluetoothDevice
- func (iblcc *IOBluetoothL2CAPChannel) GetDevice() *IOBluetoothDevice
- func (iblcc *IOBluetoothL2CAPChannel) GetIncomingMTU() uint16
- func (iblcc *IOBluetoothL2CAPChannel) GetLocalChannelID() uint16
- func (iblcc *IOBluetoothL2CAPChannel) GetObjectID() int
- func (iblcc *IOBluetoothL2CAPChannel) GetOutgoingMTU() uint16
- func (iblcc *IOBluetoothL2CAPChannel) GetPSM() uint16
- func (iblcc *IOBluetoothL2CAPChannel) GetRemoteChannelID() uint16
- func (iblcc *IOBluetoothL2CAPChannel) IncomingMTU() uint16
- func (iblcc *IOBluetoothL2CAPChannel) IsIncoming() bool
- func (iblcc *IOBluetoothL2CAPChannel) LocalChannelID() uint16
- func (iblcc *IOBluetoothL2CAPChannel) ObjectID() int
- func (iblcc *IOBluetoothL2CAPChannel) OutgoingMTU() uint16
- func (iblcc *IOBluetoothL2CAPChannel) PSM() uint16
- func (iblcc *IOBluetoothL2CAPChannel) RemoteChannelID() uint16
- func (iblcc *IOBluetoothL2CAPChannel) RequestRemoteMTU(remoteMTU uint16) int
- func (iblcc *IOBluetoothL2CAPChannel) SetDelegate(channelDelegate obj.Object) int
- func (iblcc *IOBluetoothL2CAPChannel) SetDelegateWithConfiguration(channelDelegate obj.Object, channelConfiguration obj.Object) int
- func (iblcc *IOBluetoothL2CAPChannel) WriteAsyncLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
- func (iblcc *IOBluetoothL2CAPChannel) WriteAsyncTrapLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
- func (iblcc *IOBluetoothL2CAPChannel) WriteSyncLength(data unsafe.Pointer, length uint16) int
- type IOBluetoothL2CAPChannelDataBlock
- type IOBluetoothL2CAPChannelDelegate
- type IOBluetoothL2CAPChannelDelegateL2capChannelClosedHandler
- type IOBluetoothL2CAPChannelDelegateL2capChannelOpenCompleteStatusHandler
- type IOBluetoothL2CAPChannelDelegateL2capChannelQueueSpaceAvailableHandler
- type IOBluetoothL2CAPChannelDelegateL2capChannelReconfiguredHandler
- type IOBluetoothL2CAPChannelEvent
- type IOBluetoothL2CAPChannelEventType
- type IOBluetoothL2CAPChannelRef
- type IOBluetoothOBEXSession
- func IOBluetoothOBEXSessionFromID(id objc.ID) *IOBluetoothOBEXSession
- func NewIOBluetoothOBEXSessionWithDeviceChannelID(inDevice *IOBluetoothDevice, inChannelID uint8) *IOBluetoothOBEXSession
- func NewIOBluetoothOBEXSessionWithSDPServiceRecord(inSDPServiceRecord *IOBluetoothSDPServiceRecord) *IOBluetoothOBEXSession
- func WithDeviceChannelID(inDevice *IOBluetoothDevice, inRFCOMMChannelID uint8) *IOBluetoothOBEXSession
- func WithSDPServiceRecord(inSDPServiceRecord *IOBluetoothSDPServiceRecord) *IOBluetoothOBEXSession
- func (ibos *IOBluetoothOBEXSession) Device() *IOBluetoothDevice
- func (ibos *IOBluetoothOBEXSession) IsSessionTargetAMAC() bool
- func (ibos *IOBluetoothOBEXSession) RFCOMMChannel() *IOBluetoothRFCOMMChannel
- func (ibos *IOBluetoothOBEXSession) RestartTransmission()
- func (ibos *IOBluetoothOBEXSession) SendBufferTroughChannel() int
- func (ibos *IOBluetoothOBEXSession) SetOBEXSessionOpenConnectionCallbackRefCon(inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer)
- type IOBluetoothObject
- type IOBluetoothObjectProvider
- type IOBluetoothObjectRef
- type IOBluetoothRFCOMMChannel
- func IOBluetoothRFCOMMChannelFromID(id objc.ID) *IOBluetoothRFCOMMChannel
- func IOBluetoothRFCOMMChannelWithObjectID(objectID int) *IOBluetoothRFCOMMChannel
- func NewIOBluetoothRFCOMMChannel() *IOBluetoothRFCOMMChannel
- func WithRFCOMMChannelRef(rfcommChannelRef IOBluetoothRFCOMMChannelRef) *IOBluetoothRFCOMMChannel
- func (ibrc *IOBluetoothRFCOMMChannel) ChannelID() uint8
- func (ibrc *IOBluetoothRFCOMMChannel) CloseChannel() int
- func (ibrc *IOBluetoothRFCOMMChannel) Delegate() obj.Object
- func (ibrc *IOBluetoothRFCOMMChannel) Device() *IOBluetoothDevice
- func (ibrc *IOBluetoothRFCOMMChannel) IsIncoming() bool
- func (ibrc *IOBluetoothRFCOMMChannel) IsOpen() bool
- func (ibrc *IOBluetoothRFCOMMChannel) IsTransmissionPaused() bool
- func (ibrc *IOBluetoothRFCOMMChannel) MTU() uint16
- func (ibrc *IOBluetoothRFCOMMChannel) ObjectID() int
- func (ibrc *IOBluetoothRFCOMMChannel) RFCOMMChannelRef() IOBluetoothRFCOMMChannelRef
- func (ibrc *IOBluetoothRFCOMMChannel) SendRemoteLineStatus(lineStatus BluetoothRFCOMMLineStatus) int
- func (ibrc *IOBluetoothRFCOMMChannel) SetDelegate(delegate obj.Object) int
- func (ibrc *IOBluetoothRFCOMMChannel) SetSerialParametersDataBitsParityStopBits(speed int, nBits uint8, parity BluetoothRFCOMMParityType, bitStop uint8) int
- func (ibrc *IOBluetoothRFCOMMChannel) WriteAsyncLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
- func (ibrc *IOBluetoothRFCOMMChannel) WriteLengthSleep(data unsafe.Pointer, length uint16, sleep bool) int
- func (ibrc *IOBluetoothRFCOMMChannel) WriteSimpleLengthSleepBytesSent(data unsafe.Pointer, length uint16, sleep bool) (result int, numBytesSent int)
- func (ibrc *IOBluetoothRFCOMMChannel) WriteSyncLength(data unsafe.Pointer, length uint16) int
- type IOBluetoothRFCOMMChannelDelegate
- type IOBluetoothRFCOMMChannelDelegateRfcommChannelClosedHandler
- type IOBluetoothRFCOMMChannelDelegateRfcommChannelControlSignalsChangedHandler
- type IOBluetoothRFCOMMChannelDelegateRfcommChannelFlowControlChangedHandler
- type IOBluetoothRFCOMMChannelDelegateRfcommChannelOpenCompleteStatusHandler
- type IOBluetoothRFCOMMChannelDelegateRfcommChannelQueueSpaceAvailableHandler
- type IOBluetoothRFCOMMChannelRef
- type IOBluetoothSDPDataElement
- func IOBluetoothSDPDataElementFromID(id objc.ID) *IOBluetoothSDPDataElement
- func NewIOBluetoothSDPDataElementWithElementValue(element obj.Object) *IOBluetoothSDPDataElement
- func NewIOBluetoothSDPDataElementWithTypeSizeDescriptorSizeValue(newType uint8, newSizeDescriptor uint8, newSize uint32, newValue obj.Object) *IOBluetoothSDPDataElement
- func WithElementValue(element obj.Object) *IOBluetoothSDPDataElement
- func WithSDPDataElementRef(sdpDataElementRef IOBluetoothSDPDataElementRef) *IOBluetoothSDPDataElement
- func WithTypeSizeDescriptorSizeValue(type_ uint8, newSizeDescriptor uint8, newSize uint32, newValue obj.Object) *IOBluetoothSDPDataElement
- func (ibsde *IOBluetoothSDPDataElement) ArrayValue() obj.Object
- func (ibsde *IOBluetoothSDPDataElement) ContainsDataElement(dataElement *IOBluetoothSDPDataElement) bool
- func (ibsde *IOBluetoothSDPDataElement) ContainsValue(cmpValue obj.Object) bool
- func (ibsde *IOBluetoothSDPDataElement) DataValue() []byte
- func (ibsde *IOBluetoothSDPDataElement) Description() string
- func (ibsde *IOBluetoothSDPDataElement) IsEqual(other obj.Object) bool
- func (ibsde *IOBluetoothSDPDataElement) IsKind(className string) bool
- func (ibsde *IOBluetoothSDPDataElement) NumberValue() *foundation.Number
- func (ibsde *IOBluetoothSDPDataElement) SDPDataElementRef() IOBluetoothSDPDataElementRef
- func (ibsde *IOBluetoothSDPDataElement) Size() uint32
- func (ibsde *IOBluetoothSDPDataElement) SizeDescriptor() uint8
- func (ibsde *IOBluetoothSDPDataElement) String() string
- func (ibsde *IOBluetoothSDPDataElement) StringValue() string
- func (ibsde *IOBluetoothSDPDataElement) TypeDescriptor() uint8
- func (ibsde *IOBluetoothSDPDataElement) UUIDValue() *IOBluetoothSDPUUID
- func (ibsde *IOBluetoothSDPDataElement) Value() *foundation.Object
- type IOBluetoothSDPDataElementRef
- type IOBluetoothSDPServiceAttribute
- func IOBluetoothSDPServiceAttributeFromID(id objc.ID) *IOBluetoothSDPServiceAttribute
- func NewIOBluetoothSDPServiceAttributeWithIDAttributeElement(newAttributeID uint16, attributeElement *IOBluetoothSDPDataElement) *IOBluetoothSDPServiceAttribute
- func NewIOBluetoothSDPServiceAttributeWithIDAttributeElementValue(newAttributeID uint16, attributeElementValue obj.Object) *IOBluetoothSDPServiceAttribute
- func WithIDAttributeElement(newAttributeID uint16, attributeElement *IOBluetoothSDPDataElement) *IOBluetoothSDPServiceAttribute
- func WithIDAttributeElementValue(newAttributeID uint16, attributeElementValue obj.Object) *IOBluetoothSDPServiceAttribute
- func (ibssa *IOBluetoothSDPServiceAttribute) AttributeID() uint16
- func (ibssa *IOBluetoothSDPServiceAttribute) DataElement() *IOBluetoothSDPDataElement
- func (ibssa *IOBluetoothSDPServiceAttribute) Description() string
- func (ibssa *IOBluetoothSDPServiceAttribute) IDDataElement() *IOBluetoothSDPDataElement
- func (ibssa *IOBluetoothSDPServiceAttribute) IsEqual(other obj.Object) bool
- func (ibssa *IOBluetoothSDPServiceAttribute) IsKind(className string) bool
- func (ibssa *IOBluetoothSDPServiceAttribute) String() string
- type IOBluetoothSDPServiceRecord
- func IOBluetoothSDPServiceRecordFromID(id objc.ID) *IOBluetoothSDPServiceRecord
- func NewIOBluetoothSDPServiceRecordWithServiceDictionaryDevice(serviceDict obj.Object, device *IOBluetoothDevice) *IOBluetoothSDPServiceRecord
- func PublishedServiceRecordWithDictionary(serviceDict obj.Object) *IOBluetoothSDPServiceRecord
- func WithSDPServiceRecordRef(sdpServiceRecordRef IOBluetoothSDPServiceRecordRef) *IOBluetoothSDPServiceRecord
- func WithServiceDictionaryDevice(serviceDict obj.Object, device *IOBluetoothDevice) *IOBluetoothSDPServiceRecord
- func (ibssr *IOBluetoothSDPServiceRecord) Attributes() obj.Object
- func (ibssr *IOBluetoothSDPServiceRecord) Description() string
- func (ibssr *IOBluetoothSDPServiceRecord) Device() *IOBluetoothDevice
- func (ibssr *IOBluetoothSDPServiceRecord) GetAttributeDataElement(attributeID uint16) *IOBluetoothSDPDataElement
- func (ibssr *IOBluetoothSDPServiceRecord) GetAttributes() obj.Object
- func (ibssr *IOBluetoothSDPServiceRecord) GetDevice() *IOBluetoothDevice
- func (ibssr *IOBluetoothSDPServiceRecord) GetL2CAPPSM() (result int, outPSM uint16)
- func (ibssr *IOBluetoothSDPServiceRecord) GetRFCOMMChannelID() (result int, rfcommChannelID uint8)
- func (ibssr *IOBluetoothSDPServiceRecord) GetServiceRecordHandle() (result int, outServiceRecordHandle uint32)
- func (ibssr *IOBluetoothSDPServiceRecord) HandsFreeSupportedFeatures() uint16
- func (ibssr *IOBluetoothSDPServiceRecord) HasServiceFromArray(array obj.Object) bool
- func (ibssr *IOBluetoothSDPServiceRecord) IsEqual(other obj.Object) bool
- func (ibssr *IOBluetoothSDPServiceRecord) IsKind(className string) bool
- func (ibssr *IOBluetoothSDPServiceRecord) MatchesSearchArray(searchArray obj.Object) bool
- func (ibssr *IOBluetoothSDPServiceRecord) MatchesUUID16(uuid16 uint16) bool
- func (ibssr *IOBluetoothSDPServiceRecord) MatchesUUIDArray(uuidArray obj.Object) bool
- func (ibssr *IOBluetoothSDPServiceRecord) RemoveServiceRecord() int
- func (ibssr *IOBluetoothSDPServiceRecord) SDPServiceRecordRef() IOBluetoothSDPServiceRecordRef
- func (ibssr *IOBluetoothSDPServiceRecord) ServiceName() string
- func (ibssr *IOBluetoothSDPServiceRecord) SortedAttributes() obj.Object
- func (ibssr *IOBluetoothSDPServiceRecord) String() string
- type IOBluetoothSDPServiceRecordRef
- type IOBluetoothSDPUUID
- func IOBluetoothSDPUUIDFromID(id objc.ID) *IOBluetoothSDPUUID
- func NewIOBluetoothSDPUUIDWithUUID16(uuid16 uint16) *IOBluetoothSDPUUID
- func NewIOBluetoothSDPUUIDWithUUID32(uuid32 uint32) *IOBluetoothSDPUUID
- func Uuid16(uuid16 uint16) *IOBluetoothSDPUUID
- func Uuid32(uuid32 uint32) *IOBluetoothSDPUUID
- func UuidWithBytesLength(data unsafe.Pointer, length int) *IOBluetoothSDPUUID
- func UuidWithData(data []byte) *IOBluetoothSDPUUID
- func WithSDPUUIDRef(sdpUUIDRef IOBluetoothSDPUUIDRef) *IOBluetoothSDPUUID
- func (ibs *IOBluetoothSDPUUID) Description() string
- func (ibs *IOBluetoothSDPUUID) GetUUIDWithLength(newLength int) *IOBluetoothSDPUUID
- func (ibs *IOBluetoothSDPUUID) IsEqual(other obj.Object) bool
- func (ibs *IOBluetoothSDPUUID) IsEqualToUUID(otherUUID *IOBluetoothSDPUUID) bool
- func (ibs *IOBluetoothSDPUUID) IsKind(className string) bool
- func (ibs *IOBluetoothSDPUUID) SDPUUIDRef() IOBluetoothSDPUUIDRef
- func (ibs *IOBluetoothSDPUUID) String() string
- type IOBluetoothSDPUUIDRef
- type IOBluetoothSMSMode
- type IOBluetoothUserNotification
- func (ibun *IOBluetoothUserNotification) Description() string
- func (ibun *IOBluetoothUserNotification) IsEqual(other obj.Object) bool
- func (ibun *IOBluetoothUserNotification) IsKind(className string) bool
- func (ibun *IOBluetoothUserNotification) String() string
- func (ibun *IOBluetoothUserNotification) Unregister()
- type IOBluetoothUserNotificationChannelDirection
- type IOBluetoothUserNotificationRef
- type Idtype
- type IpcInfoObjectType
- type LaunchDataType
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MpoFlags
- type OBEXAbortCommandData
- type OBEXAbortCommandResponseData
- type OBEXConnectCommandData
- type OBEXConnectCommandResponseData
- func (u *OBEXConnectCommandResponseData) AsFlags() uint8
- func (u *OBEXConnectCommandResponseData) AsHeaderDataLength() uint
- func (u *OBEXConnectCommandResponseData) AsHeaderDataPtr() unsafe.Pointer
- func (u *OBEXConnectCommandResponseData) AsMaxPacketSize() uint16
- func (u *OBEXConnectCommandResponseData) AsServerResponseOpCode() uint8
- func (u *OBEXConnectCommandResponseData) AsVersion() uint8
- type OBEXConnectFlagValues
- type OBEXDisconnectCommandData
- type OBEXDisconnectCommandResponseData
- type OBEXErrorCodes
- type OBEXErrorData
- type OBEXFileTransferServices
- func (ofts *OBEXFileTransferServices) Abort() int32
- func (ofts *OBEXFileTransferServices) ChangeCurrentFolderBackward() int32
- func (ofts *OBEXFileTransferServices) ChangeCurrentFolderForwardToPath(inDirName string) int32
- func (ofts *OBEXFileTransferServices) ChangeCurrentFolderToRoot() int32
- func (ofts *OBEXFileTransferServices) ConnectToFTPService() int32
- func (ofts *OBEXFileTransferServices) ConnectToObjectPushService() int32
- func (ofts *OBEXFileTransferServices) CopyRemoteFileToLocalPath(inRemoteFileName string, inLocalPathAndName string) int32
- func (ofts *OBEXFileTransferServices) CreateFolder(inDirName string) int32
- func (ofts *OBEXFileTransferServices) CurrentPath() string
- func (ofts *OBEXFileTransferServices) Delegate() obj.Object
- func (ofts *OBEXFileTransferServices) Description() string
- func (ofts *OBEXFileTransferServices) Disconnect() int32
- func (ofts *OBEXFileTransferServices) GetDefaultVCard(inLocalPathAndName string) int32
- func (ofts *OBEXFileTransferServices) IsBusy() bool
- func (ofts *OBEXFileTransferServices) IsConnected() bool
- func (ofts *OBEXFileTransferServices) IsEqual(other obj.Object) bool
- func (ofts *OBEXFileTransferServices) IsKind(className string) bool
- func (ofts *OBEXFileTransferServices) RemoveItem(inItemName string) int32
- func (ofts *OBEXFileTransferServices) RetrieveFolderListing() int32
- func (ofts *OBEXFileTransferServices) SendDataTypeName(inData []byte, inType string, inName string) int32
- func (ofts *OBEXFileTransferServices) SendFile(inLocalPathAndName string) int32
- func (ofts *OBEXFileTransferServices) String() string
- func (ofts *OBEXFileTransferServices) WithDelegate(delegate obj.Object) *OBEXFileTransferServices
- 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 (os *OBEXSession) CloseTransportConnection() int32
- func (os *OBEXSession) Description() string
- func (os *OBEXSession) GetAvailableCommandPayloadLength(inOpCode uint8) uint16
- func (os *OBEXSession) GetAvailableCommandResponsePayloadLength(inOpCode uint8) uint16
- func (os *OBEXSession) HasOpenOBEXConnection() bool
- func (os *OBEXSession) HasOpenTransportConnection() uint8
- func (os *OBEXSession) IsEqual(other obj.Object) bool
- func (os *OBEXSession) IsKind(className string) bool
- func (os *OBEXSession) MaxPacketLength() uint16
- func (os *OBEXSession) SendDataToTransportDataLength(inDataToSend unsafe.Pointer, inDataLength int) int32
- func (os *OBEXSession) SetEventCallback(inEventCallback unsafe.Pointer)
- func (os *OBEXSession) SetEventRefCon(inRefCon unsafe.Pointer)
- func (os *OBEXSession) String() string
- type OBEXSessionEvent
- type OBEXSessionEventTypes
- type OBEXSessionParameterTags
- type OBEXSessionProvider
- type OBEXSessionRef
- type OBEXSetPathCommandData
- type OBEXSetPathCommandResponseData
- type OBEXTransportEvent
- type OBEXTransportEventTypes
- type OBEXVersions
- type OSClockid
- type OpaqueIOBluetoothObjectRef
- type OpaqueOBEXSessionRef
- type OpaquePrivOBEXSessionData
- type Perm
- type PrivOBEXSessionDataRef
- type ProtocolParameters
- type PtrauthKey
- type QosClass
- type SDPAttributeDeviceIdentificationRecord
- type SDPAttributeIdentifierCodes
- type SDPServiceClasses
- type Tag
- type Type
- type VirtualMemoryGuardExceptionCode
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
const ( KBluetoothACLLogicalChannelL2CAPContinue = 1 KBluetoothACLLogicalChannelL2CAPStart = 2 KBluetoothACLLogicalChannelLMP = 3 KBluetoothACLLogicalChannelReserved = 0 KBluetoothAirModeALawLog = 1 KBluetoothAirModeCVSD = 2 KBluetoothAirModeTransparentData = 3 KBluetoothAirModeULawLog = 0 KBluetoothAllowRoleSwitch = 1 KBluetoothConnectionHandleNone = 65535 KBluetoothConnectionHandleSerialDeviceReserved = 4095 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 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 KBluetoothDeviceNameMaxLength = 248 KBluetoothDontAllowRoleSwitch = 0 KBluetoothEncryptionEnableBREDRAESCCM = 2 KBluetoothEncryptionEnableBREDRE0 = 1 KBluetoothEncryptionEnableLEAESCCM = 1 KBluetoothEncryptionEnableOff = 0 KBluetoothEncryptionEnableOn = 1 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 KBluetoothGeneralInquiryAccessCodeIndex = 0 KBluetoothGeneralInquiryAccessCodeLAPValue = 10390323 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 KBluetoothHCICommandPacketHeaderSize = 3 KBluetoothHCICommandPacketMaxDataSize = 255 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 KBluetoothHCIDataPacketHeaderSize = 4 KBluetoothHCIDataPacketMaxDataSize = 65535 KBluetoothHCIErroneousDataReportingDisabled = 0 KBluetoothHCIErroneousDataReportingEnabled = 1 KBluetoothHCIErroneousDataReportingReservedEnd = 255 KBluetoothHCIErroneousDataReportingReservedStart = 2 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 KBluetoothHCIErrorPowerIsOFF = 65 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 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 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 KBluetoothHCIEventMasterLinkKeyComplete = 10 KBluetoothHCIEventMaxSlotsChange = 27 KBluetoothHCIEventModeChange = 20 KBluetoothHCIEventNumberOfCompletedDataBlocks = 72 KBluetoothHCIEventNumberOfCompletedPackets = 19 KBluetoothHCIEventPINCodeRequest = 22 KBluetoothHCIEventPacketHeaderSize = 2 KBluetoothHCIEventPacketMaxDataSize = 255 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 KBluetoothHCILoopbackModeLocal = 1 KBluetoothHCILoopbackModeOff = 0 KBluetoothHCILoopbackModeRemote = 2 KBluetoothHCIMaxCommandPacketSize = 258 KBluetoothHCIMaxDataPacketSize = 65539 KBluetoothHCIMaxEventPacketSize = 257 KBluetoothHCIOpCodeNoOp = 0 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 KBluetoothHCITransportUSBClassCode = 224 KBluetoothHCITransportUSBProtocolCode = 1 KBluetoothHCITransportUSBSubClassCode = 1 KBluetoothKeyFlagSemiPermanent = 0 KBluetoothKeyFlagTemporary = 1 KBluetoothKeyTypeAuthenticatedCombination = 5 KBluetoothKeyTypeAuthenticatedCombinationP256 = 8 KBluetoothKeyTypeChangedCombination = 6 KBluetoothKeyTypeCombination = 0 KBluetoothKeyTypeDebugCombination = 3 KBluetoothKeyTypeLocalUnit = 1 KBluetoothKeyTypeRemoteUnit = 2 KBluetoothKeyTypeUnauthenticatedCombination = 4 KBluetoothKeyTypeUnauthenticatedCombinationP256 = 7 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 KBluetoothL2CAPConfigurationOptionFlushTimeoutLength = 2 KBluetoothL2CAPConfigurationOptionMTULength = 2 KBluetoothL2CAPConfigurationOptionQoSLength = 22 KBluetoothL2CAPConfigurationOptionRetransmissionAndFlowControlLength = 9 KBluetoothL2CAPFlushTimeoutDefault = 65535 KBluetoothL2CAPFlushTimeoutEnd = 65536 KBluetoothL2CAPFlushTimeoutForever = 65535 KBluetoothL2CAPFlushTimeoutImmediate = 1 KBluetoothL2CAPFlushTimeoutUseExisting = 0 KBluetoothL2CAPInfoTypeMaxConnectionlessMTUSize = 1 KBluetoothL2CAPMTUDefault = 1017 KBluetoothL2CAPMTULowEnergyDefault = 27 KBluetoothL2CAPMTULowEnergyMax = 251 KBluetoothL2CAPMTUMaximum = 65535 KBluetoothL2CAPMTUMinimum = 48 KBluetoothL2CAPMTUSIG = 48 KBluetoothL2CAPMTUStart = 32767 KBluetoothL2CAPMaxPacketSize = 65535 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 KBluetoothL2CAPPacketHeaderSize = 4 KBluetoothL2CAPQoSDelayVariationDefault = 4294967295 KBluetoothL2CAPQoSFlagsDefault = 0 KBluetoothL2CAPQoSLatencyDefault = 4294967295 KBluetoothL2CAPQoSPeakBandwidthDefault = 0 KBluetoothL2CAPQoSTokenBucketSizeDefault = 0 KBluetoothL2CAPQoSTokenRateDefault = 0 KBluetoothL2CAPQoSTypeDefault = 1 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 KBluetoothL2CAPTCIEventIDL2CA_ConfigInd = 2 KBluetoothL2CAPTCIEventIDL2CA_ConnectInd = 1 KBluetoothL2CAPTCIEventIDL2CA_DisconnectInd = 3 KBluetoothL2CAPTCIEventIDL2CA_QoSViolationInd = 4 KBluetoothL2CAPTCIEventIDL2CA_TimeOutInd = 5 KBluetoothL2CAPTCIEventIDReserved = 0 KBluetoothLEMaxTXOctetsDefault = 128 KBluetoothLEMaxTXOctetsMax = 251 KBluetoothLEMaxTXOctetsMin = 27 KBluetoothLEMaxTXTimeDefault = 27 KBluetoothLEMaxTXTimeMax = 2120 KBluetoothLEMaxTXTimeMin = 328 KBluetoothLESecurityManagerBonding = 1 KBluetoothLESecurityManagerNoBonding = 0 KBluetoothLESecurityManagerReservedEnd = 3 KBluetoothLESecurityManagerReservedStart = 2 KBluetoothLETXOctetsDefault = 27 KBluetoothLETXOctetsMax = 251 KBluetoothLETXOctetsMin = 27 KBluetoothLETXTimeDefault = 328 KBluetoothLETXTimeMax = 2120 KBluetoothLETXTimeMin = 328 KBluetoothLimitedInquiryAccessCodeEnd = 10390273 KBluetoothLimitedInquiryAccessCodeIndex = 1 KBluetoothLimitedInquiryAccessCodeLAPValue = 10390272 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 KBluetoothPageScanModeMandatory = 0 KBluetoothPageScanModeOptional1 = 1 KBluetoothPageScanModeOptional2 = 2 KBluetoothPageScanModeOptional3 = 3 KBluetoothPageScanPeriodModeP0 = 0 KBluetoothPageScanPeriodModeP1 = 1 KBluetoothPageScanPeriodModeP2 = 2 KBluetoothPageScanRepetitionModeR0 = 0 KBluetoothPageScanRepetitionModeR1 = 1 KBluetoothPageScanRepetitionModeR2 = 2 KBluetoothRoleBecomeCentral = 0 KBluetoothRoleBecomeMaster = 0 KBluetoothRoleRemainPeripheral = 1 KBluetoothRoleRemainSlave = 1 KBluetoothSDPDataElementTypeBoolean = 5 KBluetoothSDPDataElementTypeDataElementAlternative = 7 KBluetoothSDPDataElementTypeDataElementSequence = 6 KBluetoothSDPDataElementTypeNil = 0 KBluetoothSDPDataElementTypeReservedEnd = 31 KBluetoothSDPDataElementTypeReservedStart = 9 KBluetoothSDPDataElementTypeSignedInt = 2 KBluetoothSDPDataElementTypeString = 4 KBluetoothSDPDataElementTypeURL = 8 KBluetoothSDPDataElementTypeUUID = 3 KBluetoothSDPDataElementTypeUnsignedInt = 1 KBluetoothSDPErrorCodeInsufficientResources = 6 KBluetoothSDPErrorCodeInvalidContinuationState = 5 KBluetoothSDPErrorCodeInvalidPDUSize = 4 KBluetoothSDPErrorCodeInvalidRequestSyntax = 3 KBluetoothSDPErrorCodeInvalidSDPVersion = 1 KBluetoothSDPErrorCodeInvalidServiceRecordHandle = 2 KBluetoothSDPErrorCodeReserved = 0 KBluetoothSDPErrorCodeReservedEnd = 65535 KBluetoothSDPErrorCodeReservedStart = 7 KBluetoothSDPErrorCodeSuccess = 0 KBluetoothSDPPDUIDErrorResponse = 1 KBluetoothSDPPDUIDReserved = 0 KBluetoothSDPPDUIDServiceAttributeRequest = 4 KBluetoothSDPPDUIDServiceAttributeResponse = 5 KBluetoothSDPPDUIDServiceSearchAttributeRequest = 6 KBluetoothSDPPDUIDServiceSearchAttributeResponse = 7 KBluetoothSDPPDUIDServiceSearchRequest = 2 KBluetoothSDPPDUIDServiceSearchResponse = 3 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 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 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 KBluetoothVoiceSettingAirCodingFormatALaw = 2 KBluetoothVoiceSettingAirCodingFormatCVSD = 0 KBluetoothVoiceSettingAirCodingFormatMask = 3 KBluetoothVoiceSettingAirCodingFormatTransparentData = 3 KBluetoothVoiceSettingAirCodingFormatULaw = 1 KBluetoothVoiceSettingInputCodingALawInputCoding = 512 KBluetoothVoiceSettingInputCodingLinearInputCoding = 0 KBluetoothVoiceSettingInputCodingMask = 768 KBluetoothVoiceSettingInputCodingULawInputCoding = 256 KBluetoothVoiceSettingInputDataFormat1sComplement = 0 KBluetoothVoiceSettingInputDataFormat2sComplement = 64 KBluetoothVoiceSettingInputDataFormatMask = 192 KBluetoothVoiceSettingInputDataFormatSignMagnitude = 128 KBluetoothVoiceSettingInputDataFormatUnsigned = 192 KBluetoothVoiceSettingInputSampleSize16Bit = 32 KBluetoothVoiceSettingInputSampleSize8Bit = 0 KBluetoothVoiceSettingInputSampleSizeMask = 32 KBluetoothVoiceSettingPCMBitPositionMask = 28 KMaximumNumberOfInquiryAccessCodes = 64 )
Variables ¶
This section is empty.
Functions ¶
func FavoriteDevices ¶ added in v0.17.0
FavoriteDevices gets an array of the user’s favorite devices.
func IOBluetoothAddSCOAudioDevice ¶
func IOBluetoothAddSCOAudioDevice(device IOBluetoothDeviceRef, configDict corefoundation.CFDictionaryRef) int
IOBluetoothAddSCOAudioDevice calls the IOBluetooth framework function IOBluetoothAddSCOAudioDevice.
func IOBluetoothFindNumberOfRegistryEntriesOfClassName ¶
IOBluetoothFindNumberOfRegistryEntriesOfClassName calls the IOBluetooth framework function IOBluetoothFindNumberOfRegistryEntriesOfClassName.
func IOBluetoothGetUniqueFileNameAndPath ¶
IOBluetoothGetUniqueFileNameAndPath calls the IOBluetooth framework function IOBluetoothGetUniqueFileNameAndPath.
func IOBluetoothHandsFreeCallDirection ¶
IOBluetoothHandsFreeCallDirection returns the string constant IOBluetoothHandsFreeCallDirection, for use as a dictionary key or argument.
func IOBluetoothHandsFreeCallIndex ¶
IOBluetoothHandsFreeCallIndex returns the string constant IOBluetoothHandsFreeCallIndex, for use as a dictionary key or argument.
func IOBluetoothHandsFreeCallMode ¶
IOBluetoothHandsFreeCallMode returns the string constant IOBluetoothHandsFreeCallMode, for use as a dictionary key or argument.
func IOBluetoothHandsFreeCallMultiparty ¶
IOBluetoothHandsFreeCallMultiparty returns the string constant IOBluetoothHandsFreeCallMultiparty, for use as a dictionary key or argument.
func IOBluetoothHandsFreeCallName ¶
IOBluetoothHandsFreeCallName returns the string constant IOBluetoothHandsFreeCallName, for use as a dictionary key or argument.
func IOBluetoothHandsFreeCallNumber ¶
IOBluetoothHandsFreeCallNumber returns the string constant IOBluetoothHandsFreeCallNumber, for use as a dictionary key or argument.
func IOBluetoothHandsFreeCallStatus ¶
IOBluetoothHandsFreeCallStatus returns the string constant IOBluetoothHandsFreeCallStatus, for use as a dictionary key or argument.
func IOBluetoothHandsFreeCallType ¶
IOBluetoothHandsFreeCallType returns the string constant IOBluetoothHandsFreeCallType, for use as a dictionary key or argument.
func IOBluetoothHandsFreeIndicatorBattChg ¶
IOBluetoothHandsFreeIndicatorBattChg returns the string constant IOBluetoothHandsFreeIndicatorBattChg, for use as a dictionary key or argument.
func IOBluetoothHandsFreeIndicatorCall ¶
IOBluetoothHandsFreeIndicatorCall returns the string constant IOBluetoothHandsFreeIndicatorCall, for use as a dictionary key or argument.
func IOBluetoothHandsFreeIndicatorCallHeld ¶
IOBluetoothHandsFreeIndicatorCallHeld returns the string constant IOBluetoothHandsFreeIndicatorCallHeld, for use as a dictionary key or argument.
func IOBluetoothHandsFreeIndicatorCallSetup ¶
IOBluetoothHandsFreeIndicatorCallSetup returns the string constant IOBluetoothHandsFreeIndicatorCallSetup, for use as a dictionary key or argument.
func IOBluetoothHandsFreeIndicatorRoam ¶
IOBluetoothHandsFreeIndicatorRoam returns the string constant IOBluetoothHandsFreeIndicatorRoam, for use as a dictionary key or argument.
func IOBluetoothHandsFreeIndicatorService ¶
IOBluetoothHandsFreeIndicatorService returns the string constant IOBluetoothHandsFreeIndicatorService, for use as a dictionary key or argument.
func IOBluetoothHandsFreeIndicatorSignal ¶
IOBluetoothHandsFreeIndicatorSignal returns the string constant IOBluetoothHandsFreeIndicatorSignal, for use as a dictionary key or argument.
func IOBluetoothHostControllerPoweredOffNotification ¶
IOBluetoothHostControllerPoweredOffNotification returns the string constant IOBluetoothHostControllerPoweredOffNotification, for use as a dictionary key or argument.
func IOBluetoothHostControllerPoweredOnNotification ¶
IOBluetoothHostControllerPoweredOnNotification returns the string constant IOBluetoothHostControllerPoweredOnNotification, for use as a dictionary key or argument.
func IOBluetoothIgnoreHIDDevice ¶
func IOBluetoothIgnoreHIDDevice(device IOBluetoothDeviceRef)
IOBluetoothIgnoreHIDDevice calls the IOBluetooth framework function IOBluetoothIgnoreHIDDevice.
func IOBluetoothIsFileAppleDesignatedPIMData ¶
IOBluetoothIsFileAppleDesignatedPIMData calls the IOBluetooth framework function IOBluetoothIsFileAppleDesignatedPIMData.
func IOBluetoothL2CAPChannelPublishedNotification ¶
IOBluetoothL2CAPChannelPublishedNotification returns the string constant IOBluetoothL2CAPChannelPublishedNotification, for use as a dictionary key or argument.
func IOBluetoothL2CAPChannelTerminatedNotification ¶
IOBluetoothL2CAPChannelTerminatedNotification returns the string constant IOBluetoothL2CAPChannelTerminatedNotification, for use as a dictionary key or argument.
func IOBluetoothNSStringFromDeviceAddress ¶
func IOBluetoothNSStringFromDeviceAddress(deviceAddress *BluetoothDeviceAddress) string
IOBluetoothNSStringFromDeviceAddress calls the IOBluetooth framework function IOBluetoothNSStringFromDeviceAddress.
func IOBluetoothNSStringFromDeviceAddressColon ¶
func IOBluetoothNSStringFromDeviceAddressColon(deviceAddress *BluetoothDeviceAddress) string
IOBluetoothNSStringFromDeviceAddressColon calls the IOBluetooth framework function IOBluetoothNSStringFromDeviceAddressColon.
func IOBluetoothNumberOfAvailableHIDDevices ¶
func IOBluetoothNumberOfAvailableHIDDevices() int
IOBluetoothNumberOfAvailableHIDDevices calls the IOBluetooth framework function IOBluetoothNumberOfAvailableHIDDevices.
func IOBluetoothNumberOfKeyboardHIDDevices ¶
func IOBluetoothNumberOfKeyboardHIDDevices() int
IOBluetoothNumberOfKeyboardHIDDevices calls the IOBluetooth framework function IOBluetoothNumberOfKeyboardHIDDevices.
func IOBluetoothNumberOfPointingHIDDevices ¶
func IOBluetoothNumberOfPointingHIDDevices() int
IOBluetoothNumberOfPointingHIDDevices calls the IOBluetooth framework function IOBluetoothNumberOfPointingHIDDevices.
func IOBluetoothNumberOfTabletHIDDevices ¶
func IOBluetoothNumberOfTabletHIDDevices() int
IOBluetoothNumberOfTabletHIDDevices calls the IOBluetooth framework function IOBluetoothNumberOfTabletHIDDevices.
func IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber ¶
func IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber(inDeviceRef IOBluetoothDeviceRef, inChannelID uint8, outSessionRef unsafe.Pointer) int32
IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber calls the IOBluetooth framework function IOBluetoothOBEXSessionCreateWithIOBluetoothDeviceRefAndChannelNumber.
func IOBluetoothOBEXSessionCreateWithIOBluetoothSDPServiceRecordRef ¶
func IOBluetoothOBEXSessionCreateWithIOBluetoothSDPServiceRecordRef(inSDPServiceRef IOBluetoothSDPServiceRecordRef, outSessionRef unsafe.Pointer) int32
IOBluetoothOBEXSessionCreateWithIOBluetoothSDPServiceRecordRef calls the IOBluetooth framework function IOBluetoothOBEXSessionCreateWithIOBluetoothSDPServiceRecordRef.
func IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel ¶
func IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel(inRFCOMMChannelRef IOBluetoothRFCOMMChannelRef, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer, outSessionRef unsafe.Pointer) int32
IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel calls the IOBluetooth framework function IOBluetoothOBEXSessionCreateWithIncomingIOBluetoothRFCOMMChannel.
func IOBluetoothOBEXSessionOpenTransportConnection ¶
func IOBluetoothOBEXSessionOpenTransportConnection(inSessionRef OBEXSessionRef, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
IOBluetoothOBEXSessionOpenTransportConnection calls the IOBluetooth framework function IOBluetoothOBEXSessionOpenTransportConnection.
func IOBluetoothPDUEncoding ¶
IOBluetoothPDUEncoding returns the string constant IOBluetoothPDUEncoding, for use as a dictionary key or argument.
func IOBluetoothPDUOriginatingAddress ¶
IOBluetoothPDUOriginatingAddress returns the string constant IOBluetoothPDUOriginatingAddress, for use as a dictionary key or argument.
func IOBluetoothPDUOriginatingAddressType ¶
IOBluetoothPDUOriginatingAddressType returns the string constant IOBluetoothPDUOriginatingAddressType, for use as a dictionary key or argument.
func IOBluetoothPDUProtocolID ¶
IOBluetoothPDUProtocolID returns the string constant IOBluetoothPDUProtocolID, for use as a dictionary key or argument.
func IOBluetoothPDUServicCenterAddress ¶
IOBluetoothPDUServicCenterAddress returns the string constant IOBluetoothPDUServicCenterAddress, for use as a dictionary key or argument.
func IOBluetoothPDUServiceCenterAddressType ¶
IOBluetoothPDUServiceCenterAddressType returns the string constant IOBluetoothPDUServiceCenterAddressType, for use as a dictionary key or argument.
func IOBluetoothPDUTimestamp ¶
IOBluetoothPDUTimestamp returns the string constant IOBluetoothPDUTimestamp, for use as a dictionary key or argument.
func IOBluetoothPDUType ¶
IOBluetoothPDUType returns the string constant IOBluetoothPDUType, for use as a dictionary key or argument.
func IOBluetoothPDUUserData ¶
IOBluetoothPDUUserData returns the string constant IOBluetoothPDUUserData, for use as a dictionary key or argument.
func IOBluetoothPackDataList ¶
IOBluetoothPackDataList calls the IOBluetooth framework function IOBluetoothPackDataList.
func IOBluetoothRemoveIgnoredHIDDevice ¶
func IOBluetoothRemoveIgnoredHIDDevice(device IOBluetoothDeviceRef)
IOBluetoothRemoveIgnoredHIDDevice calls the IOBluetooth framework function IOBluetoothRemoveIgnoredHIDDevice.
func IOBluetoothRemoveSCOAudioDevice ¶
func IOBluetoothRemoveSCOAudioDevice(device IOBluetoothDeviceRef) int
IOBluetoothRemoveSCOAudioDevice calls the IOBluetooth framework function IOBluetoothRemoveSCOAudioDevice.
func IOBluetoothUnpackDataList ¶
func IOBluetoothUnpackDataList(inBufferSize int, inBuffer unsafe.Pointer, inFormat string, inArgs string) int
IOBluetoothUnpackDataList calls the IOBluetooth framework function IOBluetoothUnpackDataList.
func IOBluetoothUserNotificationUnregister ¶
func IOBluetoothUserNotificationUnregister(notificationRef IOBluetoothUserNotificationRef)
IOBluetoothUserNotificationUnregister calls the IOBluetooth framework function IOBluetoothUserNotificationUnregister.
func KFTSListingNameKey ¶
KFTSListingNameKey returns the value of the constant kFTSListingNameKey.
func KFTSListingSizeKey ¶
KFTSListingSizeKey returns the value of the constant kFTSListingSizeKey.
func KFTSListingTypeKey ¶
KFTSListingTypeKey returns the value of the constant kFTSListingTypeKey.
func KFTSProgressBytesTotalKey ¶
KFTSProgressBytesTotalKey returns the value of the constant kFTSProgressBytesTotalKey.
func KFTSProgressBytesTransferredKey ¶
KFTSProgressBytesTransferredKey returns the value of the constant kFTSProgressBytesTransferredKey.
func KFTSProgressEstimatedTimeKey ¶
KFTSProgressEstimatedTimeKey returns the value of the constant kFTSProgressEstimatedTimeKey.
func KFTSProgressPercentageKey ¶
KFTSProgressPercentageKey returns the value of the constant kFTSProgressPercentageKey.
func KFTSProgressPrecentageKey ¶
KFTSProgressPrecentageKey returns the value of the constant kFTSProgressPrecentageKey.
func KFTSProgressTimeElapsedKey ¶
KFTSProgressTimeElapsedKey returns the value of the constant kFTSProgressTimeElapsedKey.
func KFTSProgressTransferRateKey ¶
KFTSProgressTransferRateKey returns the value of the constant kFTSProgressTransferRateKey.
func KOBEXHeaderIDKeyAppParameters ¶
KOBEXHeaderIDKeyAppParameters returns the value of the constant kOBEXHeaderIDKeyAppParameters.
func KOBEXHeaderIDKeyAuthorizationChallenge ¶
KOBEXHeaderIDKeyAuthorizationChallenge returns the value of the constant kOBEXHeaderIDKeyAuthorizationChallenge.
func KOBEXHeaderIDKeyAuthorizationResponse ¶
KOBEXHeaderIDKeyAuthorizationResponse returns the value of the constant kOBEXHeaderIDKeyAuthorizationResponse.
func KOBEXHeaderIDKeyBody ¶
KOBEXHeaderIDKeyBody returns the value of the constant kOBEXHeaderIDKeyBody.
func KOBEXHeaderIDKeyByteSequence ¶
KOBEXHeaderIDKeyByteSequence returns the value of the constant kOBEXHeaderIDKeyByteSequence.
func KOBEXHeaderIDKeyConnectionID ¶
KOBEXHeaderIDKeyConnectionID returns the value of the constant kOBEXHeaderIDKeyConnectionID.
func KOBEXHeaderIDKeyCount ¶
KOBEXHeaderIDKeyCount returns the value of the constant kOBEXHeaderIDKeyCount.
func KOBEXHeaderIDKeyDescription ¶
KOBEXHeaderIDKeyDescription returns the value of the constant kOBEXHeaderIDKeyDescription.
func KOBEXHeaderIDKeyEndOfBody ¶
KOBEXHeaderIDKeyEndOfBody returns the value of the constant kOBEXHeaderIDKeyEndOfBody.
func KOBEXHeaderIDKeyHTTP ¶
KOBEXHeaderIDKeyHTTP returns the value of the constant kOBEXHeaderIDKeyHTTP.
func KOBEXHeaderIDKeyLength ¶
KOBEXHeaderIDKeyLength returns the value of the constant kOBEXHeaderIDKeyLength.
func KOBEXHeaderIDKeyName ¶
KOBEXHeaderIDKeyName returns the value of the constant kOBEXHeaderIDKeyName.
func KOBEXHeaderIDKeyObjectClass ¶
KOBEXHeaderIDKeyObjectClass returns the value of the constant kOBEXHeaderIDKeyObjectClass.
func KOBEXHeaderIDKeyTarget ¶
KOBEXHeaderIDKeyTarget returns the value of the constant kOBEXHeaderIDKeyTarget.
func KOBEXHeaderIDKeyTime4Byte ¶
KOBEXHeaderIDKeyTime4Byte returns the value of the constant kOBEXHeaderIDKeyTime4Byte.
func KOBEXHeaderIDKeyTimeISO ¶
KOBEXHeaderIDKeyTimeISO returns the value of the constant kOBEXHeaderIDKeyTimeISO.
func KOBEXHeaderIDKeyType ¶
KOBEXHeaderIDKeyType returns the value of the constant kOBEXHeaderIDKeyType.
func KOBEXHeaderIDKeyUnknown1ByteQuantity ¶
KOBEXHeaderIDKeyUnknown1ByteQuantity returns the value of the constant kOBEXHeaderIDKeyUnknown1ByteQuantity.
func KOBEXHeaderIDKeyUnknown4ByteQuantity ¶
KOBEXHeaderIDKeyUnknown4ByteQuantity returns the value of the constant kOBEXHeaderIDKeyUnknown4ByteQuantity.
func KOBEXHeaderIDKeyUnknownByteSequence ¶
KOBEXHeaderIDKeyUnknownByteSequence returns the value of the constant kOBEXHeaderIDKeyUnknownByteSequence.
func KOBEXHeaderIDKeyUnknownUnicodeText ¶
KOBEXHeaderIDKeyUnknownUnicodeText returns the value of the constant kOBEXHeaderIDKeyUnknownUnicodeText.
func KOBEXHeaderIDKeyUserDefined ¶
KOBEXHeaderIDKeyUserDefined returns the value of the constant kOBEXHeaderIDKeyUserDefined.
func KOBEXHeaderIDKeyWho ¶
KOBEXHeaderIDKeyWho returns the value of the constant kOBEXHeaderIDKeyWho.
func OBEXAddApplicationParameterHeader ¶
func OBEXAddApplicationParameterHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddApplicationParameterHeader calls the IOBluetooth framework function OBEXAddApplicationParameterHeader.
func OBEXAddAuthorizationChallengeHeader ¶
func OBEXAddAuthorizationChallengeHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddAuthorizationChallengeHeader calls the IOBluetooth framework function OBEXAddAuthorizationChallengeHeader.
func OBEXAddAuthorizationResponseHeader ¶
func OBEXAddAuthorizationResponseHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddAuthorizationResponseHeader calls the IOBluetooth framework function OBEXAddAuthorizationResponseHeader.
func OBEXAddBodyHeader ¶
func OBEXAddBodyHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, isEndOfBody uint8, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddBodyHeader calls the IOBluetooth framework function OBEXAddBodyHeader.
func OBEXAddByteSequenceHeader ¶
func OBEXAddByteSequenceHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddByteSequenceHeader calls the IOBluetooth framework function OBEXAddByteSequenceHeader.
func OBEXAddConnectionIDHeader ¶
func OBEXAddConnectionIDHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddConnectionIDHeader calls the IOBluetooth framework function OBEXAddConnectionIDHeader.
func OBEXAddCountHeader ¶
func OBEXAddCountHeader(count uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddCountHeader calls the IOBluetooth framework function OBEXAddCountHeader.
func OBEXAddDescriptionHeader ¶
func OBEXAddDescriptionHeader(description corefoundation.CFStringRef, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddDescriptionHeader calls the IOBluetooth framework function OBEXAddDescriptionHeader.
func OBEXAddHTTPHeader ¶
func OBEXAddHTTPHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddHTTPHeader calls the IOBluetooth framework function OBEXAddHTTPHeader.
func OBEXAddLengthHeader ¶
func OBEXAddLengthHeader(length uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddLengthHeader calls the IOBluetooth framework function OBEXAddLengthHeader.
func OBEXAddNameHeader ¶
func OBEXAddNameHeader(name corefoundation.CFStringRef, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddNameHeader calls the IOBluetooth framework function OBEXAddNameHeader.
func OBEXAddObjectClassHeader ¶
func OBEXAddObjectClassHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddObjectClassHeader calls the IOBluetooth framework function OBEXAddObjectClassHeader.
func OBEXAddTargetHeader ¶
func OBEXAddTargetHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddTargetHeader calls the IOBluetooth framework function OBEXAddTargetHeader.
func OBEXAddTime4ByteHeader ¶
func OBEXAddTime4ByteHeader(time4Byte uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddTime4ByteHeader calls the IOBluetooth framework function OBEXAddTime4ByteHeader.
func OBEXAddTimeISOHeader ¶
func OBEXAddTimeISOHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddTimeISOHeader calls the IOBluetooth framework function OBEXAddTimeISOHeader.
func OBEXAddTypeHeader ¶
func OBEXAddTypeHeader(type_ corefoundation.CFStringRef, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddTypeHeader calls the IOBluetooth framework function OBEXAddTypeHeader.
func OBEXAddUserDefinedHeader ¶
func OBEXAddUserDefinedHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddUserDefinedHeader calls the IOBluetooth framework function OBEXAddUserDefinedHeader.
func OBEXAddWhoHeader ¶
func OBEXAddWhoHeader(inHeaderData unsafe.Pointer, inHeaderDataLength uint32, dictRef corefoundation.CFMutableDictionaryRef) int32
OBEXAddWhoHeader calls the IOBluetooth framework function 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) corefoundation.CFDataRef
OBEXCreateVCard calls the IOBluetooth framework function OBEXCreateVCard.
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) corefoundation.CFDataRef
OBEXCreateVEvent calls the IOBluetooth framework function OBEXCreateVEvent.
func OBEXGetHeaders ¶
func OBEXGetHeaders(inData unsafe.Pointer, inDataSize int) corefoundation.CFDictionaryRef
OBEXGetHeaders calls the IOBluetooth framework function OBEXGetHeaders.
func OBEXHeadersToBytes ¶
func OBEXHeadersToBytes(dictionaryOfHeaders corefoundation.CFDictionaryRef) corefoundation.CFMutableDataRef
OBEXHeadersToBytes calls the IOBluetooth framework function OBEXHeadersToBytes.
func OBEXSessionAbort ¶
func OBEXSessionAbort(inSessionRef OBEXSessionRef, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionAbort calls the IOBluetooth framework function OBEXSessionAbort.
func OBEXSessionAbortResponse ¶
func OBEXSessionAbortResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionAbortResponse calls the IOBluetooth framework function OBEXSessionAbortResponse.
func OBEXSessionConnect ¶
func OBEXSessionConnect(inSessionRef OBEXSessionRef, inFlags uint8, inMaxPacketLength uint16, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionConnect calls the IOBluetooth framework function OBEXSessionConnect.
func OBEXSessionConnectResponse ¶
func OBEXSessionConnectResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, inFlags uint8, inMaxPacketLength uint16, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionConnectResponse calls the IOBluetooth framework function OBEXSessionConnectResponse.
func OBEXSessionDelete ¶
func OBEXSessionDelete(inSessionRef OBEXSessionRef) int32
OBEXSessionDelete calls the IOBluetooth framework function OBEXSessionDelete.
func OBEXSessionDisconnect ¶
func OBEXSessionDisconnect(inSessionRef OBEXSessionRef, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionDisconnect calls the IOBluetooth framework function OBEXSessionDisconnect.
func OBEXSessionDisconnectResponse ¶
func OBEXSessionDisconnectResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionDisconnectResponse calls the IOBluetooth framework function OBEXSessionDisconnectResponse.
func OBEXSessionGet ¶
func OBEXSessionGet(inSessionRef OBEXSessionRef, inIsFinalChunk uint8, inHeadersData unsafe.Pointer, inHeadersDataLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionGet calls the IOBluetooth framework function OBEXSessionGet.
func OBEXSessionGetAvailableCommandPayloadLength ¶
func OBEXSessionGetAvailableCommandPayloadLength(inSessionRef OBEXSessionRef, inOpCode uint8) (result int32, outLength uint16)
OBEXSessionGetAvailableCommandPayloadLength calls the IOBluetooth framework function OBEXSessionGetAvailableCommandPayloadLength.
func OBEXSessionGetAvailableCommandResponsePayloadLength ¶
func OBEXSessionGetAvailableCommandResponsePayloadLength(inSessionRef OBEXSessionRef, inOpCode uint8) (result int32, outLength uint16)
OBEXSessionGetAvailableCommandResponsePayloadLength calls the IOBluetooth framework function OBEXSessionGetAvailableCommandResponsePayloadLength.
func OBEXSessionGetMaxPacketLength ¶
func OBEXSessionGetMaxPacketLength(inSessionRef OBEXSessionRef) (result int32, outLength uint16)
OBEXSessionGetMaxPacketLength calls the IOBluetooth framework function OBEXSessionGetMaxPacketLength.
func OBEXSessionGetResponse ¶
func OBEXSessionGetResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionGetResponse calls the IOBluetooth framework function OBEXSessionGetResponse.
func OBEXSessionHasOpenOBEXConnection ¶
func OBEXSessionHasOpenOBEXConnection(inSessionRef OBEXSessionRef) (result int32, outIsConnected uint8)
OBEXSessionHasOpenOBEXConnection calls the IOBluetooth framework function OBEXSessionHasOpenOBEXConnection.
func OBEXSessionPut ¶
func OBEXSessionPut(inSessionRef OBEXSessionRef, inIsFinalChunk uint8, inHeadersData unsafe.Pointer, inHeadersDataLength int, inBodyData unsafe.Pointer, inBodyDataLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionPut calls the IOBluetooth framework function OBEXSessionPut.
func OBEXSessionPutResponse ¶
func OBEXSessionPutResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionPutResponse calls the IOBluetooth framework function OBEXSessionPutResponse.
func OBEXSessionSetPath ¶
func OBEXSessionSetPath(inSessionRef OBEXSessionRef, inFlags uint8, inConstants uint8, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionSetPath calls the IOBluetooth framework function OBEXSessionSetPath.
func OBEXSessionSetPathResponse ¶
func OBEXSessionSetPathResponse(inSessionRef OBEXSessionRef, inResponseOpCode uint8, inOptionalHeaders unsafe.Pointer, inOptionalHeadersLength int, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionSetPathResponse calls the IOBluetooth framework function OBEXSessionSetPathResponse.
func OBEXSessionSetServerCallback ¶
func OBEXSessionSetServerCallback(inSessionRef OBEXSessionRef, inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer) int32
OBEXSessionSetServerCallback calls the IOBluetooth framework function OBEXSessionSetServerCallback.
func PairedDevices ¶ added in v0.17.0
PairedDevices gets an array of all of the paired devices on the system.
func RecentDevices ¶ added in v0.17.0
RecentDevices gets an array of recently used Bluetooth devices.
Types ¶
type BluetoothAFHHostChannelClassification ¶
type BluetoothAFHHostChannelClassification struct {
Data [10]uint8
}
type BluetoothAFHResults ¶
type BluetoothAMPCommandRejectReason ¶
type BluetoothAMPCommandRejectReason int32
const (
KBluetoothAMPManagerCommandRejectReasonCommandNotRecognized BluetoothAMPCommandRejectReason = 0
)
func (BluetoothAMPCommandRejectReason) String ¶
func (e BluetoothAMPCommandRejectReason) String() string
String returns the BluetoothAMPCommandRejectReason constant's name, or its numeric form when the value is not a known constant.
type BluetoothAMPCreatePhysicalLinkResponseStatus ¶
type BluetoothAMPCreatePhysicalLinkResponseStatus int32
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
String returns the BluetoothAMPCreatePhysicalLinkResponseStatus constant's name, or its numeric form when the value is not a known constant.
type BluetoothAMPDisconnectPhysicalLinkResponseStatus ¶
type BluetoothAMPDisconnectPhysicalLinkResponseStatus int32
const ( KBluetoothAMPManagerDisconnectPhysicalLinkResponseSuccess BluetoothAMPDisconnectPhysicalLinkResponseStatus = 0 KBluetoothAMPManagerDisconnectPhysicalLinkResponseInvalidControllerID BluetoothAMPDisconnectPhysicalLinkResponseStatus = 1 KBluetoothAMPManagerDisconnectPhysicalLinkResponseNoPhysicalLink BluetoothAMPDisconnectPhysicalLinkResponseStatus = 2 )
func (BluetoothAMPDisconnectPhysicalLinkResponseStatus) String ¶
func (e BluetoothAMPDisconnectPhysicalLinkResponseStatus) String() string
String returns the BluetoothAMPDisconnectPhysicalLinkResponseStatus constant's name, or its numeric form when the value is not a known constant.
type BluetoothAMPDiscoverResponseControllerStatus ¶
type BluetoothAMPDiscoverResponseControllerStatus int32
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
String returns the BluetoothAMPDiscoverResponseControllerStatus constant's name, or its numeric form when the value is not a known constant.
type BluetoothAMPGetAssocResponseStatus ¶
type BluetoothAMPGetAssocResponseStatus int32
const ( KBluetoothAMPManagerGetAssocResponseSuccess BluetoothAMPGetAssocResponseStatus = 0 KBluetoothAMPManagerGetAssocResponseInvalidControllerID BluetoothAMPGetAssocResponseStatus = 1 )
func (BluetoothAMPGetAssocResponseStatus) String ¶
func (e BluetoothAMPGetAssocResponseStatus) String() string
String returns the BluetoothAMPGetAssocResponseStatus constant's name, or its numeric form when the value is not a known constant.
type BluetoothAMPGetInfoResponseStatus ¶
type BluetoothAMPGetInfoResponseStatus int32
const ( KBluetoothAMPManagerGetInfoResponseSuccess BluetoothAMPGetInfoResponseStatus = 0 KBluetoothAMPManagerGetInfoResponseInvalidControllerID BluetoothAMPGetInfoResponseStatus = 1 )
func (BluetoothAMPGetInfoResponseStatus) String ¶
func (e BluetoothAMPGetInfoResponseStatus) String() string
String returns the BluetoothAMPGetInfoResponseStatus constant's name, or its numeric form when the value is not a known constant.
type BluetoothAMPManagerCode ¶
type BluetoothAMPManagerCode int32
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
String returns the BluetoothAMPManagerCode constant's name, or its numeric form when the value is not a known constant.
type BluetoothAuthenticationRequirementsValues ¶
type BluetoothAuthenticationRequirementsValues int32
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
String returns the BluetoothAuthenticationRequirementsValues constant's name, or its numeric form when the value is not a known constant.
type BluetoothCompanyIdentifers ¶
type BluetoothCompanyIdentifers int32
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
String returns the BluetoothCompanyIdentifers constant's name, or its numeric form when the value is not a known constant.
type BluetoothDeviceAddress ¶
type BluetoothDeviceAddress struct {
Data [6]uint8
}
func IOBluetoothNSStringToDeviceAddress ¶
func IOBluetoothNSStringToDeviceAddress(inNameString string) (result int, outDeviceAddress BluetoothDeviceAddress)
IOBluetoothNSStringToDeviceAddress calls the IOBluetooth framework function IOBluetoothNSStringToDeviceAddress.
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 int32
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
String returns the BluetoothFeatureBits constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIAFHChannelAssessmentModes ¶
type BluetoothHCIAFHChannelAssessmentModes int32
const ( KAFHChannelAssessmentModeDisabled BluetoothHCIAFHChannelAssessmentModes = 0 KAFHChannelAssessmentModeEnabled BluetoothHCIAFHChannelAssessmentModes = 1 )
func (BluetoothHCIAFHChannelAssessmentModes) String ¶
func (e BluetoothHCIAFHChannelAssessmentModes) String() string
String returns the BluetoothHCIAFHChannelAssessmentModes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIAuthentionEnableModes ¶
type BluetoothHCIAuthentionEnableModes int32
const ( KAuthenticationDisabled BluetoothHCIAuthentionEnableModes = 0 KAuthenticationEnabled BluetoothHCIAuthentionEnableModes = 1 )
func (BluetoothHCIAuthentionEnableModes) String ¶
func (e BluetoothHCIAuthentionEnableModes) String() string
String returns the BluetoothHCIAuthentionEnableModes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIBufferSize ¶
type BluetoothHCIConnectionModes ¶
type BluetoothHCIConnectionModes int32
const ( KConnectionActiveMode BluetoothHCIConnectionModes = 0 KConnectionHoldMode BluetoothHCIConnectionModes = 1 KConnectionSniffMode BluetoothHCIConnectionModes = 2 KConnectionParkMode BluetoothHCIConnectionModes = 3 KConnectionModeReservedForFutureUse BluetoothHCIConnectionModes = 4 )
func (BluetoothHCIConnectionModes) String ¶
func (e BluetoothHCIConnectionModes) String() string
String returns the BluetoothHCIConnectionModes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIDeleteStoredLinkKeyFlags ¶
type BluetoothHCIDeleteStoredLinkKeyFlags int32
const ( KDeleteKeyForSpecifiedDeviceOnly BluetoothHCIDeleteStoredLinkKeyFlags = 0 KDeleteAllStoredLinkKeys BluetoothHCIDeleteStoredLinkKeyFlags = 1 )
func (BluetoothHCIDeleteStoredLinkKeyFlags) String ¶
func (e BluetoothHCIDeleteStoredLinkKeyFlags) String() string
String returns the BluetoothHCIDeleteStoredLinkKeyFlags constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIEncryptionModes ¶
type BluetoothHCIEncryptionModes int32
const ( KEncryptionDisabled BluetoothHCIEncryptionModes = 0 KEncryptionOnlyForPointToPointPackets BluetoothHCIEncryptionModes = 1 KEncryptionForBothPointToPointAndBroadcastPackets BluetoothHCIEncryptionModes = 2 )
func (BluetoothHCIEncryptionModes) String ¶
func (e BluetoothHCIEncryptionModes) String() string
String returns the BluetoothHCIEncryptionModes constant's name, or its numeric form when the value is not a known constant.
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 int32
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
String returns the BluetoothHCIExtendedInquiryResponseDataTypes constant's name, or its numeric form when the value is not a known constant.
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 int32
const ( KBluetoothHCIFECRequired BluetoothHCIFECRequiredValues = 0 KBluetoothHCIFECNotRequired BluetoothHCIFECRequiredValues = 1 )
func (BluetoothHCIFECRequiredValues) String ¶
func (e BluetoothHCIFECRequiredValues) String() string
String returns the BluetoothHCIFECRequiredValues constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIGeneralFlowControlStates ¶
type BluetoothHCIGeneralFlowControlStates int32
const ( KHostControllerToHostFlowControlOff BluetoothHCIGeneralFlowControlStates = 0 KHCIACLDataPacketsOnHCISCODataPacketsOff BluetoothHCIGeneralFlowControlStates = 1 KHCIACLDataPacketsOffHCISCODataPacketsOn BluetoothHCIGeneralFlowControlStates = 2 KHCIACLDataPacketsOnHCISCODataPacketsOn BluetoothHCIGeneralFlowControlStates = 3 )
func (BluetoothHCIGeneralFlowControlStates) String ¶
func (e BluetoothHCIGeneralFlowControlStates) String() string
String returns the BluetoothHCIGeneralFlowControlStates constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIHoldModeActivityStates ¶
type BluetoothHCIHoldModeActivityStates int32
const ( KMaintainCurrentPowerState BluetoothHCIHoldModeActivityStates = 0 KSuspendPageScan BluetoothHCIHoldModeActivityStates = 1 KSuspendInquiryScan BluetoothHCIHoldModeActivityStates = 2 KSuspendPeriodicInquiries BluetoothHCIHoldModeActivityStates = 3 )
func (BluetoothHCIHoldModeActivityStates) String ¶
func (e BluetoothHCIHoldModeActivityStates) String() string
String returns the BluetoothHCIHoldModeActivityStates constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIInquiryAccessCode ¶
type BluetoothHCIInquiryAccessCode struct {
Data [3]uint8
}
type BluetoothHCIInquiryModes ¶
type BluetoothHCIInquiryModes int32
const ( KBluetoothHCIInquiryModeResultFormatStandard BluetoothHCIInquiryModes = 0 KBluetoothHCIInquiryModeResultFormatWithRSSI BluetoothHCIInquiryModes = 1 KBluetoothHCIInquiryModeResultFormatWithRSSIOrExtendedInquiryResultFormat BluetoothHCIInquiryModes = 2 )
func (BluetoothHCIInquiryModes) String ¶
func (e BluetoothHCIInquiryModes) String() string
String returns the BluetoothHCIInquiryModes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIInquiryResults ¶
type BluetoothHCIInquiryResults struct {
Results [50]BluetoothHCIInquiryResult
Count uint32
}
type BluetoothHCIInquiryScanTypes ¶
type BluetoothHCIInquiryScanTypes int32
const ( KBluetoothHCIInquiryScanTypeStandard BluetoothHCIInquiryScanTypes = 0 KBluetoothHCIInquiryScanTypeInterlaced BluetoothHCIInquiryScanTypes = 1 KBluetoothHCIInquiryScanTypeReservedStart BluetoothHCIInquiryScanTypes = 2 KBluetoothHCIInquiryScanTypeReservedEnd BluetoothHCIInquiryScanTypes = 255 )
func (BluetoothHCIInquiryScanTypes) String ¶
func (e BluetoothHCIInquiryScanTypes) String() string
String returns the BluetoothHCIInquiryScanTypes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIInquiryWithRSSIResults ¶
type BluetoothHCIInquiryWithRSSIResults struct {
Results [50]BluetoothHCIInquiryWithRSSIResult
Count uint32
}
type BluetoothHCILESupportedFeatures ¶
type BluetoothHCILESupportedFeatures = BluetoothHCISupportedFeatures
BluetoothHCILESupportedFeatures is an alias for the BluetoothHCISupportedFeatures value type.
type BluetoothHCILEUsedFeatures ¶
type BluetoothHCILEUsedFeatures = BluetoothHCISupportedFeatures
BluetoothHCILEUsedFeatures is an alias for the BluetoothHCISupportedFeatures value type.
type BluetoothHCILinkPolicySettingsValues ¶
type BluetoothHCILinkPolicySettingsValues int32
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
String returns the BluetoothHCILinkPolicySettingsValues constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIPageScanEnableStates ¶
type BluetoothHCIPageScanEnableStates int32
const ( KNoScansEnabled BluetoothHCIPageScanEnableStates = 0 KInquiryScanEnabledPageScanDisabled BluetoothHCIPageScanEnableStates = 1 KInquiryScanDisabledPageScanEnabled BluetoothHCIPageScanEnableStates = 2 KInquiryScanEnabledPageScanEnabled BluetoothHCIPageScanEnableStates = 3 )
func (BluetoothHCIPageScanEnableStates) String ¶
func (e BluetoothHCIPageScanEnableStates) String() string
String returns the BluetoothHCIPageScanEnableStates constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIPageScanModes ¶
type BluetoothHCIPageScanModes int32
const ( KMandatoryPageScanMode BluetoothHCIPageScanModes = 0 KOptionalPageScanMode1 BluetoothHCIPageScanModes = 1 KOptionalPageScanMode2 BluetoothHCIPageScanModes = 2 KOptionalPageScanMode3 BluetoothHCIPageScanModes = 3 )
func (BluetoothHCIPageScanModes) String ¶
func (e BluetoothHCIPageScanModes) String() string
String returns the BluetoothHCIPageScanModes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIPageScanPeriodModes ¶
type BluetoothHCIPageScanPeriodModes int32
const ( KP0Mode BluetoothHCIPageScanPeriodModes = 0 KP1Mode BluetoothHCIPageScanPeriodModes = 1 KP2Mode BluetoothHCIPageScanPeriodModes = 2 )
func (BluetoothHCIPageScanPeriodModes) String ¶
func (e BluetoothHCIPageScanPeriodModes) String() string
String returns the BluetoothHCIPageScanPeriodModes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIPageScanTypes ¶
type BluetoothHCIPageScanTypes int32
const ( KBluetoothHCIPageScanTypeStandard BluetoothHCIPageScanTypes = 0 KBluetoothHCIPageScanTypeInterlaced BluetoothHCIPageScanTypes = 1 KBluetoothHCIPageScanTypeReservedStart BluetoothHCIPageScanTypes = 2 KBluetoothHCIPageScanTypeReservedEnd BluetoothHCIPageScanTypes = 255 )
func (BluetoothHCIPageScanTypes) String ¶
func (e BluetoothHCIPageScanTypes) String() string
String returns the BluetoothHCIPageScanTypes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIPowerState ¶
type BluetoothHCIPowerState int32
const ( KBluetoothHCIPowerStateON BluetoothHCIPowerState = 1 KBluetoothHCIPowerStateOFF BluetoothHCIPowerState = 0 KBluetoothHCIPowerStateUnintialized BluetoothHCIPowerState = 255 )
func (BluetoothHCIPowerState) String ¶
func (e BluetoothHCIPowerState) String() string
String returns the BluetoothHCIPowerState constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIRSSIInfo ¶
type BluetoothHCIReadExtendedInquiryResponseResults ¶
type BluetoothHCIReadExtendedInquiryResponseResults struct {
OutFECRequired uint8
ExtendedInquiryResponse BluetoothHCIExtendedInquiryResponse
}
type BluetoothHCIReadLocalOOBDataResults ¶
type BluetoothHCIReadLocalOOBDataResults struct {
Hash BluetoothHCISimplePairingOOBData
Randomizer BluetoothHCISimplePairingOOBData
}
type BluetoothHCIReadStoredLinkKeysFlags ¶
type BluetoothHCIReadStoredLinkKeysFlags int32
const ( KReturnLinkKeyForSpecifiedDeviceOnly BluetoothHCIReadStoredLinkKeysFlags = 0 KReadAllStoredLinkKeys BluetoothHCIReadStoredLinkKeysFlags = 1 )
func (BluetoothHCIReadStoredLinkKeysFlags) String ¶
func (e BluetoothHCIReadStoredLinkKeysFlags) String() string
String returns the BluetoothHCIReadStoredLinkKeysFlags constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIRetransmissionEffortTypes ¶
type BluetoothHCIRetransmissionEffortTypes int32
const ( KHCIRetransmissionEffortTypeNone BluetoothHCIRetransmissionEffortTypes = 0 KHCIRetransmissionEffortTypeAtLeastOneAndOptimizeForPower BluetoothHCIRetransmissionEffortTypes = 1 KHCIRetransmissionEffortTypeAtLeastOneAndOptimizeLinkQuality BluetoothHCIRetransmissionEffortTypes = 2 KHCIRetransmissionEffortTypeDontCare BluetoothHCIRetransmissionEffortTypes = 255 )
func (BluetoothHCIRetransmissionEffortTypes) String ¶
func (e BluetoothHCIRetransmissionEffortTypes) String() string
String returns the BluetoothHCIRetransmissionEffortTypes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIRoleInfo ¶
type BluetoothHCIRoles ¶
type BluetoothHCIRoles int32
const ( KBluetoothHCICentralRole BluetoothHCIRoles = 0 KBluetoothHCIPeripheralRole BluetoothHCIRoles = 1 KBluetoothHCIMasterRole BluetoothHCIRoles = 0 KBluetoothHCISlaveRole BluetoothHCIRoles = 1 )
func (BluetoothHCIRoles) String ¶
func (e BluetoothHCIRoles) String() string
String returns the BluetoothHCIRoles constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCISCOFlowControlStates ¶
type BluetoothHCISCOFlowControlStates int32
const ( KSCOFlowControlDisabled BluetoothHCISCOFlowControlStates = 0 KSCOFlowControlEnabled BluetoothHCISCOFlowControlStates = 1 )
func (BluetoothHCISCOFlowControlStates) String ¶
func (e BluetoothHCISCOFlowControlStates) String() string
String returns the BluetoothHCISCOFlowControlStates constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCISimplePairingModes ¶
type BluetoothHCISimplePairingModes int32
const ( KBluetoothHCISimplePairingModeNotSet BluetoothHCISimplePairingModes = 0 KBluetoothHCISimplePairingModeEnabled BluetoothHCISimplePairingModes = 1 )
func (BluetoothHCISimplePairingModes) String ¶
func (e BluetoothHCISimplePairingModes) String() string
String returns the BluetoothHCISimplePairingModes constant's name, or its numeric form when the value is not a known constant.
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 int32
const (
KDefaultPageTimeout BluetoothHCITimeoutValues = 10000
)
func (BluetoothHCITimeoutValues) String ¶
func (e BluetoothHCITimeoutValues) String() string
String returns the BluetoothHCITimeoutValues constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCITransmitReadPowerLevelTypes ¶
type BluetoothHCITransmitReadPowerLevelTypes int32
const ( KReadCurrentTransmitPowerLevel BluetoothHCITransmitReadPowerLevelTypes = 0 KReadMaximumTransmitPowerLevel BluetoothHCITransmitReadPowerLevelTypes = 1 )
func (BluetoothHCITransmitReadPowerLevelTypes) String ¶
func (e BluetoothHCITransmitReadPowerLevelTypes) String() string
String returns the BluetoothHCITransmitReadPowerLevelTypes constant's name, or its numeric form when the value is not a known constant.
type BluetoothHCIVersionInfo ¶
type BluetoothHCIVersions ¶
type BluetoothHCIVersions int32
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
String returns the BluetoothHCIVersions constant's name, or its numeric form when the value is not a known constant.
type BluetoothIOCapabilities ¶
type BluetoothIOCapabilities int32
const ( KBluetoothCapabilityTypeDisplayOnly BluetoothIOCapabilities = 0 KBluetoothCapabilityTypeDisplayYesNo BluetoothIOCapabilities = 1 KBluetoothCapabilityTypeKeyboardOnly BluetoothIOCapabilities = 2 KBluetoothCapabilityTypeNoInputNoOutput BluetoothIOCapabilities = 3 )
func (BluetoothIOCapabilities) String ¶
func (e BluetoothIOCapabilities) String() string
String returns the BluetoothIOCapabilities constant's name, or its numeric form when the value is not a known constant.
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 int32
const ( KBluetoothKeypressNotificationTypePasskeyEntryStarted BluetoothKeypressNotificationTypes = 0 KBluetoothKeypressNotificationTypePasskeyDigitEntered BluetoothKeypressNotificationTypes = 1 KBluetoothKeypressNotificationTypePasskeyDigitErased BluetoothKeypressNotificationTypes = 2 KBluetoothKeypressNotificationTypePasskeyCleared BluetoothKeypressNotificationTypes = 3 KBluetoothKeypressNotificationTypePasskeyEntryCompleted BluetoothKeypressNotificationTypes = 4 )
func (BluetoothKeypressNotificationTypes) String ¶
func (e BluetoothKeypressNotificationTypes) String() string
String returns the BluetoothKeypressNotificationTypes constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPCommandCode ¶
type BluetoothL2CAPCommandCode int32
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
String returns the BluetoothL2CAPCommandCode constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPCommandRejectReason ¶
type BluetoothL2CAPCommandRejectReason int32
const ( KBluetoothL2CAPCommandRejectReasonCommandNotUnderstood BluetoothL2CAPCommandRejectReason = 0 KBluetoothL2CAPCommandRejectReasonSignallingMTUExceeded BluetoothL2CAPCommandRejectReason = 1 KBluetoothL2CAPCommandRejectReasonInvalidCIDInRequest BluetoothL2CAPCommandRejectReason = 2 )
func (BluetoothL2CAPCommandRejectReason) String ¶
func (e BluetoothL2CAPCommandRejectReason) String() string
String returns the BluetoothL2CAPCommandRejectReason constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPConfigurationOption ¶
type BluetoothL2CAPConfigurationOption int32
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
String returns the BluetoothL2CAPConfigurationOption constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPConfigurationResult ¶
type BluetoothL2CAPConfigurationResult int32
const ( KBluetoothL2CAPConfigurationResultSuccess BluetoothL2CAPConfigurationResult = 0 KBluetoothL2CAPConfigurationResultUnacceptableParams BluetoothL2CAPConfigurationResult = 1 KBluetoothL2CAPConfigurationResultRejected BluetoothL2CAPConfigurationResult = 2 KBluetoothL2CAPConfigurationResultUnknownOptions BluetoothL2CAPConfigurationResult = 3 )
func (BluetoothL2CAPConfigurationResult) String ¶
func (e BluetoothL2CAPConfigurationResult) String() string
String returns the BluetoothL2CAPConfigurationResult constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags ¶
type BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags int32
const ( KBluetoothL2CAPConfigurationBasicL2CAPModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 0 KBluetoothL2CAPConfigurationRetransmissionModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 1 KBluetoothL2CAPConfigurationFlowControlModeFlag BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 2 KBluetoothL2CAPConfigurationEnhancedRetransmissionMode BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 3 KBluetoothL2CAPConfigurationStreamingMode BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags = 4 )
func (BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags) String ¶
func (e BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags) String() string
String returns the BluetoothL2CAPConfigurationRetransmissionAndFlowControlFlags constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPConnectionResult ¶
type BluetoothL2CAPConnectionResult int32
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
String returns the BluetoothL2CAPConnectionResult constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPConnectionStatus ¶
type BluetoothL2CAPConnectionStatus int32
const ( KBluetoothL2CAPConnectionStatusNoInfoAvailable BluetoothL2CAPConnectionStatus = 0 KBluetoothL2CAPConnectionStatusAuthenticationPending BluetoothL2CAPConnectionStatus = 1 KBluetoothL2CAPConnectionStatusAuthorizationPending BluetoothL2CAPConnectionStatus = 2 )
func (BluetoothL2CAPConnectionStatus) String ¶
func (e BluetoothL2CAPConnectionStatus) String() string
String returns the BluetoothL2CAPConnectionStatus constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPInformationExtendedFeaturesMask ¶
type BluetoothL2CAPInformationExtendedFeaturesMask int32
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
String returns the BluetoothL2CAPInformationExtendedFeaturesMask constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPInformationResult ¶
type BluetoothL2CAPInformationResult int32
const ( KBluetoothL2CAPInformationResultSuccess BluetoothL2CAPInformationResult = 0 KBluetoothL2CAPInformationResultNotSupported BluetoothL2CAPInformationResult = 1 )
func (BluetoothL2CAPInformationResult) String ¶
func (e BluetoothL2CAPInformationResult) String() string
String returns the BluetoothL2CAPInformationResult constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPInformationType ¶
type BluetoothL2CAPInformationType int32
const ( KBluetoothL2CAPInformationTypeConnectionlessMTU BluetoothL2CAPInformationType = 1 KBluetoothL2CAPInformationTypeExtendedFeatures BluetoothL2CAPInformationType = 2 KBluetoothL2CAPInformationTypeFixedChannelsSupported BluetoothL2CAPInformationType = 3 )
func (BluetoothL2CAPInformationType) String ¶
func (e BluetoothL2CAPInformationType) String() string
String returns the BluetoothL2CAPInformationType constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPQoSType ¶
type BluetoothL2CAPQoSType int32
const ( KBluetoothL2CAPQoSTypeNoTraffic BluetoothL2CAPQoSType = 0 KBluetoothL2CAPQoSTypeBestEffort BluetoothL2CAPQoSType = 1 KBluetoothL2CAPQoSTypeGuaranteed BluetoothL2CAPQoSType = 2 )
func (BluetoothL2CAPQoSType) String ¶
func (e BluetoothL2CAPQoSType) String() string
String returns the BluetoothL2CAPQoSType constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPSegmentationAndReassembly ¶
type BluetoothL2CAPSegmentationAndReassembly int32
const ( KBluetoothL2CAPSegmentationAndReassemblyUnsegmentedSDU BluetoothL2CAPSegmentationAndReassembly = 0 KBluetoothL2CAPSegmentationAndReassemblyStartOfSDU BluetoothL2CAPSegmentationAndReassembly = 1 KBluetoothL2CAPSegmentationAndReassemblyEndOfSDU BluetoothL2CAPSegmentationAndReassembly = 2 KBluetoothL2CAPSegmentationAndReassemblyContinuationOfSDU BluetoothL2CAPSegmentationAndReassembly = 3 )
func (BluetoothL2CAPSegmentationAndReassembly) String ¶
func (e BluetoothL2CAPSegmentationAndReassembly) String() string
String returns the BluetoothL2CAPSegmentationAndReassembly constant's name, or its numeric form when the value is not a known constant.
type BluetoothL2CAPSupervisoryFuctionType ¶
type BluetoothL2CAPSupervisoryFuctionType int32
const ( KBluetoothL2CAPSupervisoryFuctionTypeReceiverReady BluetoothL2CAPSupervisoryFuctionType = 0 KBluetoothL2CAPSupervisoryFuctionTypeReject BluetoothL2CAPSupervisoryFuctionType = 1 KBluetoothL2CAPSupervisoryFuctionTypeReceiverNotReady BluetoothL2CAPSupervisoryFuctionType = 2 KBluetoothL2CAPSupervisoryFuctionTypeSelectiveReject BluetoothL2CAPSupervisoryFuctionType = 3 )
func (BluetoothL2CAPSupervisoryFuctionType) String ¶
func (e BluetoothL2CAPSupervisoryFuctionType) String() string
String returns the BluetoothL2CAPSupervisoryFuctionType constant's name, or its numeric form when the value is not a known constant.
type BluetoothLEAddressType ¶
type BluetoothLEAddressType int32
const ( BluetoothLEAddressTypePublic BluetoothLEAddressType = 0 BluetoothLEAddressTypeRandom BluetoothLEAddressType = 1 )
func (BluetoothLEAddressType) String ¶
func (e BluetoothLEAddressType) String() string
String returns the BluetoothLEAddressType constant's name, or its numeric form when the value is not a known constant.
type BluetoothLEAdvertisingType ¶
type BluetoothLEAdvertisingType int32
const ( BluetoothLEAdvertisingTypeConnectableUndirected BluetoothLEAdvertisingType = 0 BluetoothLEAdvertisingTypeConnectableDirected BluetoothLEAdvertisingType = 1 BluetoothLEAdvertisingTypeDiscoverableUndirected BluetoothLEAdvertisingType = 2 BluetoothLEAdvertisingTypeNonConnectableUndirected BluetoothLEAdvertisingType = 3 BluetoothLEAdvertisingTypeScanResponse BluetoothLEAdvertisingType = 4 )
func (BluetoothLEAdvertisingType) String ¶
func (e BluetoothLEAdvertisingType) String() string
String returns the BluetoothLEAdvertisingType constant's name, or its numeric form when the value is not a known constant.
type BluetoothLEConnectionInterval ¶
type BluetoothLEConnectionInterval int32
const ( BluetoothLEConnectionIntervalMin BluetoothLEConnectionInterval = 6 BluetoothLEConnectionIntervalMax BluetoothLEConnectionInterval = 3200 )
func (BluetoothLEConnectionInterval) String ¶
func (e BluetoothLEConnectionInterval) String() string
String returns the BluetoothLEConnectionInterval constant's name, or its numeric form when the value is not a known constant.
type BluetoothLEFeatureBits ¶
type BluetoothLEFeatureBits int32
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
String returns the BluetoothLEFeatureBits constant's name, or its numeric form when the value is not a known constant.
type BluetoothLEScan ¶
type BluetoothLEScan int32
const ( BluetoothLEScanDisable BluetoothLEScan = 0 BluetoothLEScanEnable BluetoothLEScan = 1 )
func (BluetoothLEScan) String ¶
func (e BluetoothLEScan) String() string
String returns the BluetoothLEScan constant's name, or its numeric form when the value is not a known constant.
type BluetoothLEScanDuplicateFilter ¶
type BluetoothLEScanDuplicateFilter int32
const ( BluetoothLEScanDuplicateFilterDisable BluetoothLEScanDuplicateFilter = 0 BluetoothLEScanDuplicateFilterEnable BluetoothLEScanDuplicateFilter = 1 )
func (BluetoothLEScanDuplicateFilter) String ¶
func (e BluetoothLEScanDuplicateFilter) String() string
String returns the BluetoothLEScanDuplicateFilter constant's name, or its numeric form when the value is not a known constant.
type BluetoothLEScanFilter ¶
type BluetoothLEScanFilter int32
const ( BluetoothLEScanFilterNone BluetoothLEScanFilter = 0 BluetoothLEScanFilterSafelist BluetoothLEScanFilter = 1 BluetoothLEScanFilterWhitelist BluetoothLEScanFilter = 1 )
func (BluetoothLEScanFilter) String ¶
func (e BluetoothLEScanFilter) String() string
String returns the BluetoothLEScanFilter constant's name, or its numeric form when the value is not a known constant.
type BluetoothLEScanType ¶
type BluetoothLEScanType int32
const ( BluetoothLEScanTypePassive BluetoothLEScanType = 0 BluetoothLEScanTypeActive BluetoothLEScanType = 1 )
func (BluetoothLEScanType) String ¶
func (e BluetoothLEScanType) String() string
String returns the BluetoothLEScanType constant's name, or its numeric form when the value is not a known constant.
type BluetoothLESecurityManagerCommandCode ¶
type BluetoothLESecurityManagerCommandCode int32
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
String returns the BluetoothLESecurityManagerCommandCode constant's name, or its numeric form when the value is not a known constant.
type BluetoothLESecurityManagerIOCapability ¶
type BluetoothLESecurityManagerIOCapability int32
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
String returns the BluetoothLESecurityManagerIOCapability constant's name, or its numeric form when the value is not a known constant.
type BluetoothLESecurityManagerKeyDistributionFormat ¶
type BluetoothLESecurityManagerKeyDistributionFormat int32
const ( KBluetoothLESecurityManagerEncryptionKey BluetoothLESecurityManagerKeyDistributionFormat = 1 KBluetoothLESecurityManagerIDKey BluetoothLESecurityManagerKeyDistributionFormat = 2 KBluetoothLESecurityManagerSignKey BluetoothLESecurityManagerKeyDistributionFormat = 4 KBluetoothLESecurityManagerLinkKey BluetoothLESecurityManagerKeyDistributionFormat = 8 )
func (BluetoothLESecurityManagerKeyDistributionFormat) String ¶
func (e BluetoothLESecurityManagerKeyDistributionFormat) String() string
String returns the BluetoothLESecurityManagerKeyDistributionFormat constant's name, or its numeric form when the value is not a known constant.
type BluetoothLESecurityManagerKeypressNotificationType ¶
type BluetoothLESecurityManagerKeypressNotificationType int32
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
String returns the BluetoothLESecurityManagerKeypressNotificationType constant's name, or its numeric form when the value is not a known constant.
type BluetoothLESecurityManagerOOBData ¶
type BluetoothLESecurityManagerOOBData int32
const ( KBluetoothLESecurityManagerOOBAuthenticationDataNotPresent BluetoothLESecurityManagerOOBData = 0 KBluetoothLESecurityManagerOOBAuthenticationDataPresent BluetoothLESecurityManagerOOBData = 1 KBluetoothLESecurityManagerOOBDataReservedStart BluetoothLESecurityManagerOOBData = 2 KBluetoothLESecurityManagerOOBDataReservedEnd BluetoothLESecurityManagerOOBData = 255 )
func (BluetoothLESecurityManagerOOBData) String ¶
func (e BluetoothLESecurityManagerOOBData) String() string
String returns the BluetoothLESecurityManagerOOBData constant's name, or its numeric form when the value is not a known constant.
type BluetoothLESecurityManagerPairingFailedReasonCode ¶
type BluetoothLESecurityManagerPairingFailedReasonCode int32
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
String returns the BluetoothLESecurityManagerPairingFailedReasonCode constant's name, or its numeric form when the value is not a known constant.
type BluetoothLESecurityManagerUserInputCapability ¶
type BluetoothLESecurityManagerUserInputCapability int32
const ( KBluetoothLESecurityManagerUserInputCapabilityNoInput BluetoothLESecurityManagerUserInputCapability = 1 KBluetoothLESecurityManagerUserInputCapabilityYesNo BluetoothLESecurityManagerUserInputCapability = 2 KBluetoothLESecurityManagerUserInputCapabilityKeyboard BluetoothLESecurityManagerUserInputCapability = 3 )
func (BluetoothLESecurityManagerUserInputCapability) String ¶
func (e BluetoothLESecurityManagerUserInputCapability) String() string
String returns the BluetoothLESecurityManagerUserInputCapability constant's name, or its numeric form when the value is not a known constant.
type BluetoothLESecurityManagerUserOutputCapability ¶
type BluetoothLESecurityManagerUserOutputCapability int32
const ( KBluetoothLESecurityManagerUserOutputCapabilityNoOutput BluetoothLESecurityManagerUserOutputCapability = 1 KBluetoothLESecurityManagerUserOutputCapabilityNumericOutput BluetoothLESecurityManagerUserOutputCapability = 2 )
func (BluetoothLESecurityManagerUserOutputCapability) String ¶
func (e BluetoothLESecurityManagerUserOutputCapability) String() string
String returns the BluetoothLESecurityManagerUserOutputCapability constant's name, or its numeric form when the value is not a known constant.
type BluetoothLMPVersions ¶
type BluetoothLMPVersions int32
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
String returns the BluetoothLMPVersions constant's name, or its numeric form when the value is not a known constant.
type BluetoothLinkTypes ¶
type BluetoothLinkTypes int32
const ( KBluetoothSCOConnection BluetoothLinkTypes = 0 KBluetoothACLConnection BluetoothLinkTypes = 1 KBluetoothESCOConnection BluetoothLinkTypes = 2 KBluetoothLinkTypeNone BluetoothLinkTypes = 255 )
func (BluetoothLinkTypes) String ¶
func (e BluetoothLinkTypes) String() string
String returns the BluetoothLinkTypes constant's name, or its numeric form when the value is not a known constant.
type BluetoothOOBDataPresenceValues ¶
type BluetoothOOBDataPresenceValues int32
const ( KBluetoothOOBAuthenticationDataNotPresent BluetoothOOBDataPresenceValues = 0 KBluetoothOOBAuthenticationDataFromRemoteDevicePresent BluetoothOOBDataPresenceValues = 1 )
func (BluetoothOOBDataPresenceValues) String ¶
func (e BluetoothOOBDataPresenceValues) String() string
String returns the BluetoothOOBDataPresenceValues constant's name, or its numeric form when the value is not a known constant.
type BluetoothPINCode ¶
type BluetoothPINCode struct {
Data [16]uint8
}
type BluetoothRFCOMMLineStatus ¶
type BluetoothRFCOMMLineStatus int32
const ( BluetoothRFCOMMLineStatusNoError BluetoothRFCOMMLineStatus = 0 BluetoothRFCOMMLineStatusOverrunError BluetoothRFCOMMLineStatus = 1 BluetoothRFCOMMLineStatusParityError BluetoothRFCOMMLineStatus = 2 BluetoothRFCOMMLineStatusFramingError BluetoothRFCOMMLineStatus = 3 )
func (BluetoothRFCOMMLineStatus) String ¶
func (e BluetoothRFCOMMLineStatus) String() string
String returns the BluetoothRFCOMMLineStatus constant's name, or its numeric form when the value is not a known constant.
type BluetoothRFCOMMParityType ¶
type BluetoothRFCOMMParityType int32
const ( KBluetoothRFCOMMParityTypeNoParity BluetoothRFCOMMParityType = 0 KBluetoothRFCOMMParityTypeOddParity BluetoothRFCOMMParityType = 1 KBluetoothRFCOMMParityTypeEvenParity BluetoothRFCOMMParityType = 2 KBluetoothRFCOMMParityTypeMaxParity BluetoothRFCOMMParityType = 3 )
func (BluetoothRFCOMMParityType) String ¶
func (e BluetoothRFCOMMParityType) String() string
String returns the BluetoothRFCOMMParityType constant's name, or its numeric form when the value is not a known constant.
type BluetoothReadClockInfo ¶
type BluetoothRemoteHostSupportedFeaturesNotification ¶
type BluetoothRemoteHostSupportedFeaturesNotification struct {
DeviceAddress BluetoothDeviceAddress
HostSupportedFeatures BluetoothHCISupportedFeatures
}
type BluetoothSetEventMask ¶
type BluetoothSetEventMask struct {
Data [8]uint8
}
type BluetoothSimplePairingDebugModes ¶
type BluetoothSimplePairingDebugModes int32
const ( KBluetoothHCISimplePairingDebugModeDisabled BluetoothSimplePairingDebugModes = 0 KBluetoothHCISimplePairingDebugModeEnabled BluetoothSimplePairingDebugModes = 1 )
func (BluetoothSimplePairingDebugModes) String ¶
func (e BluetoothSimplePairingDebugModes) String() string
String returns the BluetoothSimplePairingDebugModes constant's name, or its numeric form when the value is not a known constant.
type BluetoothTransportInfo ¶
type BluetoothTransportTypes ¶
type BluetoothTransportTypes int32
const ( KBluetoothTransportTypeUSB BluetoothTransportTypes = 1 KBluetoothTransportTypePCCard BluetoothTransportTypes = 2 KBluetoothTransportTypePCICard BluetoothTransportTypes = 3 KBluetoothTransportTypeUART BluetoothTransportTypes = 4 KBluetoothTransportTypePCIe BluetoothTransportTypes = 5 )
func (BluetoothTransportTypes) String ¶
func (e BluetoothTransportTypes) String() string
String returns the BluetoothTransportTypes constant's name, or its numeric form when the value is not a known constant.
type BluetoothUserConfirmationRequest ¶
type BluetoothUserConfirmationRequest struct {
DeviceAddress BluetoothDeviceAddress
NumericValue uint32
}
type BluetoothUserPasskeyNotification ¶
type BluetoothUserPasskeyNotification struct {
DeviceAddress BluetoothDeviceAddress
Passkey uint32
}
type CBCentralManagerDelegate ¶
type CBCentralManagerDelegate interface {
}
CBCentralManagerDelegate is the Go form of the Objective-C protocol CBCentralManagerDelegate.
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FTSFileType ¶
type FTSFileType int32
The type values associated with the kFTSListingTypeKey dictionary value
const ( KFTSFileTypeFolder FTSFileType = 1 KFTSFileTypeFile FTSFileType = 2 )
func (FTSFileType) String ¶
func (e FTSFileType) String() string
String returns the FTSFileType constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothDevice ¶
type IOBluetoothDevice struct {
IOBluetoothObject
}
IOBluetoothDevice is an idiomatic wrapper over the Objective-C class IOBluetoothDevice.
It embeds IOBluetoothObject, promoting that type's methods.
An instance of IOBluetoothDevice represents a single remote Bluetooth device.
func DeviceWithAddress ¶ added in v0.18.0
func DeviceWithAddress(address *BluetoothDeviceAddress) *IOBluetoothDevice
DeviceWithAddress returns the IOBluetoothDevice object for the given BluetoothDeviceAddress
func DeviceWithAddressString ¶ added in v0.17.0
func DeviceWithAddressString(address string) *IOBluetoothDevice
DeviceWithAddressString returns the IOBluetoothDevice object for the given BluetoothDeviceAddress
func IOBluetoothDeviceFromID ¶
func IOBluetoothDeviceFromID(id objc.ID) *IOBluetoothDevice
IOBluetoothDeviceFromID adopts an existing Objective-C object as a IOBluetoothDevice (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothDevice ¶ added in v0.17.0
func NewIOBluetoothDevice() *IOBluetoothDevice
NewIOBluetoothDevice creates a new IOBluetoothDevice.
func WithAddress ¶ added in v0.18.0
func WithAddress(address *BluetoothDeviceAddress) *IOBluetoothDevice
WithAddress wraps the corresponding Objective-C method.
func WithDeviceRef ¶ added in v0.17.0
func WithDeviceRef(deviceRef IOBluetoothDeviceRef) *IOBluetoothDevice
WithDeviceRef method call to convert an IOBluetoothDeviceRef into an IOBluetoothDevice *.
func (*IOBluetoothDevice) AddToFavorites ¶
func (ibd *IOBluetoothDevice) AddToFavorites() int
AddToFavorites returns adds the target device to the user’s favorite devices list.
func (*IOBluetoothDevice) Address ¶ added in v0.18.0
func (ibd *IOBluetoothDevice) Address() *BluetoothDeviceAddress
Address get the Bluetooth device address for the target device.
func (*IOBluetoothDevice) AddressString ¶
func (ibd *IOBluetoothDevice) AddressString() string
AddressString returns the address string.
func (*IOBluetoothDevice) ClassOfDevice ¶
func (ibd *IOBluetoothDevice) ClassOfDevice() uint32
ClassOfDevice returns the class of device.
func (*IOBluetoothDevice) ClockOffset ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) ClockOffset() uint16
ClockOffset get the clock offset value of the device.
func (*IOBluetoothDevice) CloseConnection ¶
func (ibd *IOBluetoothDevice) CloseConnection() int
CloseConnection returns close down the baseband connection to the device.
func (*IOBluetoothDevice) ConnectionHandle ¶
func (ibd *IOBluetoothDevice) ConnectionHandle() uint16
ConnectionHandle returns the connection handle.
func (*IOBluetoothDevice) DeviceClassMajor ¶
func (ibd *IOBluetoothDevice) DeviceClassMajor() uint32
DeviceClassMajor returns the device class major.
func (*IOBluetoothDevice) DeviceClassMinor ¶
func (ibd *IOBluetoothDevice) DeviceClassMinor() uint32
DeviceClassMinor returns the device class minor.
func (*IOBluetoothDevice) DeviceRef ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) DeviceRef() IOBluetoothDeviceRef
DeviceRef returns an IOBluetoothDeviceRef representation of the target IOBluetoothDevice object.
func (*IOBluetoothDevice) EncryptionMode ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) EncryptionMode() uint8
EncryptionMode get the encryption mode for the baseband connection.
func (*IOBluetoothDevice) GetAddressString ¶
func (ibd *IOBluetoothDevice) GetAddressString() string
GetAddressString get a string representation of the Bluetooth device address for the target device. The format of the string is the same as returned by IOBluetoothNSStringFromDeviceAddress().
func (*IOBluetoothDevice) GetClassOfDevice ¶
func (ibd *IOBluetoothDevice) GetClassOfDevice() uint32
GetClassOfDevice gets the full class of device value for the remote device.
func (*IOBluetoothDevice) GetConnectionHandle ¶
func (ibd *IOBluetoothDevice) GetConnectionHandle() uint16
GetConnectionHandle get the connection handle for the baseband connection.
func (*IOBluetoothDevice) GetDeviceClassMajor ¶
func (ibd *IOBluetoothDevice) GetDeviceClassMajor() uint32
GetDeviceClassMajor get the major device class of the device.
func (*IOBluetoothDevice) GetDeviceClassMinor ¶
func (ibd *IOBluetoothDevice) GetDeviceClassMinor() uint32
GetDeviceClassMinor get the minor service class of the device.
func (*IOBluetoothDevice) GetLastNameUpdate ¶
func (ibd *IOBluetoothDevice) GetLastNameUpdate() time.Time
GetLastNameUpdate get the date/time of the last successful remote name request.
func (*IOBluetoothDevice) GetName ¶
func (ibd *IOBluetoothDevice) GetName() string
GetName get the human readable name of the remote device.
func (*IOBluetoothDevice) GetNameOrAddress ¶
func (ibd *IOBluetoothDevice) GetNameOrAddress() string
GetNameOrAddress get the human readable name of the remote device. If the name is not present, it will return a string containing the device’s address.
func (*IOBluetoothDevice) GetServiceClassMajor ¶
func (ibd *IOBluetoothDevice) GetServiceClassMajor() uint32
GetServiceClassMajor get the major service class of the device.
func (*IOBluetoothDevice) GetServiceRecordForUUID ¶
func (ibd *IOBluetoothDevice) GetServiceRecordForUUID(sdpUUID *IOBluetoothSDPUUID) *IOBluetoothSDPServiceRecord
GetServiceRecordForUUID search for a service record containing the given UUID.
func (*IOBluetoothDevice) GetServices ¶
func (ibd *IOBluetoothDevice) GetServices() obj.Object
GetServices returns the get services.
func (*IOBluetoothDevice) HandsFreeAudioGatewayDriverID ¶
func (ibd *IOBluetoothDevice) HandsFreeAudioGatewayDriverID() string
HandsFreeAudioGatewayDriverID returns the hands free gateway driver ID Returns the hands free gateway driver ID which is unique based on BT Address.
func (*IOBluetoothDevice) HandsFreeAudioGatewayServiceRecord ¶
func (ibd *IOBluetoothDevice) HandsFreeAudioGatewayServiceRecord() *IOBluetoothSDPServiceRecord
HandsFreeAudioGatewayServiceRecord returns the hands free gateway SDP record Returns the hands free gateway SDP record.
func (*IOBluetoothDevice) HandsFreeDeviceDriverID ¶
func (ibd *IOBluetoothDevice) HandsFreeDeviceDriverID() string
HandsFreeDeviceDriverID returns the hands free device driver ID Returns the hands free device driver ID which is unique based on BT Address.
func (*IOBluetoothDevice) HandsFreeDeviceServiceRecord ¶
func (ibd *IOBluetoothDevice) HandsFreeDeviceServiceRecord() *IOBluetoothSDPServiceRecord
HandsFreeDeviceServiceRecord returns the hands free device SDP record Returns the hands free device SDP record.
func (*IOBluetoothDevice) IsConnected ¶
func (ibd *IOBluetoothDevice) IsConnected() bool
IsConnected reports whether a baseband connection to the device exists.
func (*IOBluetoothDevice) IsFavorite ¶
func (ibd *IOBluetoothDevice) IsFavorite() bool
IsFavorite reports whether reports whether the target device is a favorite for the user.
func (*IOBluetoothDevice) IsHandsFreeAudioGateway ¶
func (ibd *IOBluetoothDevice) IsHandsFreeAudioGateway() bool
IsHandsFreeAudioGateway reports whether return the devices support for hands free gateway Returns the devices support for hands free gateway (obtained from the devices SDP record).
func (*IOBluetoothDevice) IsHandsFreeDevice ¶
func (ibd *IOBluetoothDevice) IsHandsFreeDevice() bool
IsHandsFreeDevice reports whether return the devices support for hands free device Returns the devices support for hands free device (obtained from the devices SDP record).
func (*IOBluetoothDevice) IsIncoming ¶
func (ibd *IOBluetoothDevice) IsIncoming() bool
IsIncoming reports whether the device connection was generated by the remote host.
func (*IOBluetoothDevice) IsPaired ¶
func (ibd *IOBluetoothDevice) IsPaired() bool
IsPaired reports whether the target device is paired.
func (*IOBluetoothDevice) LastInquiryUpdate ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) LastInquiryUpdate() time.Time
LastInquiryUpdate get the date/time of the last time the device was returned during an inquiry.
func (*IOBluetoothDevice) LastNameUpdate ¶
func (ibd *IOBluetoothDevice) LastNameUpdate() time.Time
LastNameUpdate returns the last name update.
func (*IOBluetoothDevice) LastServicesUpdate ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) LastServicesUpdate() time.Time
LastServicesUpdate get the date/time of the last SDP query.
func (*IOBluetoothDevice) LinkType ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) LinkType() uint8
LinkType get the link type for the baseband connection.
func (*IOBluetoothDevice) NameOrAddress ¶
func (ibd *IOBluetoothDevice) NameOrAddress() string
NameOrAddress returns the name or address.
func (*IOBluetoothDevice) OpenConnection ¶
func (ibd *IOBluetoothDevice) OpenConnection() int
OpenConnection create a baseband connection to the device.
func (*IOBluetoothDevice) OpenConnection2 ¶
func (ibd *IOBluetoothDevice) OpenConnection2(target obj.Object) int
OpenConnection2 create a baseband connection to the device.
func (*IOBluetoothDevice) OpenConnectionWithPageTimeoutAuthenticationRequired ¶
func (ibd *IOBluetoothDevice) OpenConnectionWithPageTimeoutAuthenticationRequired(target obj.Object, pageTimeoutValue uint16, authenticationRequired bool) int
OpenConnectionWithPageTimeoutAuthenticationRequired create a baseband connection to the device.
func (*IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMDelegate ¶
func (ibd *IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelDelegate obj.Object) int
OpenL2CAPChannelAsyncWithPSMDelegate opens a new L2CAP channel to the target device. Returns immediately after starting the opening process.
func (*IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMWithConfigurationDelegate ¶
func (ibd *IOBluetoothDevice) OpenL2CAPChannelAsyncWithPSMWithConfigurationDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelConfiguration obj.Object, channelDelegate obj.Object) int
OpenL2CAPChannelAsyncWithPSMWithConfigurationDelegate opens a new L2CAP channel to the target device. Returns immediately after starting the opening process.
func (*IOBluetoothDevice) OpenL2CAPChannelFindExistingNewChannel ¶
func (ibd *IOBluetoothDevice) OpenL2CAPChannelFindExistingNewChannel(psm uint16, findExisting bool, newChannel *IOBluetoothL2CAPChannel) int
OpenL2CAPChannelFindExistingNewChannel opens a new L2CAP channel to the target device. Returns immedialty after starting the opening process.
func (*IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMDelegate ¶
func (ibd *IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelDelegate obj.Object) int
OpenL2CAPChannelSyncWithPSMDelegate opens a new L2CAP channel to the target device. Returns only after the channel is opened.
func (*IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMWithConfigurationDelegate ¶
func (ibd *IOBluetoothDevice) OpenL2CAPChannelSyncWithPSMWithConfigurationDelegate(newChannel *IOBluetoothL2CAPChannel, psm uint16, channelConfiguration obj.Object, channelDelegate obj.Object) int
OpenL2CAPChannelSyncWithPSMWithConfigurationDelegate opens a new L2CAP channel to the target device. Returns only after the channel is opened.
func (*IOBluetoothDevice) OpenRFCOMMChannelAsyncWithChannelIDDelegate ¶
func (ibd *IOBluetoothDevice) OpenRFCOMMChannelAsyncWithChannelIDDelegate(rfcommChannel *IOBluetoothRFCOMMChannel, channelID uint8, channelDelegate obj.Object) int
OpenRFCOMMChannelAsyncWithChannelIDDelegate opens a new RFCOMM channel to the target device. Returns immediately.
func (*IOBluetoothDevice) OpenRFCOMMChannelChannel ¶
func (ibd *IOBluetoothDevice) OpenRFCOMMChannelChannel(channelID uint8, rfcommChannel *IOBluetoothRFCOMMChannel) int
OpenRFCOMMChannelChannel opens a new RFCOMM channel to the target device. Returns only once the channel is open or failed to open.
func (*IOBluetoothDevice) OpenRFCOMMChannelSyncWithChannelIDDelegate ¶
func (ibd *IOBluetoothDevice) OpenRFCOMMChannelSyncWithChannelIDDelegate(rfcommChannel *IOBluetoothRFCOMMChannel, channelID uint8, channelDelegate obj.Object) int
OpenRFCOMMChannelSyncWithChannelIDDelegate opens a new RFCOMM channel to the target device. Returns only once the channel is open or failed to open.
func (*IOBluetoothDevice) PageScanMode ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) PageScanMode() uint8
PageScanMode get the page scan mode for the device.
func (*IOBluetoothDevice) PageScanPeriodMode ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) PageScanPeriodMode() uint8
PageScanPeriodMode get the value of the page scan period mode for the device.
func (*IOBluetoothDevice) PageScanRepetitionMode ¶ added in v0.17.0
func (ibd *IOBluetoothDevice) PageScanRepetitionMode() uint8
PageScanRepetitionMode get the value of the page scan repetition mode for the device.
func (*IOBluetoothDevice) PerformSDPQuery ¶
func (ibd *IOBluetoothDevice) PerformSDPQuery(target obj.Object) int
PerformSDPQuery performs an SDP query on the target device.
func (*IOBluetoothDevice) PerformSDPQueryUuids ¶
PerformSDPQueryUuids performs an SDP query on the target device with the specified service UUIDs.
func (*IOBluetoothDevice) RSSI ¶
func (ibd *IOBluetoothDevice) RSSI() int8
RSSI get the RSSI device (if connected), above or below the golden range. If the RSSI is within the golden range, a value of 0 is returned. For the actual RSSI value, use getRawRSSI. For more information, see the Bluetooth 4.0 Core Specification.
func (*IOBluetoothDevice) RawRSSI ¶
func (ibd *IOBluetoothDevice) RawRSSI() int8
RawRSSI get the raw RSSI device (if connected).
func (*IOBluetoothDevice) RecentAccessDate ¶
func (ibd *IOBluetoothDevice) RecentAccessDate() time.Time
RecentAccessDate returns the date/time of the most recent access of the target device.
func (*IOBluetoothDevice) RemoteNameRequest ¶
func (ibd *IOBluetoothDevice) RemoteNameRequest(target obj.Object) int
RemoteNameRequest issues a remote name request to the target device.
func (*IOBluetoothDevice) RemoteNameRequestWithPageTimeout ¶
func (ibd *IOBluetoothDevice) RemoteNameRequestWithPageTimeout(target obj.Object, pageTimeoutValue uint16) int
RemoteNameRequestWithPageTimeout issues a remote name request to the target device.
func (*IOBluetoothDevice) RemoveFromFavorites ¶
func (ibd *IOBluetoothDevice) RemoveFromFavorites() int
RemoveFromFavorites returns removes the target device from the user’s favorite devices list.
func (*IOBluetoothDevice) RequestAuthentication ¶
func (ibd *IOBluetoothDevice) RequestAuthentication() int
RequestAuthentication returns requests that the existing baseband connection be authenticated.
func (*IOBluetoothDevice) SendL2CAPEchoRequestLength ¶
func (ibd *IOBluetoothDevice) SendL2CAPEchoRequestLength(data unsafe.Pointer, length uint16) int
SendL2CAPEchoRequestLength send an echo request over the L2CAP connection to a remote device.
func (*IOBluetoothDevice) ServiceClassMajor ¶
func (ibd *IOBluetoothDevice) ServiceClassMajor() uint32
ServiceClassMajor returns the service class major.
func (*IOBluetoothDevice) Services ¶
func (ibd *IOBluetoothDevice) Services() obj.Object
Services returns the services.
func (*IOBluetoothDevice) SetSupervisionTimeout ¶
func (ibd *IOBluetoothDevice) SetSupervisionTimeout(timeout uint16) int
SetSupervisionTimeout sets the connection supervision timeout.
type IOBluetoothDeviceAsyncCallbacks ¶
type IOBluetoothDeviceAsyncCallbacks interface {
RemoteNameRequestCompleteStatus(device *IOBluetoothDevice, status int)
ConnectionCompleteStatus(device *IOBluetoothDevice, status int)
SdpQueryCompleteStatus(device *IOBluetoothDevice, status int)
}
IOBluetoothDeviceAsyncCallbacks is the Go form of the Objective-C protocol IOBluetoothDeviceAsyncCallbacks.
type IOBluetoothDeviceInquiry ¶
IOBluetoothDeviceInquiry is an idiomatic wrapper over the Objective-C class IOBluetoothDeviceInquiry.
Object representing a device inquiry that finds Bluetooth devices in-range of the computer, and (optionally) retrieves name information for them.
func IOBluetoothDeviceInquiryFromID ¶
func IOBluetoothDeviceInquiryFromID(id objc.ID) *IOBluetoothDeviceInquiry
IOBluetoothDeviceInquiryFromID adopts an existing Objective-C object as a IOBluetoothDeviceInquiry (nil for 0), retaining it and registering a release finalizer.
func InquiryWithDelegate ¶ added in v0.17.0
func InquiryWithDelegate(delegate obj.Object) *IOBluetoothDeviceInquiry
InquiryWithDelegate class method to create an inquiry object.
func NewIOBluetoothDeviceInquiryWithDelegate ¶ added in v0.17.0
func NewIOBluetoothDeviceInquiryWithDelegate(delegate obj.Object) *IOBluetoothDeviceInquiry
NewIOBluetoothDeviceInquiryWithDelegate initializes an alloc’d inquiry object, and sets the delegate object, as if -setDelegate: were called on it.
func (*IOBluetoothDeviceInquiry) ClearFoundDevices ¶
func (ibdi *IOBluetoothDeviceInquiry) ClearFoundDevices()
ClearFoundDevices removes all found devices from the inquiry object.
func (*IOBluetoothDeviceInquiry) Delegate ¶
func (ibdi *IOBluetoothDeviceInquiry) Delegate() obj.Object
Delegate returns the delegate.
func (*IOBluetoothDeviceInquiry) Description ¶ added in v0.17.0
func (ibdi *IOBluetoothDeviceInquiry) Description() string
Description returns the object's -description text.
func (*IOBluetoothDeviceInquiry) FoundDevices ¶
func (ibdi *IOBluetoothDeviceInquiry) FoundDevices() obj.Object
FoundDevices returns found IOBluetoothDevice objects as an array.
func (*IOBluetoothDeviceInquiry) InquiryLength ¶
func (ibdi *IOBluetoothDeviceInquiry) InquiryLength() uint8
InquiryLength returns the inquiry length.
func (*IOBluetoothDeviceInquiry) IsEqual ¶ added in v0.17.0
func (ibdi *IOBluetoothDeviceInquiry) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothDeviceInquiry) IsKind ¶ added in v0.17.0
func (ibdi *IOBluetoothDeviceInquiry) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothDeviceInquiry) SearchType ¶
func (ibdi *IOBluetoothDeviceInquiry) SearchType() int
SearchType returns the search type.
func (*IOBluetoothDeviceInquiry) SetSearchCriteriaMajorDeviceClassMinorDeviceClass ¶
func (ibdi *IOBluetoothDeviceInquiry) SetSearchCriteriaMajorDeviceClassMinorDeviceClass(inServiceClassMajor uint32, inMajorDeviceClass uint32, inMinorDeviceClass uint32)
SetSearchCriteriaMajorDeviceClassMinorDeviceClass use this method to set the criteria for the device search.
func (*IOBluetoothDeviceInquiry) Start ¶
func (ibdi *IOBluetoothDeviceInquiry) Start() int
Start returns tells inquiry object to begin the inquiry and name updating process, if specified.
func (*IOBluetoothDeviceInquiry) Stop ¶
func (ibdi *IOBluetoothDeviceInquiry) Stop() int
Stop returns halts the inquiry object. Could either stop the search for new devices, or the updating of found device names.
func (*IOBluetoothDeviceInquiry) String ¶ added in v0.17.0
func (ibdi *IOBluetoothDeviceInquiry) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*IOBluetoothDeviceInquiry) UpdateNewDeviceNames ¶
func (ibdi *IOBluetoothDeviceInquiry) UpdateNewDeviceNames() bool
UpdateNewDeviceNames wraps the corresponding Objective-C method.
func (*IOBluetoothDeviceInquiry) WithDelegate ¶ added in v0.17.0
func (ibdi *IOBluetoothDeviceInquiry) WithDelegate(delegate obj.Object) *IOBluetoothDeviceInquiry
WithDelegate sets the delegate.
func (*IOBluetoothDeviceInquiry) WithInquiryLength ¶ added in v0.17.0
func (ibdi *IOBluetoothDeviceInquiry) WithInquiryLength(inquiryLength uint8) *IOBluetoothDeviceInquiry
WithInquiryLength sets set the length of the inquiry that is performed each time -start is used on an inquiry object.
func (*IOBluetoothDeviceInquiry) WithSearchType ¶ added in v0.17.0
func (ibdi *IOBluetoothDeviceInquiry) WithSearchType(searchType int) *IOBluetoothDeviceInquiry
WithSearchType sets set the devices that are found.
func (*IOBluetoothDeviceInquiry) WithUpdateNewDeviceNames ¶ added in v0.17.0
func (ibdi *IOBluetoothDeviceInquiry) WithUpdateNewDeviceNames(updateNewDeviceNames bool) *IOBluetoothDeviceInquiry
WithUpdateNewDeviceNames sets sets whether or not the inquiry object will retrieve the names of devices found during the search.
type IOBluetoothDeviceInquiryDelegate ¶
type IOBluetoothDeviceInquiryDelegate interface {
}
IOBluetoothDeviceInquiryDelegate receives the callbacks of the Objective-C protocol IOBluetoothDeviceInquiryDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (IOBluetoothDeviceInquiryDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type IOBluetoothDeviceInquiryDelegateDeviceInquiryCompleteErrorAbortedHandler ¶ added in v0.17.0
type IOBluetoothDeviceInquiryDelegateDeviceInquiryCompleteErrorAbortedHandler interface {
DeviceInquiryCompleteErrorAborted(sender *IOBluetoothDeviceInquiry, err int, aborted bool)
}
IOBluetoothDeviceInquiryDelegateDeviceInquiryCompleteErrorAbortedHandler is the optional IOBluetoothDeviceInquiryDelegate method deviceInquiryComplete:error:aborted:. Implement it on a IOBluetoothDeviceInquiryDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDeviceInquiryDelegateDeviceInquiryDeviceFoundDeviceHandler ¶ added in v0.17.0
type IOBluetoothDeviceInquiryDelegateDeviceInquiryDeviceFoundDeviceHandler interface {
DeviceInquiryDeviceFoundDevice(sender *IOBluetoothDeviceInquiry, device *IOBluetoothDevice)
}
IOBluetoothDeviceInquiryDelegateDeviceInquiryDeviceFoundDeviceHandler is the optional IOBluetoothDeviceInquiryDelegate method deviceInquiryDeviceFound:device:. Implement it on a IOBluetoothDeviceInquiryDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDeviceInquiryDelegateDeviceInquiryDeviceNameUpdatedDeviceDevicesRemainingHandler ¶ added in v0.17.0
type IOBluetoothDeviceInquiryDelegateDeviceInquiryDeviceNameUpdatedDeviceDevicesRemainingHandler interface {
DeviceInquiryDeviceNameUpdatedDeviceDevicesRemaining(sender *IOBluetoothDeviceInquiry, device *IOBluetoothDevice, devicesRemaining uint32)
}
IOBluetoothDeviceInquiryDelegateDeviceInquiryDeviceNameUpdatedDeviceDevicesRemainingHandler is the optional IOBluetoothDeviceInquiryDelegate method deviceInquiryDeviceNameUpdated:device:devicesRemaining:. Implement it on a IOBluetoothDeviceInquiryDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDeviceInquiryDelegateDeviceInquiryStartedHandler ¶ added in v0.17.0
type IOBluetoothDeviceInquiryDelegateDeviceInquiryStartedHandler interface {
DeviceInquiryStarted(sender *IOBluetoothDeviceInquiry)
}
IOBluetoothDeviceInquiryDelegateDeviceInquiryStartedHandler is the optional IOBluetoothDeviceInquiryDelegate method deviceInquiryStarted:. Implement it on a IOBluetoothDeviceInquiryDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDeviceInquiryDelegateDeviceInquiryUpdatingDeviceNamesStartedDevicesRemainingHandler ¶ added in v0.17.0
type IOBluetoothDeviceInquiryDelegateDeviceInquiryUpdatingDeviceNamesStartedDevicesRemainingHandler interface {
DeviceInquiryUpdatingDeviceNamesStartedDevicesRemaining(sender *IOBluetoothDeviceInquiry, devicesRemaining uint32)
}
IOBluetoothDeviceInquiryDelegateDeviceInquiryUpdatingDeviceNamesStartedDevicesRemainingHandler is the optional IOBluetoothDeviceInquiryDelegate method deviceInquiryUpdatingDeviceNamesStarted:devicesRemaining:. Implement it on a IOBluetoothDeviceInquiryDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDevicePair ¶
IOBluetoothDevicePair is an idiomatic wrapper over the Objective-C class IOBluetoothDevicePair.
An instance of IOBluetoothDevicePair represents a pairing attempt to a remote Bluetooth device.
func IOBluetoothDevicePairFromID ¶
func IOBluetoothDevicePairFromID(id objc.ID) *IOBluetoothDevicePair
IOBluetoothDevicePairFromID adopts an existing Objective-C object as a IOBluetoothDevicePair (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothDevicePair ¶ added in v0.17.0
func NewIOBluetoothDevicePair() *IOBluetoothDevicePair
NewIOBluetoothDevicePair creates a new IOBluetoothDevicePair.
func PairWithDevice ¶ added in v0.17.0
func PairWithDevice(device *IOBluetoothDevice) *IOBluetoothDevicePair
PairWithDevice creates an autorelease IOBluetoothDevicePair object with a device as the pairing target.
func (*IOBluetoothDevicePair) Delegate ¶
func (ibdp *IOBluetoothDevicePair) Delegate() obj.Object
Delegate returns the delegate.
func (*IOBluetoothDevicePair) Description ¶ added in v0.17.0
func (ibdp *IOBluetoothDevicePair) Description() string
Description returns the object's -description text.
func (*IOBluetoothDevicePair) Device ¶
func (ibdp *IOBluetoothDevicePair) Device() *IOBluetoothDevice
Device get the IOBluetoothDevice being used by the object.
func (*IOBluetoothDevicePair) IsEqual ¶ added in v0.17.0
func (ibdp *IOBluetoothDevicePair) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothDevicePair) IsKind ¶ added in v0.17.0
func (ibdp *IOBluetoothDevicePair) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothDevicePair) ReplyPINCodePINCode ¶
func (ibdp *IOBluetoothDevicePair) ReplyPINCodePINCode(pinCodeSize int, pinCode *BluetoothPINCode)
ReplyPINCodePINCode this is the required reply to the devicePairingPINCodeRequest delegate message. Set the PIN code to use during pairing if required.
func (*IOBluetoothDevicePair) ReplyUserConfirmation ¶
func (ibdp *IOBluetoothDevicePair) ReplyUserConfirmation(reply bool)
ReplyUserConfirmation this is the required reply to the devicePairingUserConfirmationRequest delegate message.
func (*IOBluetoothDevicePair) SetDevice ¶
func (ibdp *IOBluetoothDevicePair) SetDevice(inDevice *IOBluetoothDevice)
SetDevice set the device object to pair with. It is retained by the object.
func (*IOBluetoothDevicePair) Start ¶
func (ibdp *IOBluetoothDevicePair) Start() int
Start returns kicks off the pairing with the device.
func (*IOBluetoothDevicePair) Stop ¶
func (ibdp *IOBluetoothDevicePair) Stop()
Stop stops the current pairing. Removes the delegate and disconnects if device was connected.
func (*IOBluetoothDevicePair) String ¶ added in v0.17.0
func (ibdp *IOBluetoothDevicePair) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*IOBluetoothDevicePair) WithDelegate ¶ added in v0.17.0
func (ibdp *IOBluetoothDevicePair) WithDelegate(delegate obj.Object) *IOBluetoothDevicePair
WithDelegate sets the delegate.
type IOBluetoothDevicePairDelegate ¶
type IOBluetoothDevicePairDelegate interface {
}
IOBluetoothDevicePairDelegate receives the callbacks of the Objective-C protocol IOBluetoothDevicePairDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (IOBluetoothDevicePairDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type IOBluetoothDevicePairDelegateDevicePairingConnectedHandler ¶ added in v0.17.0
type IOBluetoothDevicePairDelegateDevicePairingConnectedHandler interface {
DevicePairingConnected(sender obj.Object)
}
IOBluetoothDevicePairDelegateDevicePairingConnectedHandler is the optional IOBluetoothDevicePairDelegate method devicePairingConnected:. Implement it on a IOBluetoothDevicePairDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDevicePairDelegateDevicePairingConnectingHandler ¶ added in v0.17.0
type IOBluetoothDevicePairDelegateDevicePairingConnectingHandler interface {
DevicePairingConnecting(sender obj.Object)
}
IOBluetoothDevicePairDelegateDevicePairingConnectingHandler is the optional IOBluetoothDevicePairDelegate method devicePairingConnecting:. Implement it on a IOBluetoothDevicePairDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDevicePairDelegateDevicePairingFinishedErrorHandler ¶ added in v0.17.0
type IOBluetoothDevicePairDelegateDevicePairingFinishedErrorHandler interface {
DevicePairingFinishedError(sender obj.Object, err int)
}
IOBluetoothDevicePairDelegateDevicePairingFinishedErrorHandler is the optional IOBluetoothDevicePairDelegate method devicePairingFinished:error:. Implement it on a IOBluetoothDevicePairDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDevicePairDelegateDevicePairingPINCodeRequestHandler ¶ added in v0.17.0
type IOBluetoothDevicePairDelegateDevicePairingPINCodeRequestHandler interface {
DevicePairingPINCodeRequest(sender obj.Object)
}
IOBluetoothDevicePairDelegateDevicePairingPINCodeRequestHandler is the optional IOBluetoothDevicePairDelegate method devicePairingPINCodeRequest:. Implement it on a IOBluetoothDevicePairDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDevicePairDelegateDevicePairingStartedHandler ¶ added in v0.17.0
type IOBluetoothDevicePairDelegateDevicePairingStartedHandler interface {
DevicePairingStarted(sender obj.Object)
}
IOBluetoothDevicePairDelegateDevicePairingStartedHandler is the optional IOBluetoothDevicePairDelegate method devicePairingStarted:. Implement it on a IOBluetoothDevicePairDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDevicePairDelegateDevicePairingUserConfirmationRequestNumericValueHandler ¶ added in v0.17.0
type IOBluetoothDevicePairDelegateDevicePairingUserConfirmationRequestNumericValueHandler interface {
DevicePairingUserConfirmationRequestNumericValue(sender obj.Object, numericValue uint32)
}
IOBluetoothDevicePairDelegateDevicePairingUserConfirmationRequestNumericValueHandler is the optional IOBluetoothDevicePairDelegate method devicePairingUserConfirmationRequest:numericValue:. Implement it on a IOBluetoothDevicePairDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDevicePairDelegateDevicePairingUserPasskeyNotificationPasskeyHandler ¶ added in v0.17.0
type IOBluetoothDevicePairDelegateDevicePairingUserPasskeyNotificationPasskeyHandler interface {
DevicePairingUserPasskeyNotificationPasskey(sender obj.Object, passkey uint32)
}
IOBluetoothDevicePairDelegateDevicePairingUserPasskeyNotificationPasskeyHandler is the optional IOBluetoothDevicePairDelegate method devicePairingUserPasskeyNotification:passkey:. Implement it on a IOBluetoothDevicePairDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDevicePairDelegateDeviceSimplePairingCompleteStatusHandler ¶ added in v0.17.0
type IOBluetoothDevicePairDelegateDeviceSimplePairingCompleteStatusHandler interface {
DeviceSimplePairingCompleteStatus(sender obj.Object, status uint8)
}
IOBluetoothDevicePairDelegateDeviceSimplePairingCompleteStatusHandler is the optional IOBluetoothDevicePairDelegate method deviceSimplePairingComplete:status:. Implement it on a IOBluetoothDevicePairDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothDeviceRef ¶ added in v0.18.0
IOBluetoothDeviceRef is a handle for the opaque IOBluetoothDeviceRef type.
func (IOBluetoothDeviceRef) IsNil ¶ added in v0.18.0
func (h IOBluetoothDeviceRef) IsNil() bool
IsNil reports whether IOBluetoothDeviceRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type IOBluetoothDeviceSearchAttributes ¶
type IOBluetoothDeviceSearchAttributes struct {
Options uint32
MaxResults uint32
DeviceAttributeCount uint32
AttributeList unsafe.Pointer
}
Structure used to search for particular devices.
type IOBluetoothDeviceSearchDeviceAttributes ¶
type IOBluetoothDeviceSearchDeviceAttributes struct {
Address BluetoothDeviceAddress
Name [248]uint8
ServiceClassMajor uint32
DeviceClassMajor uint32
DeviceClassMinor uint32
}
Structure used to search for particular devices.
type IOBluetoothDeviceSearchOptionsBits ¶
type IOBluetoothDeviceSearchOptionsBits int32
const ( KSearchOptionsNone IOBluetoothDeviceSearchOptionsBits = 0 KSearchOptionsAlwaysStartInquiry IOBluetoothDeviceSearchOptionsBits = 1 KSearchOptionsDiscardCachedResults IOBluetoothDeviceSearchOptionsBits = 2 )
func (IOBluetoothDeviceSearchOptionsBits) String ¶
func (e IOBluetoothDeviceSearchOptionsBits) String() string
String returns the IOBluetoothDeviceSearchOptionsBits constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothDeviceSearchTypesBits ¶
type IOBluetoothDeviceSearchTypesBits int32
Bits to determine what Bluetooth devices to search for
const ( KIOBluetoothDeviceSearchClassic IOBluetoothDeviceSearchTypesBits = 1 KIOBluetoothDeviceSearchLE IOBluetoothDeviceSearchTypesBits = 2 )
func (IOBluetoothDeviceSearchTypesBits) String ¶
func (e IOBluetoothDeviceSearchTypesBits) String() string
String returns the IOBluetoothDeviceSearchTypesBits constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothHandsFree ¶
IOBluetoothHandsFree is an idiomatic wrapper over the Objective-C class IOBluetoothHandsFree.
IOBluetoothHandsFree is an abstract base — you do not construct it directly. Construct one of IOBluetoothHandsFreeAudioGateway, IOBluetoothHandsFreeDevice and pass it where a IOBluetoothHandsFree is accepted.
Hands free profile class.
func IOBluetoothHandsFreeFromID ¶
func IOBluetoothHandsFreeFromID(id objc.ID) *IOBluetoothHandsFree
IOBluetoothHandsFreeFromID adopts an existing Objective-C object as a IOBluetoothHandsFree (nil for 0), retaining it and registering a release finalizer.
func (*IOBluetoothHandsFree) Connect ¶
func (ibhf *IOBluetoothHandsFree) Connect()
Connect connect to the device
func (*IOBluetoothHandsFree) ConnectSCO ¶
func (ibhf *IOBluetoothHandsFree) ConnectSCO()
ConnectSCO open a SCO connection with the device
func (*IOBluetoothHandsFree) Description ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) Description() string
Description returns the object's -description text.
func (*IOBluetoothHandsFree) Device ¶
func (ibhf *IOBluetoothHandsFree) Device() *IOBluetoothDevice
Device returns the IOBluetoothDevice. Returns the IOBluetoothDevice to connect with.
func (*IOBluetoothHandsFree) DeviceCallHoldModes ¶
func (ibhf *IOBluetoothHandsFree) DeviceCallHoldModes() uint32
DeviceCallHoldModes returns the device's supported call hold modes. Returns the device's supported call hold modes bitmap. The values are described in “IOBluetoothHandsFreeCallHoldModes.”
func (*IOBluetoothHandsFree) DeviceSupportedFeatures ¶
func (ibhf *IOBluetoothHandsFree) DeviceSupportedFeatures() uint32
DeviceSupportedFeatures returns the device's supported features. Returns the device's supported features bitmap. The values are described in “IOBluetoothHandsFreeDeviceFeatures and IOBluetoothHandsFreeAudioGatewayFeatures.”
func (*IOBluetoothHandsFree) DeviceSupportedSMSServices ¶
func (ibhf *IOBluetoothHandsFree) DeviceSupportedSMSServices() uint32
DeviceSupportedSMSServices returns the device's supported SMS services. Returns the device's supported SMS services bitmap. The values are described in “IOBluetoothHandsFreeSMSSupport.”
func (*IOBluetoothHandsFree) Disconnect ¶
func (ibhf *IOBluetoothHandsFree) Disconnect()
Disconnect disconnect from the device
func (*IOBluetoothHandsFree) DisconnectSCO ¶
func (ibhf *IOBluetoothHandsFree) DisconnectSCO()
DisconnectSCO disconnect the SCO connection with the device
func (*IOBluetoothHandsFree) Indicator ¶
func (ibhf *IOBluetoothHandsFree) Indicator(indicatorName string) int
Indicator return an indicator’s value
func (*IOBluetoothHandsFree) InputVolume ¶
func (ibhf *IOBluetoothHandsFree) InputVolume() float32
InputVolume returns the input volume Returns the input volume between 0 and 1. 0 is the same as mute. Set the input volume Sets the input volume between 0 and 1. 0 is the same as mute.
func (*IOBluetoothHandsFree) IsConnected ¶
func (ibhf *IOBluetoothHandsFree) IsConnected() bool
IsConnected reports whether determine if there is a serivice level connection to the device Determines if there is a serivice level connection to the device.
func (*IOBluetoothHandsFree) IsEqual ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothHandsFree) IsInputMuted ¶
func (ibhf *IOBluetoothHandsFree) IsInputMuted() bool
IsInputMuted reports whether return the input mute state. Returns the inputs mute state. Set the input mute state. Sets the inputs mute state.
func (*IOBluetoothHandsFree) IsKind ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothHandsFree) IsOutputMuted ¶
func (ibhf *IOBluetoothHandsFree) IsOutputMuted() bool
IsOutputMuted reports whether return the output mute state. Returns the outputs mute state. Set the output mute state. Sets the outputs mute state.
func (*IOBluetoothHandsFree) IsSCOConnected ¶
func (ibhf *IOBluetoothHandsFree) IsSCOConnected() bool
IsSCOConnected reports whether determine if there is a SCO connection to the device
func (*IOBluetoothHandsFree) IsSMSEnabled ¶
func (ibhf *IOBluetoothHandsFree) IsSMSEnabled() bool
IsSMSEnabled reports whether the device has SMS enabled. Returns true if the device has SMS enabled (by responding to a CMGF command). false if the device has not set an SMS mode or doesn't support SMS.
func (*IOBluetoothHandsFree) OutputVolume ¶
func (ibhf *IOBluetoothHandsFree) OutputVolume() float32
OutputVolume returns the output volume Returns the output volume between 0 and 1. 0 is the same as mute. Set the output volume Sets the output volume between 0 and 1. 0 is the same as mute.
func (*IOBluetoothHandsFree) SMSMode ¶
func (ibhf *IOBluetoothHandsFree) SMSMode() IOBluetoothSMSMode
SMSMode returns the device's SMS mode. Returns the device's SMS mode. The values are described in “IOBluetoothSMSMode.”
func (*IOBluetoothHandsFree) SetIndicatorValue ¶
func (ibhf *IOBluetoothHandsFree) SetIndicatorValue(indicatorName string, indicatorValue int)
SetIndicatorValue set an indicator’s value
func (*IOBluetoothHandsFree) String ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*IOBluetoothHandsFree) SupportedFeatures ¶
func (ibhf *IOBluetoothHandsFree) SupportedFeatures() uint32
SupportedFeatures returns supported features Returns the supported features bitmap. The values are described in “IOBluetoothHandsFreeDeviceFeatures and IOBluetoothHandsFreeAudioGatewayFeatures.” Set the supported features Sets the supported features bitmap. The values are described in “IOBluetoothHandsFreeDeviceFeatures and IOBluetoothHandsFreeAudioGatewayFeatures.”
func (*IOBluetoothHandsFree) WithDelegate ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) WithDelegate(delegate IOBluetoothHandsFreeDelegate) *IOBluetoothHandsFree
WithDelegate sets return the delegate
func (*IOBluetoothHandsFree) WithInputMuted ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) WithInputMuted(inputMuted bool) *IOBluetoothHandsFree
WithInputMuted sets return the input mute state.
func (*IOBluetoothHandsFree) WithInputVolume ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) WithInputVolume(inputVolume float32) *IOBluetoothHandsFree
WithInputVolume sets return the input volume
func (*IOBluetoothHandsFree) WithOutputMuted ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) WithOutputMuted(outputMuted bool) *IOBluetoothHandsFree
WithOutputMuted sets return the output mute state.
func (*IOBluetoothHandsFree) WithOutputVolume ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) WithOutputVolume(outputVolume float32) *IOBluetoothHandsFree
WithOutputVolume sets return the output volume
func (*IOBluetoothHandsFree) WithSupportedFeatures ¶ added in v0.17.0
func (ibhf *IOBluetoothHandsFree) WithSupportedFeatures(supportedFeatures uint32) *IOBluetoothHandsFree
WithSupportedFeatures sets set the supported features
type IOBluetoothHandsFreeAudioGateway ¶
type IOBluetoothHandsFreeAudioGateway struct {
IOBluetoothHandsFree
}
IOBluetoothHandsFreeAudioGateway is an idiomatic wrapper over the Objective-C class IOBluetoothHandsFreeAudioGateway.
It embeds IOBluetoothHandsFree, promoting that type's methods.
An object that sends data to a connected Bluetooth hands-free phone or headset and processes commands from it.
func IOBluetoothHandsFreeAudioGatewayFromID ¶
func IOBluetoothHandsFreeAudioGatewayFromID(id objc.ID) *IOBluetoothHandsFreeAudioGateway
IOBluetoothHandsFreeAudioGatewayFromID adopts an existing Objective-C object as a IOBluetoothHandsFreeAudioGateway (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothHandsFreeAudioGatewayWithDeviceDelegate ¶ added in v0.17.0
func NewIOBluetoothHandsFreeAudioGatewayWithDeviceDelegate(device *IOBluetoothDevice, inDelegate obj.Object) *IOBluetoothHandsFreeAudioGateway
NewIOBluetoothHandsFreeAudioGatewayWithDeviceDelegate creates an object that controls a connected Bluetooth hands-free phone or headset.
func (*IOBluetoothHandsFreeAudioGateway) CreateIndicatorMinMaxCurrentValue ¶
func (ibhfag *IOBluetoothHandsFreeAudioGateway) CreateIndicatorMinMaxCurrentValue(indicatorName string, minValue int, maxValue int, currentValue int)
CreateIndicatorMinMaxCurrentValue sends a request to the Bluetooth device to show or update a status indicator.
func (*IOBluetoothHandsFreeAudioGateway) ProcessATCommand ¶
func (ibhfag *IOBluetoothHandsFreeAudioGateway) ProcessATCommand(atCommand string)
ProcessATCommand processes a command from a connected Bluetooth hands-free phone or headset.
func (*IOBluetoothHandsFreeAudioGateway) SendOKResponse ¶
func (ibhfag *IOBluetoothHandsFreeAudioGateway) SendOKResponse()
SendOKResponse sends a success message to a connected Bluetooth hands-free phone or headset.
func (*IOBluetoothHandsFreeAudioGateway) SendResponse ¶
func (ibhfag *IOBluetoothHandsFreeAudioGateway) SendResponse(response string)
SendResponse sends data followed by a success message to a connected Bluetooth hands-free phone or headset.
func (*IOBluetoothHandsFreeAudioGateway) SendResponseWithOK ¶
func (ibhfag *IOBluetoothHandsFreeAudioGateway) SendResponseWithOK(response string, withOK bool)
SendResponseWithOK sends data followed by an optional success message to a connected Bluetooth hands-free phone or headset.
func (*IOBluetoothHandsFreeAudioGateway) WithDelegate ¶ added in v0.17.0
func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithDelegate(delegate IOBluetoothHandsFreeDelegate) *IOBluetoothHandsFreeAudioGateway
WithDelegate sets return the delegate
func (*IOBluetoothHandsFreeAudioGateway) WithInputMuted ¶ added in v0.17.0
func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithInputMuted(inputMuted bool) *IOBluetoothHandsFreeAudioGateway
WithInputMuted sets return the input mute state.
func (*IOBluetoothHandsFreeAudioGateway) WithInputVolume ¶ added in v0.17.0
func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithInputVolume(inputVolume float32) *IOBluetoothHandsFreeAudioGateway
WithInputVolume sets return the input volume
func (*IOBluetoothHandsFreeAudioGateway) WithOutputMuted ¶ added in v0.17.0
func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithOutputMuted(outputMuted bool) *IOBluetoothHandsFreeAudioGateway
WithOutputMuted sets return the output mute state.
func (*IOBluetoothHandsFreeAudioGateway) WithOutputVolume ¶ added in v0.17.0
func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithOutputVolume(outputVolume float32) *IOBluetoothHandsFreeAudioGateway
WithOutputVolume sets return the output volume
func (*IOBluetoothHandsFreeAudioGateway) WithSupportedFeatures ¶ added in v0.17.0
func (ibhfag *IOBluetoothHandsFreeAudioGateway) WithSupportedFeatures(supportedFeatures uint32) *IOBluetoothHandsFreeAudioGateway
WithSupportedFeatures sets set the supported features
type IOBluetoothHandsFreeAudioGatewayDelegate ¶
type IOBluetoothHandsFreeAudioGatewayDelegate interface {
}
IOBluetoothHandsFreeAudioGatewayDelegate receives the callbacks of the Objective-C protocol IOBluetoothHandsFreeAudioGatewayDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (IOBluetoothHandsFreeAudioGatewayDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type IOBluetoothHandsFreeAudioGatewayDelegateHandsFreeHangupHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeAudioGatewayDelegateHandsFreeHangupHandler interface {
HandsFreeHangup(device *IOBluetoothHandsFreeAudioGateway, hangup obj.Object)
}
IOBluetoothHandsFreeAudioGatewayDelegateHandsFreeHangupHandler is the optional IOBluetoothHandsFreeAudioGatewayDelegate method handsFree:hangup:. Implement it on a IOBluetoothHandsFreeAudioGatewayDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeAudioGatewayDelegateHandsFreeRedialHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeAudioGatewayDelegateHandsFreeRedialHandler interface {
HandsFreeRedial(device *IOBluetoothHandsFreeAudioGateway, redial obj.Object)
}
IOBluetoothHandsFreeAudioGatewayDelegateHandsFreeRedialHandler is the optional IOBluetoothHandsFreeAudioGatewayDelegate method handsFree:redial:. Implement it on a IOBluetoothHandsFreeAudioGatewayDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeAudioGatewayFeatures ¶
type IOBluetoothHandsFreeAudioGatewayFeatures uint32
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
String returns the IOBluetoothHandsFreeAudioGatewayFeatures constant's name, or its numeric form when the value is not a known constant.
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
String returns the IOBluetoothHandsFreeCallHoldModes constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothHandsFreeCodecID ¶
type IOBluetoothHandsFreeCodecID uint8
const ( IOBluetoothHandsFreeCodecIDCVSD IOBluetoothHandsFreeCodecID = 1 IOBluetoothHandsFreeCodecIDmSBC IOBluetoothHandsFreeCodecID = 2 IOBluetoothHandsFreeCodecIDAACELD IOBluetoothHandsFreeCodecID = 128 )
func (IOBluetoothHandsFreeCodecID) String ¶
func (e IOBluetoothHandsFreeCodecID) String() string
String returns the IOBluetoothHandsFreeCodecID constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothHandsFreeDelegate ¶
type IOBluetoothHandsFreeDelegate interface {
}
IOBluetoothHandsFreeDelegate receives the callbacks of the Objective-C protocol IOBluetoothHandsFreeDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (IOBluetoothHandsFreeDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type IOBluetoothHandsFreeDelegateHandsFreeConnectedHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDelegateHandsFreeConnectedHandler interface {
HandsFreeConnected(device *IOBluetoothHandsFree, status obj.Object)
}
IOBluetoothHandsFreeDelegateHandsFreeConnectedHandler is the optional IOBluetoothHandsFreeDelegate method handsFree:connected:. Implement it on a IOBluetoothHandsFreeDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDelegateHandsFreeDisconnectedHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDelegateHandsFreeDisconnectedHandler interface {
HandsFreeDisconnected(device *IOBluetoothHandsFree, status obj.Object)
}
IOBluetoothHandsFreeDelegateHandsFreeDisconnectedHandler is the optional IOBluetoothHandsFreeDelegate method handsFree:disconnected:. Implement it on a IOBluetoothHandsFreeDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDelegateHandsFreeScoConnectionClosedHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDelegateHandsFreeScoConnectionClosedHandler interface {
HandsFreeScoConnectionClosed(device *IOBluetoothHandsFree, status obj.Object)
}
IOBluetoothHandsFreeDelegateHandsFreeScoConnectionClosedHandler is the optional IOBluetoothHandsFreeDelegate method handsFree:scoConnectionClosed:. Implement it on a IOBluetoothHandsFreeDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDelegateHandsFreeScoConnectionOpenedHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDelegateHandsFreeScoConnectionOpenedHandler interface {
HandsFreeScoConnectionOpened(device *IOBluetoothHandsFree, status obj.Object)
}
IOBluetoothHandsFreeDelegateHandsFreeScoConnectionOpenedHandler is the optional IOBluetoothHandsFreeDelegate method handsFree:scoConnectionOpened:. Implement it on a IOBluetoothHandsFreeDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDevice ¶
type IOBluetoothHandsFreeDevice struct {
IOBluetoothHandsFree
}
IOBluetoothHandsFreeDevice is an idiomatic wrapper over the Objective-C class IOBluetoothHandsFreeDevice.
It embeds IOBluetoothHandsFree, promoting that type's methods.
An object you use to manage phone calls on a connected Bluetooth hands-free phone or headset.
func IOBluetoothHandsFreeDeviceFromID ¶
func IOBluetoothHandsFreeDeviceFromID(id objc.ID) *IOBluetoothHandsFreeDevice
IOBluetoothHandsFreeDeviceFromID adopts an existing Objective-C object as a IOBluetoothHandsFreeDevice (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothHandsFreeDeviceWithDeviceDelegate ¶ added in v0.17.0
func NewIOBluetoothHandsFreeDeviceWithDeviceDelegate(device *IOBluetoothDevice, delegate obj.Object) *IOBluetoothHandsFreeDevice
NewIOBluetoothHandsFreeDeviceWithDeviceDelegate creates an object to manage phone calls on a hands-free Bluetooth device.
func (*IOBluetoothHandsFreeDevice) AcceptCall ¶
func (ibhfd *IOBluetoothHandsFreeDevice) AcceptCall()
AcceptCall accepts an incoming call.
func (*IOBluetoothHandsFreeDevice) AcceptCallOnPhone ¶
func (ibhfd *IOBluetoothHandsFreeDevice) AcceptCallOnPhone()
AcceptCallOnPhone accepts an incoming call and transfers the audio to the managed hands-free phone or headset.
func (*IOBluetoothHandsFreeDevice) AddHeldCall ¶
func (ibhfd *IOBluetoothHandsFreeDevice) AddHeldCall()
AddHeldCall adds held calls to the current conversation.
func (*IOBluetoothHandsFreeDevice) CallTransfer ¶
func (ibhfd *IOBluetoothHandsFreeDevice) CallTransfer()
CallTransfer ends all calls that are active or on hold, and accepts any waiting calls.
func (*IOBluetoothHandsFreeDevice) CurrentCallList ¶
func (ibhfd *IOBluetoothHandsFreeDevice) CurrentCallList()
CurrentCallList requests that the Bluetooth audio gateway send the delegate a list of calls that are active, on hold, or being set up.
func (*IOBluetoothHandsFreeDevice) DialNumber ¶
func (ibhfd *IOBluetoothHandsFreeDevice) DialNumber(aNumber string)
DialNumber calls the phone number on a hands-free phone or headset.
func (*IOBluetoothHandsFreeDevice) EndCall ¶
func (ibhfd *IOBluetoothHandsFreeDevice) EndCall()
EndCall ends the current call or refuses an incoming call.
func (*IOBluetoothHandsFreeDevice) HoldCall ¶
func (ibhfd *IOBluetoothHandsFreeDevice) HoldCall()
HoldCall places all active calls on hold and accepts a held or waiting call.
func (*IOBluetoothHandsFreeDevice) MemoryDial ¶
func (ibhfd *IOBluetoothHandsFreeDevice) MemoryDial(memoryLocation int)
MemoryDial calls the phone number stored in a speed dial or memory slot of the hands-free phone or headset.
func (*IOBluetoothHandsFreeDevice) PlaceAllOthersOnHold ¶
func (ibhfd *IOBluetoothHandsFreeDevice) PlaceAllOthersOnHold(index int)
PlaceAllOthersOnHold places all calls except the call with the specified index on hold.
func (*IOBluetoothHandsFreeDevice) Redial ¶
func (ibhfd *IOBluetoothHandsFreeDevice) Redial()
Redial calls the number stored on the hands-free phone or headset again.
func (*IOBluetoothHandsFreeDevice) ReleaseActiveCalls ¶
func (ibhfd *IOBluetoothHandsFreeDevice) ReleaseActiveCalls()
ReleaseActiveCalls ends all active calls and accepts a held or waiting call.
func (*IOBluetoothHandsFreeDevice) ReleaseCall ¶
func (ibhfd *IOBluetoothHandsFreeDevice) ReleaseCall(index int)
ReleaseCall ends the call with the specified index.
func (*IOBluetoothHandsFreeDevice) ReleaseHeldCalls ¶
func (ibhfd *IOBluetoothHandsFreeDevice) ReleaseHeldCalls()
ReleaseHeldCalls ends all calls that are on hold or returns a busy signal for a waiting call.
func (*IOBluetoothHandsFreeDevice) SendATCommand ¶
func (ibhfd *IOBluetoothHandsFreeDevice) SendATCommand(atCommand string)
SendATCommand sends an AT command to the Bluetooth audio gateway.
func (*IOBluetoothHandsFreeDevice) SendDTMF ¶
func (ibhfd *IOBluetoothHandsFreeDevice) SendDTMF(character string)
SendDTMF sends the tone associated with a phone key to the hands-free Bluetooth device.
func (*IOBluetoothHandsFreeDevice) SendSMSMessage ¶
func (ibhfd *IOBluetoothHandsFreeDevice) SendSMSMessage(aNumber string, aMessage string)
SendSMSMessage sends a text message to a phone number.
func (*IOBluetoothHandsFreeDevice) SubscriberNumber ¶
func (ibhfd *IOBluetoothHandsFreeDevice) SubscriberNumber()
SubscriberNumber requests that the Bluetooth audio gateway send the subscriber number to the delegate.
func (*IOBluetoothHandsFreeDevice) TransferAudioToComputer ¶
func (ibhfd *IOBluetoothHandsFreeDevice) TransferAudioToComputer()
TransferAudioToComputer moves the audio for current and future calls to a Mac.
func (*IOBluetoothHandsFreeDevice) TransferAudioToPhone ¶
func (ibhfd *IOBluetoothHandsFreeDevice) TransferAudioToPhone()
TransferAudioToPhone moves the audio for current or future calls to a phone.
func (*IOBluetoothHandsFreeDevice) WithDelegate ¶ added in v0.17.0
func (ibhfd *IOBluetoothHandsFreeDevice) WithDelegate(delegate IOBluetoothHandsFreeDelegate) *IOBluetoothHandsFreeDevice
WithDelegate sets return the delegate
func (*IOBluetoothHandsFreeDevice) WithInputMuted ¶ added in v0.17.0
func (ibhfd *IOBluetoothHandsFreeDevice) WithInputMuted(inputMuted bool) *IOBluetoothHandsFreeDevice
WithInputMuted sets return the input mute state.
func (*IOBluetoothHandsFreeDevice) WithInputVolume ¶ added in v0.17.0
func (ibhfd *IOBluetoothHandsFreeDevice) WithInputVolume(inputVolume float32) *IOBluetoothHandsFreeDevice
WithInputVolume sets return the input volume
func (*IOBluetoothHandsFreeDevice) WithOutputMuted ¶ added in v0.17.0
func (ibhfd *IOBluetoothHandsFreeDevice) WithOutputMuted(outputMuted bool) *IOBluetoothHandsFreeDevice
WithOutputMuted sets return the output mute state.
func (*IOBluetoothHandsFreeDevice) WithOutputVolume ¶ added in v0.17.0
func (ibhfd *IOBluetoothHandsFreeDevice) WithOutputVolume(outputVolume float32) *IOBluetoothHandsFreeDevice
WithOutputVolume sets return the output volume
func (*IOBluetoothHandsFreeDevice) WithSupportedFeatures ¶ added in v0.17.0
func (ibhfd *IOBluetoothHandsFreeDevice) WithSupportedFeatures(supportedFeatures uint32) *IOBluetoothHandsFreeDevice
WithSupportedFeatures sets set the supported features
type IOBluetoothHandsFreeDeviceDelegate ¶
type IOBluetoothHandsFreeDeviceDelegate interface {
}
IOBluetoothHandsFreeDeviceDelegate receives the callbacks of the Objective-C protocol IOBluetoothHandsFreeDeviceDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (IOBluetoothHandsFreeDeviceDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeBatteryChargeHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeBatteryChargeHandler interface {
HandsFreeBatteryCharge(device *IOBluetoothHandsFreeDevice, batteryCharge obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeBatteryChargeHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:batteryCharge:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeCallHoldStateHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeCallHoldStateHandler interface {
HandsFreeCallHoldState(device *IOBluetoothHandsFreeDevice, callHoldState obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeCallHoldStateHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:callHoldState:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeCallSetupModeHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeCallSetupModeHandler interface {
HandsFreeCallSetupMode(device *IOBluetoothHandsFreeDevice, callSetupMode obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeCallSetupModeHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:callSetupMode:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeCurrentCallHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeCurrentCallHandler interface {
HandsFreeCurrentCall(device *IOBluetoothHandsFreeDevice, currentCall obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeCurrentCallHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:currentCall:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIncomingCallFromHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIncomingCallFromHandler interface {
HandsFreeIncomingCallFrom(device *IOBluetoothHandsFreeDevice, number string)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeIncomingCallFromHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:incomingCallFrom:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIncomingSMSHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIncomingSMSHandler interface {
HandsFreeIncomingSMS(device *IOBluetoothHandsFreeDevice, sms obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeIncomingSMSHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:incomingSMS:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsCallActiveHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsCallActiveHandler interface {
HandsFreeIsCallActive(device *IOBluetoothHandsFreeDevice, isCallActive obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeIsCallActiveHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:isCallActive:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsRoamingHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsRoamingHandler interface {
HandsFreeIsRoaming(device *IOBluetoothHandsFreeDevice, isRoaming obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeIsRoamingHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:isRoaming:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsServiceAvailableHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeIsServiceAvailableHandler interface {
HandsFreeIsServiceAvailable(device *IOBluetoothHandsFreeDevice, isServiceAvailable obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeIsServiceAvailableHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:isServiceAvailable:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeRingAttemptHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeRingAttemptHandler interface {
HandsFreeRingAttempt(device *IOBluetoothHandsFreeDevice, ringAttempt obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeRingAttemptHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:ringAttempt:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeSignalStrengthHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeSignalStrengthHandler interface {
HandsFreeSignalStrength(device *IOBluetoothHandsFreeDevice, signalStrength obj.Object)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeSignalStrengthHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:signalStrength:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeSubscriberNumberHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeSubscriberNumberHandler interface {
HandsFreeSubscriberNumber(device *IOBluetoothHandsFreeDevice, subscriberNumber string)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeSubscriberNumberHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:subscriberNumber:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceDelegateHandsFreeUnhandledResultCodeHandler ¶ added in v0.17.0
type IOBluetoothHandsFreeDeviceDelegateHandsFreeUnhandledResultCodeHandler interface {
HandsFreeUnhandledResultCode(device *IOBluetoothHandsFreeDevice, resultCode string)
}
IOBluetoothHandsFreeDeviceDelegateHandsFreeUnhandledResultCodeHandler is the optional IOBluetoothHandsFreeDeviceDelegate method handsFree:unhandledResultCode:. Implement it on a IOBluetoothHandsFreeDeviceDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothHandsFreeDeviceFeatures ¶
type IOBluetoothHandsFreeDeviceFeatures uint32
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
String returns the IOBluetoothHandsFreeDeviceFeatures constant's name, or its numeric form when the value is not a known constant.
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
String returns the IOBluetoothHandsFreePDUMessageStatus constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothHandsFreeProvider ¶ added in v0.17.0
type IOBluetoothHandsFreeProvider interface {
objref.Object
// contains filtered or unexported methods
}
IOBluetoothHandsFreeProvider is accepted wherever a IOBluetoothHandsFree (or one of its subclasses) is expected.
type IOBluetoothHandsFreeSMSSupport ¶
type IOBluetoothHandsFreeSMSSupport uint64
const ( IOBluetoothHandsFreePhase2SMSSupport IOBluetoothHandsFreeSMSSupport = 1 IOBluetoothHandsFreePhase2pSMSSupport IOBluetoothHandsFreeSMSSupport = 2 IOBluetoothHandsFreeManufactureSpecificSMSSupport IOBluetoothHandsFreeSMSSupport = 4 )
func (IOBluetoothHandsFreeSMSSupport) String ¶
func (e IOBluetoothHandsFreeSMSSupport) String() string
String returns the IOBluetoothHandsFreeSMSSupport constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothHostController ¶
IOBluetoothHostController is an idiomatic wrapper over the Objective-C class IOBluetoothHostController.
This class is a representation of a Bluetooth Host Controller Interface that is present on the local computer (either plugged in externally or available internally).
func DefaultController ¶ added in v0.17.0
func DefaultController() *IOBluetoothHostController
DefaultController gets the default HCI controller object.
func IOBluetoothHostControllerFromID ¶
func IOBluetoothHostControllerFromID(id objc.ID) *IOBluetoothHostController
IOBluetoothHostControllerFromID adopts an existing Objective-C object as a IOBluetoothHostController (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothHostController ¶ added in v0.17.0
func NewIOBluetoothHostController() *IOBluetoothHostController
NewIOBluetoothHostController creates a new IOBluetoothHostController.
func (*IOBluetoothHostController) AddressAsString ¶
func (ibhc *IOBluetoothHostController) AddressAsString() string
AddressAsString returns convience routine to get the HCI controller’s Bluetooth address as an NSString object.
func (*IOBluetoothHostController) ClassOfDevice ¶
func (ibhc *IOBluetoothHostController) ClassOfDevice() uint32
ClassOfDevice gets the current class of device value.
func (*IOBluetoothHostController) Delegate ¶
func (ibhc *IOBluetoothHostController) Delegate() obj.Object
Delegate returns the delegate.
func (*IOBluetoothHostController) Description ¶ added in v0.17.0
func (ibhc *IOBluetoothHostController) Description() string
Description returns the object's -description text.
func (*IOBluetoothHostController) IsEqual ¶ added in v0.17.0
func (ibhc *IOBluetoothHostController) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothHostController) IsKind ¶ added in v0.17.0
func (ibhc *IOBluetoothHostController) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothHostController) NameAsString ¶
func (ibhc *IOBluetoothHostController) NameAsString() string
NameAsString gets the “friendly” name of HCI controller.
func (*IOBluetoothHostController) SetClassOfDeviceForTimeInterval ¶
func (ibhc *IOBluetoothHostController) SetClassOfDeviceForTimeInterval(classOfDevice uint32, seconds float64) int
SetClassOfDeviceForTimeInterval sets the current class of device value, for the specified amount of time. Note that the time interval must be set and valid. The range of acceptable values is 30-120 seconds. Anything above or below will be rounded up, or down, as appropriate.
func (*IOBluetoothHostController) String ¶ added in v0.17.0
func (ibhc *IOBluetoothHostController) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*IOBluetoothHostController) WithDelegate ¶ added in v0.17.0
func (ibhc *IOBluetoothHostController) WithDelegate(delegate obj.Object) *IOBluetoothHostController
WithDelegate sets the delegate.
type IOBluetoothL2CAPChannel ¶
type IOBluetoothL2CAPChannel struct {
IOBluetoothObject
}
IOBluetoothL2CAPChannel is an idiomatic wrapper over the Objective-C class IOBluetoothL2CAPChannel.
It embeds IOBluetoothObject, promoting that type's methods.
An instance of IOBluetoothL2CAPChannel represents a single open L2CAP channel.
func IOBluetoothL2CAPChannelFromID ¶
func IOBluetoothL2CAPChannelFromID(id objc.ID) *IOBluetoothL2CAPChannel
IOBluetoothL2CAPChannelFromID adopts an existing Objective-C object as a IOBluetoothL2CAPChannel (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothL2CAPChannel ¶ added in v0.17.0
func NewIOBluetoothL2CAPChannel() *IOBluetoothL2CAPChannel
NewIOBluetoothL2CAPChannel creates a new IOBluetoothL2CAPChannel.
func WithObjectID ¶ added in v0.17.0
func WithObjectID(objectID int) *IOBluetoothL2CAPChannel
WithObjectID returns the IObluetoothL2CAPChannel with the given IOBluetoothObjectID.
func (*IOBluetoothL2CAPChannel) CloseChannel ¶
func (iblcc *IOBluetoothL2CAPChannel) CloseChannel() int
CloseChannel returns initiates the close process on an open L2CAP channel.
func (*IOBluetoothL2CAPChannel) Delegate ¶
func (iblcc *IOBluetoothL2CAPChannel) Delegate() obj.Object
Delegate returns the currently assigned delegate
func (*IOBluetoothL2CAPChannel) Device ¶
func (iblcc *IOBluetoothL2CAPChannel) Device() *IOBluetoothDevice
Device returns the device.
func (*IOBluetoothL2CAPChannel) GetDevice ¶
func (iblcc *IOBluetoothL2CAPChannel) GetDevice() *IOBluetoothDevice
GetDevice returns the IOBluetoothDevice to which the target L2CAP channel is open.
func (*IOBluetoothL2CAPChannel) GetIncomingMTU ¶
func (iblcc *IOBluetoothL2CAPChannel) GetIncomingMTU() uint16
GetIncomingMTU returns the current incoming MTU for the L2CAP channel.
func (*IOBluetoothL2CAPChannel) GetLocalChannelID ¶
func (iblcc *IOBluetoothL2CAPChannel) GetLocalChannelID() uint16
GetLocalChannelID returns the local L2CAP channel ID for the target L2CAP channel.
func (*IOBluetoothL2CAPChannel) GetObjectID ¶
func (iblcc *IOBluetoothL2CAPChannel) GetObjectID() int
GetObjectID returns the IOBluetoothObjectID of the given IOBluetoothL2CAPChannel.
func (*IOBluetoothL2CAPChannel) GetOutgoingMTU ¶
func (iblcc *IOBluetoothL2CAPChannel) GetOutgoingMTU() uint16
GetOutgoingMTU returns the current outgoing MTU for the L2CAP channel.
func (*IOBluetoothL2CAPChannel) GetPSM ¶
func (iblcc *IOBluetoothL2CAPChannel) GetPSM() uint16
GetPSM returns the PSM for the target L2CAP channel.
func (*IOBluetoothL2CAPChannel) GetRemoteChannelID ¶
func (iblcc *IOBluetoothL2CAPChannel) GetRemoteChannelID() uint16
GetRemoteChannelID returns the remote L2CAP channel ID for the target L2CAP channel.
func (*IOBluetoothL2CAPChannel) IncomingMTU ¶
func (iblcc *IOBluetoothL2CAPChannel) IncomingMTU() uint16
IncomingMTU returns the incoming mtu.
func (*IOBluetoothL2CAPChannel) IsIncoming ¶
func (iblcc *IOBluetoothL2CAPChannel) IsIncoming() bool
IsIncoming reports whether the channel is an incoming channel.
func (*IOBluetoothL2CAPChannel) LocalChannelID ¶
func (iblcc *IOBluetoothL2CAPChannel) LocalChannelID() uint16
LocalChannelID returns the local channel ID.
func (*IOBluetoothL2CAPChannel) ObjectID ¶
func (iblcc *IOBluetoothL2CAPChannel) ObjectID() int
ObjectID returns the object ID.
func (*IOBluetoothL2CAPChannel) OutgoingMTU ¶
func (iblcc *IOBluetoothL2CAPChannel) OutgoingMTU() uint16
OutgoingMTU returns the outgoing mtu.
func (*IOBluetoothL2CAPChannel) PSM ¶
func (iblcc *IOBluetoothL2CAPChannel) PSM() uint16
PSM returns the psm.
func (*IOBluetoothL2CAPChannel) RemoteChannelID ¶
func (iblcc *IOBluetoothL2CAPChannel) RemoteChannelID() uint16
RemoteChannelID returns the remote channel ID.
func (*IOBluetoothL2CAPChannel) RequestRemoteMTU ¶
func (iblcc *IOBluetoothL2CAPChannel) RequestRemoteMTU(remoteMTU uint16) int
RequestRemoteMTU initiates the process to reconfigure the L2CAP channel with a new outgoing MTU.
func (*IOBluetoothL2CAPChannel) SetDelegate ¶
func (iblcc *IOBluetoothL2CAPChannel) SetDelegate(channelDelegate obj.Object) int
SetDelegate allows an object to register itself as client of the L2CAP channel.
func (*IOBluetoothL2CAPChannel) SetDelegateWithConfiguration ¶
func (iblcc *IOBluetoothL2CAPChannel) SetDelegateWithConfiguration(channelDelegate obj.Object, channelConfiguration obj.Object) int
SetDelegateWithConfiguration allows an object to register itself as client of the L2CAP channel.
func (*IOBluetoothL2CAPChannel) WriteAsyncLengthRefcon ¶
func (iblcc *IOBluetoothL2CAPChannel) WriteAsyncLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
WriteAsyncLengthRefcon writes the given data over the target L2CAP channel asynchronously to the remote device.
func (*IOBluetoothL2CAPChannel) WriteAsyncTrapLengthRefcon ¶
func (iblcc *IOBluetoothL2CAPChannel) WriteAsyncTrapLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
WriteAsyncTrapLengthRefcon writes async trap length refcon.
func (*IOBluetoothL2CAPChannel) WriteSyncLength ¶
func (iblcc *IOBluetoothL2CAPChannel) WriteSyncLength(data unsafe.Pointer, length uint16) int
WriteSyncLength writes the given data synchronously over the target L2CAP channel to the remote device.
type IOBluetoothL2CAPChannelDataBlock ¶
type IOBluetoothL2CAPChannelDataBlock struct {
// contains filtered or unexported fields
}
The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*IOBluetoothL2CAPChannelDataBlock) AsDataPtr ¶ added in v0.18.0
func (u *IOBluetoothL2CAPChannelDataBlock) AsDataPtr() unsafe.Pointer
AsDataPtr returns the dataPtr field, read from the backing bytes at offset 0.
func (*IOBluetoothL2CAPChannelDataBlock) AsDataSize ¶ added in v0.18.0
func (u *IOBluetoothL2CAPChannelDataBlock) AsDataSize() uint
AsDataSize returns the dataSize field, read from the backing bytes at offset 8.
type IOBluetoothL2CAPChannelDelegate ¶
type IOBluetoothL2CAPChannelDelegate interface {
}
IOBluetoothL2CAPChannelDelegate receives the callbacks of the Objective-C protocol IOBluetoothL2CAPChannelDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (IOBluetoothL2CAPChannelDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type IOBluetoothL2CAPChannelDelegateL2capChannelClosedHandler ¶ added in v0.17.0
type IOBluetoothL2CAPChannelDelegateL2capChannelClosedHandler interface {
L2capChannelClosed(l2capChannel *IOBluetoothL2CAPChannel)
}
IOBluetoothL2CAPChannelDelegateL2capChannelClosedHandler is the optional IOBluetoothL2CAPChannelDelegate method l2capChannelClosed:. Implement it on a IOBluetoothL2CAPChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothL2CAPChannelDelegateL2capChannelOpenCompleteStatusHandler ¶ added in v0.17.0
type IOBluetoothL2CAPChannelDelegateL2capChannelOpenCompleteStatusHandler interface {
L2capChannelOpenCompleteStatus(l2capChannel *IOBluetoothL2CAPChannel, err int)
}
IOBluetoothL2CAPChannelDelegateL2capChannelOpenCompleteStatusHandler is the optional IOBluetoothL2CAPChannelDelegate method l2capChannelOpenComplete:status:. Implement it on a IOBluetoothL2CAPChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothL2CAPChannelDelegateL2capChannelQueueSpaceAvailableHandler ¶ added in v0.17.0
type IOBluetoothL2CAPChannelDelegateL2capChannelQueueSpaceAvailableHandler interface {
L2capChannelQueueSpaceAvailable(l2capChannel *IOBluetoothL2CAPChannel)
}
IOBluetoothL2CAPChannelDelegateL2capChannelQueueSpaceAvailableHandler is the optional IOBluetoothL2CAPChannelDelegate method l2capChannelQueueSpaceAvailable:. Implement it on a IOBluetoothL2CAPChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothL2CAPChannelDelegateL2capChannelReconfiguredHandler ¶ added in v0.17.0
type IOBluetoothL2CAPChannelDelegateL2capChannelReconfiguredHandler interface {
L2capChannelReconfigured(l2capChannel *IOBluetoothL2CAPChannel)
}
IOBluetoothL2CAPChannelDelegateL2capChannelReconfiguredHandler is the optional IOBluetoothL2CAPChannelDelegate method l2capChannelReconfigured:. Implement it on a IOBluetoothL2CAPChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothL2CAPChannelEvent ¶
type IOBluetoothL2CAPChannelEvent struct {
EventType IOBluetoothL2CAPChannelEventType
U unsafe.Pointer
Status int32
}
type IOBluetoothL2CAPChannelEventType ¶
type IOBluetoothL2CAPChannelEventType int32
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
String returns the IOBluetoothL2CAPChannelEventType constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothL2CAPChannelRef ¶ added in v0.18.0
IOBluetoothL2CAPChannelRef is a handle for the opaque IOBluetoothL2CAPChannelRef type.
func (IOBluetoothL2CAPChannelRef) IsNil ¶ added in v0.18.0
func (h IOBluetoothL2CAPChannelRef) IsNil() bool
IsNil reports whether IOBluetoothL2CAPChannelRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type IOBluetoothOBEXSession ¶
type IOBluetoothOBEXSession struct {
OBEXSession
}
IOBluetoothOBEXSession is an idiomatic wrapper over the Objective-C class IOBluetoothOBEXSession.
It embeds OBEXSession, promoting that type's methods.
An OBEX Session with a Bluetooth RFCOMM channel as the transport.
func IOBluetoothOBEXSessionFromID ¶
func IOBluetoothOBEXSessionFromID(id objc.ID) *IOBluetoothOBEXSession
IOBluetoothOBEXSessionFromID adopts an existing Objective-C object as a IOBluetoothOBEXSession (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothOBEXSessionWithDeviceChannelID ¶ added in v0.17.0
func NewIOBluetoothOBEXSessionWithDeviceChannelID(inDevice *IOBluetoothDevice, inChannelID uint8) *IOBluetoothOBEXSession
NewIOBluetoothOBEXSessionWithDeviceChannelID initializes a Bluetooth-based OBEX Session using a Bluetooth device.
func NewIOBluetoothOBEXSessionWithSDPServiceRecord ¶ added in v0.17.0
func NewIOBluetoothOBEXSessionWithSDPServiceRecord(inSDPServiceRecord *IOBluetoothSDPServiceRecord) *IOBluetoothOBEXSession
NewIOBluetoothOBEXSessionWithSDPServiceRecord initializes a Bluetooth-based OBEX Session using an SDP service record.
func WithDeviceChannelID ¶ added in v0.17.0
func WithDeviceChannelID(inDevice *IOBluetoothDevice, inRFCOMMChannelID uint8) *IOBluetoothOBEXSession
WithDeviceChannelID creates a Bluetooth-based OBEX Session using a Bluetooth device and a Bluetooth RFCOMM channel ID.
func WithSDPServiceRecord ¶ added in v0.17.0
func WithSDPServiceRecord(inSDPServiceRecord *IOBluetoothSDPServiceRecord) *IOBluetoothOBEXSession
WithSDPServiceRecord creates a Bluetooth-based OBEX Session using an SDP service record, typically obtained from a device/service browser window controller.
func (*IOBluetoothOBEXSession) Device ¶ added in v0.17.0
func (ibos *IOBluetoothOBEXSession) Device() *IOBluetoothDevice
Device get the Bluetooth Device being used by the session object.
func (*IOBluetoothOBEXSession) IsSessionTargetAMAC ¶ added in v0.17.0
func (ibos *IOBluetoothOBEXSession) IsSessionTargetAMAC() bool
IsSessionTargetAMAC reports whether tells whether the target device is a Mac by checking its service record.
func (*IOBluetoothOBEXSession) RFCOMMChannel ¶ added in v0.17.0
func (ibos *IOBluetoothOBEXSession) RFCOMMChannel() *IOBluetoothRFCOMMChannel
RFCOMMChannel get the Bluetooth RFCOMM channel being used by the session object.
func (*IOBluetoothOBEXSession) RestartTransmission ¶
func (ibos *IOBluetoothOBEXSession) RestartTransmission()
RestartTransmission if the transmission was stopped due to the lack of buffers this call restarts it.
func (*IOBluetoothOBEXSession) SendBufferTroughChannel ¶
func (ibos *IOBluetoothOBEXSession) SendBufferTroughChannel() int
SendBufferTroughChannel returns sends the next block of data through the rfcomm channel.
func (*IOBluetoothOBEXSession) SetOBEXSessionOpenConnectionCallbackRefCon ¶
func (ibos *IOBluetoothOBEXSession) SetOBEXSessionOpenConnectionCallbackRefCon(inCallback unsafe.Pointer, inUserRefCon unsafe.Pointer)
SetOBEXSessionOpenConnectionCallbackRefCon for C API support. Allows you to set the callback to be invoked when the OBEX connection is actually opened.
type IOBluetoothObject ¶
IOBluetoothObject is an idiomatic wrapper over the Objective-C class IOBluetoothObject.
IOBluetoothObject is an abstract base — you do not construct it directly. Construct one of IOBluetoothDevice, IOBluetoothL2CAPChannel, IOBluetoothRFCOMMChannel and pass it where a IOBluetoothObject is accepted.
func IOBluetoothObjectFromID ¶
func IOBluetoothObjectFromID(id objc.ID) *IOBluetoothObject
IOBluetoothObjectFromID adopts an existing Objective-C object as a IOBluetoothObject (nil for 0), retaining it and registering a release finalizer.
func (*IOBluetoothObject) Description ¶ added in v0.17.0
func (ibo *IOBluetoothObject) Description() string
Description returns the object's -description text.
func (*IOBluetoothObject) IsEqual ¶ added in v0.17.0
func (ibo *IOBluetoothObject) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothObject) IsKind ¶ added in v0.17.0
func (ibo *IOBluetoothObject) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothObject) String ¶ added in v0.17.0
func (ibo *IOBluetoothObject) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type IOBluetoothObjectProvider ¶ added in v0.17.0
type IOBluetoothObjectProvider interface {
objref.Object
// contains filtered or unexported methods
}
IOBluetoothObjectProvider is accepted wherever a IOBluetoothObject (or one of its subclasses) is expected.
type IOBluetoothObjectRef ¶ added in v0.18.0
IOBluetoothObjectRef is a handle for the opaque IOBluetoothObjectRef type.
func (IOBluetoothObjectRef) IsNil ¶ added in v0.18.0
func (h IOBluetoothObjectRef) IsNil() bool
IsNil reports whether IOBluetoothObjectRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type IOBluetoothRFCOMMChannel ¶
type IOBluetoothRFCOMMChannel struct {
IOBluetoothObject
}
IOBluetoothRFCOMMChannel is an idiomatic wrapper over the Objective-C class IOBluetoothRFCOMMChannel.
It embeds IOBluetoothObject, promoting that type's methods.
An instance of this class represents an RFCOMM channel as defined by the Bluetooth SDP spec..
func IOBluetoothRFCOMMChannelFromID ¶
func IOBluetoothRFCOMMChannelFromID(id objc.ID) *IOBluetoothRFCOMMChannel
IOBluetoothRFCOMMChannelFromID adopts an existing Objective-C object as a IOBluetoothRFCOMMChannel (nil for 0), retaining it and registering a release finalizer.
func IOBluetoothRFCOMMChannelWithObjectID ¶
func IOBluetoothRFCOMMChannelWithObjectID(objectID int) *IOBluetoothRFCOMMChannel
IOBluetoothRFCOMMChannelWithObjectID returns the IObluetoothRFCOMMChannel with the given IOBluetoothObjectID.
func NewIOBluetoothRFCOMMChannel ¶ added in v0.17.0
func NewIOBluetoothRFCOMMChannel() *IOBluetoothRFCOMMChannel
NewIOBluetoothRFCOMMChannel creates a new IOBluetoothRFCOMMChannel.
func WithRFCOMMChannelRef ¶ added in v0.17.0
func WithRFCOMMChannelRef(rfcommChannelRef IOBluetoothRFCOMMChannelRef) *IOBluetoothRFCOMMChannel
WithRFCOMMChannelRef method call to convert an IOBluetoothRFCOMMChannelRef into an IOBluetoothRFCOMMChannel *.
func (*IOBluetoothRFCOMMChannel) ChannelID ¶ added in v0.17.0
func (ibrc *IOBluetoothRFCOMMChannel) ChannelID() uint8
ChannelID returns the object rfcomm channel ID.
func (*IOBluetoothRFCOMMChannel) CloseChannel ¶
func (ibrc *IOBluetoothRFCOMMChannel) CloseChannel() int
CloseChannel returns close the channel.
func (*IOBluetoothRFCOMMChannel) Delegate ¶
func (ibrc *IOBluetoothRFCOMMChannel) Delegate() obj.Object
Delegate returns the object delegate
func (*IOBluetoothRFCOMMChannel) Device ¶ added in v0.17.0
func (ibrc *IOBluetoothRFCOMMChannel) Device() *IOBluetoothDevice
Device returns the Bluetooth Device that carries the rfcomm data.
func (*IOBluetoothRFCOMMChannel) IsIncoming ¶
func (ibrc *IOBluetoothRFCOMMChannel) IsIncoming() bool
IsIncoming reports whether returns the direction of the channel. An incoming channel is one that was opened by the remote device.
func (*IOBluetoothRFCOMMChannel) IsOpen ¶
func (ibrc *IOBluetoothRFCOMMChannel) IsOpen() bool
IsOpen reports whether returns the state of the channel.
func (*IOBluetoothRFCOMMChannel) IsTransmissionPaused ¶
func (ibrc *IOBluetoothRFCOMMChannel) IsTransmissionPaused() bool
IsTransmissionPaused reports whether flow control is off.
func (*IOBluetoothRFCOMMChannel) MTU ¶ added in v0.17.0
func (ibrc *IOBluetoothRFCOMMChannel) MTU() uint16
MTU returns the channel maximum transfer unit.
func (*IOBluetoothRFCOMMChannel) ObjectID ¶ added in v0.17.0
func (ibrc *IOBluetoothRFCOMMChannel) ObjectID() int
ObjectID returns the IOBluetoothObjectID of the given IOBluetoothRFCOMMChannel.
func (*IOBluetoothRFCOMMChannel) RFCOMMChannelRef ¶ added in v0.17.0
func (ibrc *IOBluetoothRFCOMMChannel) RFCOMMChannelRef() IOBluetoothRFCOMMChannelRef
RFCOMMChannelRef returns an IOBluetoothRFCOMMChannelRef representation of the target IOBluetoothRFCOMMChannel object.
func (*IOBluetoothRFCOMMChannel) SendRemoteLineStatus ¶
func (ibrc *IOBluetoothRFCOMMChannel) SendRemoteLineStatus(lineStatus BluetoothRFCOMMLineStatus) int
SendRemoteLineStatus sends an error to the remote side.
func (*IOBluetoothRFCOMMChannel) SetDelegate ¶
func (ibrc *IOBluetoothRFCOMMChannel) SetDelegate(delegate obj.Object) int
SetDelegate allows an object to register itself as a client of the RFCOMM channel.
func (*IOBluetoothRFCOMMChannel) SetSerialParametersDataBitsParityStopBits ¶
func (ibrc *IOBluetoothRFCOMMChannel) SetSerialParametersDataBitsParityStopBits(speed int, nBits uint8, parity BluetoothRFCOMMParityType, bitStop uint8) int
SetSerialParametersDataBitsParityStopBits changes the parameters of the serial connection.
func (*IOBluetoothRFCOMMChannel) WriteAsyncLengthRefcon ¶
func (ibrc *IOBluetoothRFCOMMChannel) WriteAsyncLengthRefcon(data unsafe.Pointer, length uint16, refcon unsafe.Pointer) int
WriteAsyncLengthRefcon sends a block of data in the channel asynchronously.
func (*IOBluetoothRFCOMMChannel) WriteLengthSleep ¶
func (ibrc *IOBluetoothRFCOMMChannel) WriteLengthSleep(data unsafe.Pointer, length uint16, sleep bool) int
WriteLengthSleep sends a block of data in the channel syncronously.
func (*IOBluetoothRFCOMMChannel) WriteSimpleLengthSleepBytesSent ¶
func (ibrc *IOBluetoothRFCOMMChannel) WriteSimpleLengthSleepBytesSent(data unsafe.Pointer, length uint16, sleep bool) (result int, numBytesSent int)
WriteSimpleLengthSleepBytesSent sends a block of data in the channel.
func (*IOBluetoothRFCOMMChannel) WriteSyncLength ¶
func (ibrc *IOBluetoothRFCOMMChannel) WriteSyncLength(data unsafe.Pointer, length uint16) int
WriteSyncLength sends a block of data in the channel synchronously.
type IOBluetoothRFCOMMChannelDelegate ¶
type IOBluetoothRFCOMMChannelDelegate interface {
}
IOBluetoothRFCOMMChannelDelegate receives the callbacks of the Objective-C protocol IOBluetoothRFCOMMChannelDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (IOBluetoothRFCOMMChannelDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type IOBluetoothRFCOMMChannelDelegateRfcommChannelClosedHandler ¶ added in v0.17.0
type IOBluetoothRFCOMMChannelDelegateRfcommChannelClosedHandler interface {
RfcommChannelClosed(rfcommChannel *IOBluetoothRFCOMMChannel)
}
IOBluetoothRFCOMMChannelDelegateRfcommChannelClosedHandler is the optional IOBluetoothRFCOMMChannelDelegate method rfcommChannelClosed:. Implement it on a IOBluetoothRFCOMMChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothRFCOMMChannelDelegateRfcommChannelControlSignalsChangedHandler ¶ added in v0.17.0
type IOBluetoothRFCOMMChannelDelegateRfcommChannelControlSignalsChangedHandler interface {
RfcommChannelControlSignalsChanged(rfcommChannel *IOBluetoothRFCOMMChannel)
}
IOBluetoothRFCOMMChannelDelegateRfcommChannelControlSignalsChangedHandler is the optional IOBluetoothRFCOMMChannelDelegate method rfcommChannelControlSignalsChanged:. Implement it on a IOBluetoothRFCOMMChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothRFCOMMChannelDelegateRfcommChannelFlowControlChangedHandler ¶ added in v0.17.0
type IOBluetoothRFCOMMChannelDelegateRfcommChannelFlowControlChangedHandler interface {
RfcommChannelFlowControlChanged(rfcommChannel *IOBluetoothRFCOMMChannel)
}
IOBluetoothRFCOMMChannelDelegateRfcommChannelFlowControlChangedHandler is the optional IOBluetoothRFCOMMChannelDelegate method rfcommChannelFlowControlChanged:. Implement it on a IOBluetoothRFCOMMChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothRFCOMMChannelDelegateRfcommChannelOpenCompleteStatusHandler ¶ added in v0.17.0
type IOBluetoothRFCOMMChannelDelegateRfcommChannelOpenCompleteStatusHandler interface {
RfcommChannelOpenCompleteStatus(rfcommChannel *IOBluetoothRFCOMMChannel, err int)
}
IOBluetoothRFCOMMChannelDelegateRfcommChannelOpenCompleteStatusHandler is the optional IOBluetoothRFCOMMChannelDelegate method rfcommChannelOpenComplete:status:. Implement it on a IOBluetoothRFCOMMChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothRFCOMMChannelDelegateRfcommChannelQueueSpaceAvailableHandler ¶ added in v0.17.0
type IOBluetoothRFCOMMChannelDelegateRfcommChannelQueueSpaceAvailableHandler interface {
RfcommChannelQueueSpaceAvailable(rfcommChannel *IOBluetoothRFCOMMChannel)
}
IOBluetoothRFCOMMChannelDelegateRfcommChannelQueueSpaceAvailableHandler is the optional IOBluetoothRFCOMMChannelDelegate method rfcommChannelQueueSpaceAvailable:. Implement it on a IOBluetoothRFCOMMChannelDelegate value to receive that callback; a value without it is simply never sent one.
type IOBluetoothRFCOMMChannelRef ¶ added in v0.18.0
IOBluetoothRFCOMMChannelRef is a handle for the opaque IOBluetoothRFCOMMChannelRef type.
func (IOBluetoothRFCOMMChannelRef) IsNil ¶ added in v0.18.0
func (h IOBluetoothRFCOMMChannelRef) IsNil() bool
IsNil reports whether IOBluetoothRFCOMMChannelRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type IOBluetoothSDPDataElement ¶
IOBluetoothSDPDataElement is an idiomatic wrapper over the Objective-C class IOBluetoothSDPDataElement.
An instance of this class represents a single SDP data element as defined by the Bluetooth SDP spec.
func IOBluetoothSDPDataElementFromID ¶
func IOBluetoothSDPDataElementFromID(id objc.ID) *IOBluetoothSDPDataElement
IOBluetoothSDPDataElementFromID adopts an existing Objective-C object as a IOBluetoothSDPDataElement (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothSDPDataElementWithElementValue ¶ added in v0.17.0
func NewIOBluetoothSDPDataElementWithElementValue(element obj.Object) *IOBluetoothSDPDataElement
NewIOBluetoothSDPDataElementWithElementValue initializes a new IOBluetoothSDPDataElement with the given value.
func NewIOBluetoothSDPDataElementWithTypeSizeDescriptorSizeValue ¶ added in v0.17.0
func NewIOBluetoothSDPDataElementWithTypeSizeDescriptorSizeValue(newType uint8, newSizeDescriptor uint8, newSize uint32, newValue obj.Object) *IOBluetoothSDPDataElement
NewIOBluetoothSDPDataElementWithTypeSizeDescriptorSizeValue initializes a new IOBluetoothSDPDataElement with the given attributes.
func WithElementValue ¶ added in v0.17.0
func WithElementValue(element obj.Object) *IOBluetoothSDPDataElement
WithElementValue creates a new IOBluetoothSDPDataElement with the given value.
func WithSDPDataElementRef ¶ added in v0.17.0
func WithSDPDataElementRef(sdpDataElementRef IOBluetoothSDPDataElementRef) *IOBluetoothSDPDataElement
WithSDPDataElementRef method call to convert an IOBluetoothSDPDataElementRef into an IOBluetoothSDPDataElement *.
func WithTypeSizeDescriptorSizeValue ¶ added in v0.17.0
func WithTypeSizeDescriptorSizeValue(type_ uint8, newSizeDescriptor uint8, newSize uint32, newValue obj.Object) *IOBluetoothSDPDataElement
WithTypeSizeDescriptorSizeValue creates a new IOBluetoothSDPDataElement with the given attributes.
func (*IOBluetoothSDPDataElement) ArrayValue ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) ArrayValue() obj.Object
ArrayValue returns if the data element is represented by an array object, it returns the value as an NSArray.
func (*IOBluetoothSDPDataElement) ContainsDataElement ¶
func (ibsde *IOBluetoothSDPDataElement) ContainsDataElement(dataElement *IOBluetoothSDPDataElement) bool
ContainsDataElement checks to see if the target data element is the same as the dataElement parameter or if it contains the dataElement parameter (if its a sequence type).
func (*IOBluetoothSDPDataElement) ContainsValue ¶
func (ibsde *IOBluetoothSDPDataElement) ContainsValue(cmpValue obj.Object) bool
ContainsValue checks to see if the target data element’s value is the same as the value parameter or if it contains the value parameter.
func (*IOBluetoothSDPDataElement) DataValue ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) DataValue() []byte
DataValue returns if the data element is represented by a data object, it returns the value as an NSData.
func (*IOBluetoothSDPDataElement) Description ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) Description() string
Description returns the object's -description text.
func (*IOBluetoothSDPDataElement) IsEqual ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothSDPDataElement) IsKind ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothSDPDataElement) NumberValue ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) NumberValue() *foundation.Number
NumberValue returns if the data element is represented by a number, it returns the value as an NSNumber.
func (*IOBluetoothSDPDataElement) SDPDataElementRef ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) SDPDataElementRef() IOBluetoothSDPDataElementRef
SDPDataElementRef returns an IOBluetoothSDPDataElementRef representation of the target IOBluetoothSDPDataElement object.
func (*IOBluetoothSDPDataElement) Size ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) Size() uint32
Size returns the size in bytes of the target data element.
func (*IOBluetoothSDPDataElement) SizeDescriptor ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) SizeDescriptor() uint8
SizeDescriptor returns the SDP spec defined data element size descriptor for the target data element.
func (*IOBluetoothSDPDataElement) String ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*IOBluetoothSDPDataElement) StringValue ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) StringValue() string
StringValue returns if the data element is represented by a string object, it returns the value as an NSString.
func (*IOBluetoothSDPDataElement) TypeDescriptor ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) TypeDescriptor() uint8
TypeDescriptor returns the SDP spec defined data element type descriptor for the target data element.
func (*IOBluetoothSDPDataElement) UUIDValue ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) UUIDValue() *IOBluetoothSDPUUID
UUIDValue returns if the data element is a UUID (type 3), it returns the value as an IOBluetoothSDPUUID.
func (*IOBluetoothSDPDataElement) Value ¶ added in v0.17.0
func (ibsde *IOBluetoothSDPDataElement) Value() *foundation.Object
Value returns the object value of the data element.
type IOBluetoothSDPDataElementRef ¶ added in v0.18.0
IOBluetoothSDPDataElementRef is a handle for the opaque IOBluetoothSDPDataElementRef type.
func (IOBluetoothSDPDataElementRef) IsNil ¶ added in v0.18.0
func (h IOBluetoothSDPDataElementRef) IsNil() bool
IsNil reports whether IOBluetoothSDPDataElementRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type IOBluetoothSDPServiceAttribute ¶
IOBluetoothSDPServiceAttribute is an idiomatic wrapper over the Objective-C class IOBluetoothSDPServiceAttribute.
IOBluetoothSDPServiceAttribute represents a single SDP service attribute.
func IOBluetoothSDPServiceAttributeFromID ¶
func IOBluetoothSDPServiceAttributeFromID(id objc.ID) *IOBluetoothSDPServiceAttribute
IOBluetoothSDPServiceAttributeFromID adopts an existing Objective-C object as a IOBluetoothSDPServiceAttribute (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothSDPServiceAttributeWithIDAttributeElement ¶ added in v0.17.0
func NewIOBluetoothSDPServiceAttributeWithIDAttributeElement(newAttributeID uint16, attributeElement *IOBluetoothSDPDataElement) *IOBluetoothSDPServiceAttribute
NewIOBluetoothSDPServiceAttributeWithIDAttributeElement initializes a new service attribute with the given ID and data element.
func NewIOBluetoothSDPServiceAttributeWithIDAttributeElementValue ¶ added in v0.17.0
func NewIOBluetoothSDPServiceAttributeWithIDAttributeElementValue(newAttributeID uint16, attributeElementValue obj.Object) *IOBluetoothSDPServiceAttribute
NewIOBluetoothSDPServiceAttributeWithIDAttributeElementValue initializes a new service attribute with the given ID and element value.
func WithIDAttributeElement ¶ added in v0.17.0
func WithIDAttributeElement(newAttributeID uint16, attributeElement *IOBluetoothSDPDataElement) *IOBluetoothSDPServiceAttribute
WithIDAttributeElement creates a new service attribute with the given ID and data element.
func WithIDAttributeElementValue ¶ added in v0.17.0
func WithIDAttributeElementValue(newAttributeID uint16, attributeElementValue obj.Object) *IOBluetoothSDPServiceAttribute
WithIDAttributeElementValue creates a new service attribute with the given ID and element value.
func (*IOBluetoothSDPServiceAttribute) AttributeID ¶ added in v0.17.0
func (ibssa *IOBluetoothSDPServiceAttribute) AttributeID() uint16
AttributeID returns the attribute ID for the target service attribute.
func (*IOBluetoothSDPServiceAttribute) DataElement ¶ added in v0.17.0
func (ibssa *IOBluetoothSDPServiceAttribute) DataElement() *IOBluetoothSDPDataElement
DataElement returns the data element for the target service attribute.
func (*IOBluetoothSDPServiceAttribute) Description ¶ added in v0.17.0
func (ibssa *IOBluetoothSDPServiceAttribute) Description() string
Description returns the object's -description text.
func (*IOBluetoothSDPServiceAttribute) IDDataElement ¶ added in v0.17.0
func (ibssa *IOBluetoothSDPServiceAttribute) IDDataElement() *IOBluetoothSDPDataElement
IDDataElement returns the data element representing the attribute ID for the target service attribute.
func (*IOBluetoothSDPServiceAttribute) IsEqual ¶ added in v0.17.0
func (ibssa *IOBluetoothSDPServiceAttribute) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothSDPServiceAttribute) IsKind ¶ added in v0.17.0
func (ibssa *IOBluetoothSDPServiceAttribute) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothSDPServiceAttribute) String ¶ added in v0.17.0
func (ibssa *IOBluetoothSDPServiceAttribute) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type IOBluetoothSDPServiceRecord ¶
IOBluetoothSDPServiceRecord is an idiomatic wrapper over the Objective-C class IOBluetoothSDPServiceRecord.
An instance of this class represents a single SDP service record.
func IOBluetoothSDPServiceRecordFromID ¶
func IOBluetoothSDPServiceRecordFromID(id objc.ID) *IOBluetoothSDPServiceRecord
IOBluetoothSDPServiceRecordFromID adopts an existing Objective-C object as a IOBluetoothSDPServiceRecord (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothSDPServiceRecordWithServiceDictionaryDevice ¶ added in v0.17.0
func NewIOBluetoothSDPServiceRecordWithServiceDictionaryDevice(serviceDict obj.Object, device *IOBluetoothDevice) *IOBluetoothSDPServiceRecord
NewIOBluetoothSDPServiceRecordWithServiceDictionaryDevice returns an initialized IOBluetoothSDPServiceRecord * with the attributes specified in the provided service dictionary. Provide a pointer to an IOBlueotothDevice if you wish to associate the record to a specific IOBluetoothDevice.
func PublishedServiceRecordWithDictionary ¶ added in v0.17.0
func PublishedServiceRecordWithDictionary(serviceDict obj.Object) *IOBluetoothSDPServiceRecord
PublishedServiceRecordWithDictionary adds a service to the local SDP server.
func WithSDPServiceRecordRef ¶ added in v0.17.0
func WithSDPServiceRecordRef(sdpServiceRecordRef IOBluetoothSDPServiceRecordRef) *IOBluetoothSDPServiceRecord
WithSDPServiceRecordRef method call to convert an IOBluetoothSDPServiceRecordRef into an IOBluetoothSDPServiceRecord *.
func WithServiceDictionaryDevice ¶ added in v0.17.0
func WithServiceDictionaryDevice(serviceDict obj.Object, device *IOBluetoothDevice) *IOBluetoothSDPServiceRecord
WithServiceDictionaryDevice returns an IOBluetoothSDPServiceRecord * with the attributes specified in the provided service dictionary. Provide a pointer to an IOBlueotothDevice if you wish to associate the record to a specific IOBluetoothDevice.
func (*IOBluetoothSDPServiceRecord) Attributes ¶
func (ibssr *IOBluetoothSDPServiceRecord) Attributes() obj.Object
Attributes returns the attributes.
func (*IOBluetoothSDPServiceRecord) Description ¶ added in v0.17.0
func (ibssr *IOBluetoothSDPServiceRecord) Description() string
Description returns the object's -description text.
func (*IOBluetoothSDPServiceRecord) Device ¶
func (ibssr *IOBluetoothSDPServiceRecord) Device() *IOBluetoothDevice
Device returns the device.
func (*IOBluetoothSDPServiceRecord) GetAttributeDataElement ¶
func (ibssr *IOBluetoothSDPServiceRecord) GetAttributeDataElement(attributeID uint16) *IOBluetoothSDPDataElement
GetAttributeDataElement returns the data element for the given attribute ID in the target service.
func (*IOBluetoothSDPServiceRecord) GetAttributes ¶
func (ibssr *IOBluetoothSDPServiceRecord) GetAttributes() obj.Object
GetAttributes returns the get attributes.
func (*IOBluetoothSDPServiceRecord) GetDevice ¶
func (ibssr *IOBluetoothSDPServiceRecord) GetDevice() *IOBluetoothDevice
GetDevice returns the get device.
func (*IOBluetoothSDPServiceRecord) GetL2CAPPSM ¶
func (ibssr *IOBluetoothSDPServiceRecord) GetL2CAPPSM() (result int, outPSM uint16)
GetL2CAPPSM allows the discovery of the L2CAP PSM assigned to the service.
func (*IOBluetoothSDPServiceRecord) GetRFCOMMChannelID ¶
func (ibssr *IOBluetoothSDPServiceRecord) GetRFCOMMChannelID() (result int, rfcommChannelID uint8)
GetRFCOMMChannelID allows the discovery of the RFCOMM channel ID assigned to the service.
func (*IOBluetoothSDPServiceRecord) GetServiceRecordHandle ¶
func (ibssr *IOBluetoothSDPServiceRecord) GetServiceRecordHandle() (result int, outServiceRecordHandle uint32)
GetServiceRecordHandle allows the discovery of the service record handle assigned to the service.
func (*IOBluetoothSDPServiceRecord) HandsFreeSupportedFeatures ¶
func (ibssr *IOBluetoothSDPServiceRecord) HandsFreeSupportedFeatures() uint16
HandsFreeSupportedFeatures returns the hands free supported features Returns the hands free supported features bitmap stored in the SDP record. See “IOBluetoothHandsFreeDeviceFeatures and IOBluetoothHandsFreeAudioGatewayFeatures.”
func (*IOBluetoothSDPServiceRecord) HasServiceFromArray ¶
func (ibssr *IOBluetoothSDPServiceRecord) HasServiceFromArray(array obj.Object) bool
HasServiceFromArray returns TRUE if any one of the UUIDs in the given array is found in the target service.
func (*IOBluetoothSDPServiceRecord) IsEqual ¶ added in v0.17.0
func (ibssr *IOBluetoothSDPServiceRecord) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothSDPServiceRecord) IsKind ¶ added in v0.17.0
func (ibssr *IOBluetoothSDPServiceRecord) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothSDPServiceRecord) MatchesSearchArray ¶
func (ibssr *IOBluetoothSDPServiceRecord) MatchesSearchArray(searchArray obj.Object) bool
MatchesSearchArray returns TRUE any of the UUID arrays in the search array match the target service.
func (*IOBluetoothSDPServiceRecord) MatchesUUID16 ¶
func (ibssr *IOBluetoothSDPServiceRecord) MatchesUUID16(uuid16 uint16) bool
MatchesUUID16 returns TRUE the UUID16 is found in the target service.
func (*IOBluetoothSDPServiceRecord) MatchesUUIDArray ¶
func (ibssr *IOBluetoothSDPServiceRecord) MatchesUUIDArray(uuidArray obj.Object) bool
MatchesUUIDArray returns TRUE if ALL of the UUIDs in the given array is found in the target service.
func (*IOBluetoothSDPServiceRecord) RemoveServiceRecord ¶
func (ibssr *IOBluetoothSDPServiceRecord) RemoveServiceRecord() int
RemoveServiceRecord returns removes the service from the local SDP server.
func (*IOBluetoothSDPServiceRecord) SDPServiceRecordRef ¶ added in v0.17.0
func (ibssr *IOBluetoothSDPServiceRecord) SDPServiceRecordRef() IOBluetoothSDPServiceRecordRef
SDPServiceRecordRef returns an IOBluetoothSDPServiceRecordRef representation of the target IOBluetoothSDPServiceRecord object.
func (*IOBluetoothSDPServiceRecord) ServiceName ¶ added in v0.17.0
func (ibssr *IOBluetoothSDPServiceRecord) ServiceName() string
ServiceName returns the name of the service.
func (*IOBluetoothSDPServiceRecord) SortedAttributes ¶
func (ibssr *IOBluetoothSDPServiceRecord) SortedAttributes() obj.Object
SortedAttributes returns the sorted attributes.
func (*IOBluetoothSDPServiceRecord) String ¶ added in v0.17.0
func (ibssr *IOBluetoothSDPServiceRecord) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type IOBluetoothSDPServiceRecordRef ¶ added in v0.18.0
IOBluetoothSDPServiceRecordRef is a handle for the opaque IOBluetoothSDPServiceRecordRef type.
func (IOBluetoothSDPServiceRecordRef) IsNil ¶ added in v0.18.0
func (h IOBluetoothSDPServiceRecordRef) IsNil() bool
IsNil reports whether IOBluetoothSDPServiceRecordRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type IOBluetoothSDPUUID ¶
IOBluetoothSDPUUID is an idiomatic wrapper over the Objective-C class IOBluetoothSDPUUID.
An NSData subclass that represents a UUID as defined in the Bluetooth SDP spec.
func IOBluetoothSDPUUIDFromID ¶
func IOBluetoothSDPUUIDFromID(id objc.ID) *IOBluetoothSDPUUID
IOBluetoothSDPUUIDFromID adopts an existing Objective-C object as a IOBluetoothSDPUUID (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothSDPUUIDWithUUID16 ¶ added in v0.17.0
func NewIOBluetoothSDPUUIDWithUUID16(uuid16 uint16) *IOBluetoothSDPUUID
NewIOBluetoothSDPUUIDWithUUID16 initializes a new 16-bit IOBluetoothSDPUUID with the given UUID16
func NewIOBluetoothSDPUUIDWithUUID32 ¶ added in v0.17.0
func NewIOBluetoothSDPUUIDWithUUID32(uuid32 uint32) *IOBluetoothSDPUUID
NewIOBluetoothSDPUUIDWithUUID32 creates a new 32-bit IOBluetoothSDPUUID with the given UUID32
func Uuid16 ¶ added in v0.17.0
func Uuid16(uuid16 uint16) *IOBluetoothSDPUUID
Uuid16 creates a new 16-bit IOBluetoothSDPUUID with the given UUID16
func Uuid32 ¶ added in v0.17.0
func Uuid32(uuid32 uint32) *IOBluetoothSDPUUID
Uuid32 creates a new 32-bit IOBluetoothSDPUUID with the given UUID32
func UuidWithBytesLength ¶ added in v0.17.0
func UuidWithBytesLength(data unsafe.Pointer, length int) *IOBluetoothSDPUUID
UuidWithBytesLength creates a new IOBluetoothSDPUUID object with the given bytes of the given length.
func UuidWithData ¶ added in v0.17.0
func UuidWithData(data []byte) *IOBluetoothSDPUUID
UuidWithData creates a new IOBluetoothSDPUUID object from the given NSData.
func WithSDPUUIDRef ¶ added in v0.17.0
func WithSDPUUIDRef(sdpUUIDRef IOBluetoothSDPUUIDRef) *IOBluetoothSDPUUID
WithSDPUUIDRef method call to convert an IOBluetoothSDPUUIDRef into an IOBluetoothSDPUUID *.
func (*IOBluetoothSDPUUID) Description ¶ added in v0.17.0
func (ibs *IOBluetoothSDPUUID) Description() string
Description returns the object's -description text.
func (*IOBluetoothSDPUUID) GetUUIDWithLength ¶
func (ibs *IOBluetoothSDPUUID) GetUUIDWithLength(newLength int) *IOBluetoothSDPUUID
GetUUIDWithLength returns an IOBluetoothSDPUUID object matching the target UUID, but with the given number of bytes.
func (*IOBluetoothSDPUUID) IsEqual ¶ added in v0.17.0
func (ibs *IOBluetoothSDPUUID) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothSDPUUID) IsEqualToUUID ¶
func (ibs *IOBluetoothSDPUUID) IsEqualToUUID(otherUUID *IOBluetoothSDPUUID) bool
IsEqualToUUID compares the target IOBluetoothSDPUUID object with the given otherUUID object.
func (*IOBluetoothSDPUUID) IsKind ¶ added in v0.17.0
func (ibs *IOBluetoothSDPUUID) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothSDPUUID) SDPUUIDRef ¶ added in v0.17.0
func (ibs *IOBluetoothSDPUUID) SDPUUIDRef() IOBluetoothSDPUUIDRef
SDPUUIDRef returns an IOBluetoothSDPUUIDRef representation of the target IOBluetoothSDPUUID object.
func (*IOBluetoothSDPUUID) String ¶ added in v0.17.0
func (ibs *IOBluetoothSDPUUID) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type IOBluetoothSDPUUIDRef ¶ added in v0.18.0
IOBluetoothSDPUUIDRef is a handle for the opaque IOBluetoothSDPUUIDRef type.
func (IOBluetoothSDPUUIDRef) IsNil ¶ added in v0.18.0
func (h IOBluetoothSDPUUIDRef) IsNil() bool
IsNil reports whether IOBluetoothSDPUUIDRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type IOBluetoothSMSMode ¶
type IOBluetoothSMSMode uint64
const ( IOBluetoothSMSModePDU IOBluetoothSMSMode = 0 IOBluetoothSMSModeText IOBluetoothSMSMode = 1 )
func (IOBluetoothSMSMode) String ¶
func (e IOBluetoothSMSMode) String() string
String returns the IOBluetoothSMSMode constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothUserNotification ¶
IOBluetoothUserNotification is an idiomatic wrapper over the Objective-C class IOBluetoothUserNotification.
Represents a registered notification.
func IOBluetoothUserNotificationFromID ¶
func IOBluetoothUserNotificationFromID(id objc.ID) *IOBluetoothUserNotification
IOBluetoothUserNotificationFromID adopts an existing Objective-C object as a IOBluetoothUserNotification (nil for 0), retaining it and registering a release finalizer.
func NewIOBluetoothUserNotification ¶ added in v0.17.0
func NewIOBluetoothUserNotification() *IOBluetoothUserNotification
NewIOBluetoothUserNotification creates a new IOBluetoothUserNotification.
func (*IOBluetoothUserNotification) Description ¶ added in v0.17.0
func (ibun *IOBluetoothUserNotification) Description() string
Description returns the object's -description text.
func (*IOBluetoothUserNotification) IsEqual ¶ added in v0.17.0
func (ibun *IOBluetoothUserNotification) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*IOBluetoothUserNotification) IsKind ¶ added in v0.17.0
func (ibun *IOBluetoothUserNotification) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*IOBluetoothUserNotification) String ¶ added in v0.17.0
func (ibun *IOBluetoothUserNotification) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*IOBluetoothUserNotification) Unregister ¶
func (ibun *IOBluetoothUserNotification) Unregister()
Unregister called to unregister the target notification.
type IOBluetoothUserNotificationChannelDirection ¶
type IOBluetoothUserNotificationChannelDirection int32
const ( KIOBluetoothUserNotificationChannelDirectionAny IOBluetoothUserNotificationChannelDirection = 0 KIOBluetoothUserNotificationChannelDirectionIncoming IOBluetoothUserNotificationChannelDirection = 1 KIOBluetoothUserNotificationChannelDirectionOutgoing IOBluetoothUserNotificationChannelDirection = 2 )
func (IOBluetoothUserNotificationChannelDirection) String ¶
func (e IOBluetoothUserNotificationChannelDirection) String() string
String returns the IOBluetoothUserNotificationChannelDirection constant's name, or its numeric form when the value is not a known constant.
type IOBluetoothUserNotificationRef ¶ added in v0.18.0
IOBluetoothUserNotificationRef is a handle for the opaque IOBluetoothUserNotificationRef type.
func IOBluetoothL2CAPChannelRegisterForChannelCloseNotification ¶
func IOBluetoothL2CAPChannelRegisterForChannelCloseNotification(channel IOBluetoothL2CAPChannelRef, callback unsafe.Pointer, inRefCon unsafe.Pointer) IOBluetoothUserNotificationRef
IOBluetoothL2CAPChannelRegisterForChannelCloseNotification calls the IOBluetooth framework function IOBluetoothL2CAPChannelRegisterForChannelCloseNotification.
func (IOBluetoothUserNotificationRef) IsNil ¶ added in v0.18.0
func (h IOBluetoothUserNotificationRef) IsNil() bool
IsNil reports whether IOBluetoothUserNotificationRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType uint32
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type LaunchDataType ¶ added in v0.17.0
type LaunchDataType int32
const ( LaunchDataTypeDictionary LaunchDataType = 1 LaunchDataTypeArray LaunchDataType = 2 LaunchDataTypeFd LaunchDataType = 3 LaunchDataTypeInteger LaunchDataType = 4 LaunchDataTypeReal LaunchDataType = 5 LaunchDataTypeBool LaunchDataType = 6 LaunchDataTypeString LaunchDataType = 7 LaunchDataTypeOpaque LaunchDataType = 8 LaunchDataTypeErrno LaunchDataType = 9 LaunchDataTypeMachport LaunchDataType = 10 )
func (LaunchDataType) String ¶ added in v0.17.0
func (e LaunchDataType) String() string
String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.
type MDLabelDomain ¶
type MDLabelDomain int32
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
String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int32
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int32
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags uint64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor uint32
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag uint16
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type OBEXAbortCommandData ¶
Part of the OBEXSessionEvent structure.
type OBEXAbortCommandResponseData ¶
type OBEXAbortCommandResponseData struct {
ServerResponseOpCode uint8
HeaderDataPtr unsafe.Pointer
HeaderDataLength uint
}
Part of the OBEXSessionEvent structure.
type OBEXConnectCommandData ¶
type OBEXConnectCommandData struct {
HeaderDataPtr unsafe.Pointer
HeaderDataLength uint
MaxPacketSize uint16
Version uint8
Flags uint8
}
Part of the OBEXSessionEvent structure.
type OBEXConnectCommandResponseData ¶
type OBEXConnectCommandResponseData struct {
// contains filtered or unexported fields
}
Part of the OBEXSessionEvent structure. The C layout cannot be reproduced as a plain Go value struct, so it is held as its exact-size bytes and read through the typed As* accessors below. It is pointer-only: never pass it by value.
func (*OBEXConnectCommandResponseData) AsFlags ¶ added in v0.18.0
func (u *OBEXConnectCommandResponseData) AsFlags() uint8
AsFlags returns the flags field, read from the backing bytes at offset 27.
func (*OBEXConnectCommandResponseData) AsHeaderDataLength ¶ added in v0.18.0
func (u *OBEXConnectCommandResponseData) AsHeaderDataLength() uint
AsHeaderDataLength returns the headerDataLength field, read from the backing bytes at offset 16.
func (*OBEXConnectCommandResponseData) AsHeaderDataPtr ¶ added in v0.18.0
func (u *OBEXConnectCommandResponseData) AsHeaderDataPtr() unsafe.Pointer
AsHeaderDataPtr returns the headerDataPtr field, read from the backing bytes at offset 8.
func (*OBEXConnectCommandResponseData) AsMaxPacketSize ¶ added in v0.18.0
func (u *OBEXConnectCommandResponseData) AsMaxPacketSize() uint16
AsMaxPacketSize returns the maxPacketSize field, read from the backing bytes at offset 24.
func (*OBEXConnectCommandResponseData) AsServerResponseOpCode ¶ added in v0.18.0
func (u *OBEXConnectCommandResponseData) AsServerResponseOpCode() uint8
AsServerResponseOpCode returns the serverResponseOpCode field, read from the backing bytes at offset 0.
func (*OBEXConnectCommandResponseData) AsVersion ¶ added in v0.18.0
func (u *OBEXConnectCommandResponseData) AsVersion() uint8
AsVersion returns the version field, read from the backing bytes at offset 26.
type OBEXConnectFlagValues ¶
type OBEXConnectFlagValues int32
Flags for Connect command.
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
String returns the OBEXConnectFlagValues constant's name, or its numeric form when the value is not a known constant.
type OBEXDisconnectCommandData ¶
Part of the OBEXSessionEvent structure.
type OBEXDisconnectCommandResponseData ¶
type OBEXDisconnectCommandResponseData struct {
ServerResponseOpCode uint8
HeaderDataPtr unsafe.Pointer
HeaderDataLength uint
}
Part of the OBEXSessionEvent structure.
type OBEXErrorCodes ¶
type OBEXErrorCodes int32
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
String returns the OBEXErrorCodes constant's name, or its numeric form when the value is not a known constant.
type OBEXErrorData ¶
Part of the OBEXSessionEvent structure.
type OBEXFileTransferServices ¶
OBEXFileTransferServices is an idiomatic wrapper over the Objective-C class OBEXFileTransferServices.
Implements advanced OBEX operations in addition to simple PUT and GET.
func NewOBEXFileTransferServicesWithOBEXSession ¶ added in v0.17.0
func NewOBEXFileTransferServicesWithOBEXSession(inOBEXSession *IOBluetoothOBEXSession) *OBEXFileTransferServices
NewOBEXFileTransferServicesWithOBEXSession create a new OBEXFileTransferServices object
func OBEXFileTransferServicesFromID ¶
func OBEXFileTransferServicesFromID(id objc.ID) *OBEXFileTransferServices
OBEXFileTransferServicesFromID adopts an existing Objective-C object as a OBEXFileTransferServices (nil for 0), retaining it and registering a release finalizer.
func WithOBEXSession ¶ added in v0.17.0
func WithOBEXSession(inOBEXSession *IOBluetoothOBEXSession) *OBEXFileTransferServices
WithOBEXSession create a new OBEXFileTransferServices object
func (*OBEXFileTransferServices) Abort ¶
func (ofts *OBEXFileTransferServices) Abort() int32
Abort returns abort the current operation
func (*OBEXFileTransferServices) ChangeCurrentFolderBackward ¶
func (ofts *OBEXFileTransferServices) ChangeCurrentFolderBackward() int32
ChangeCurrentFolderBackward returns change to the directory above the current level if not at the root
func (*OBEXFileTransferServices) ChangeCurrentFolderForwardToPath ¶
func (ofts *OBEXFileTransferServices) ChangeCurrentFolderForwardToPath(inDirName string) int32
ChangeCurrentFolderForwardToPath change the remote path
func (*OBEXFileTransferServices) ChangeCurrentFolderToRoot ¶
func (ofts *OBEXFileTransferServices) ChangeCurrentFolderToRoot() int32
ChangeCurrentFolderToRoot returns asynchronously change to the remote root directory
func (*OBEXFileTransferServices) ConnectToFTPService ¶
func (ofts *OBEXFileTransferServices) ConnectToFTPService() int32
ConnectToFTPService returns connect to a remote device for FTP operations
func (*OBEXFileTransferServices) ConnectToObjectPushService ¶
func (ofts *OBEXFileTransferServices) ConnectToObjectPushService() int32
ConnectToObjectPushService returns connect to a remote device for ObjectPush operations. Most of the FTP functionality of this object will be disabled.
func (*OBEXFileTransferServices) CopyRemoteFileToLocalPath ¶
func (ofts *OBEXFileTransferServices) CopyRemoteFileToLocalPath(inRemoteFileName string, inLocalPathAndName string) int32
CopyRemoteFileToLocalPath copy a remote file to a local path
func (*OBEXFileTransferServices) CreateFolder ¶
func (ofts *OBEXFileTransferServices) CreateFolder(inDirName string) int32
CreateFolder create a folder on the remote target
func (*OBEXFileTransferServices) CurrentPath ¶
func (ofts *OBEXFileTransferServices) CurrentPath() string
CurrentPath get the remote current directory path during an FTP session
func (*OBEXFileTransferServices) Delegate ¶
func (ofts *OBEXFileTransferServices) Delegate() obj.Object
Delegate returns the delegate.
func (*OBEXFileTransferServices) Description ¶ added in v0.17.0
func (ofts *OBEXFileTransferServices) Description() string
Description returns the object's -description text.
func (*OBEXFileTransferServices) Disconnect ¶
func (ofts *OBEXFileTransferServices) Disconnect() int32
Disconnect returns disconnect from the remote device
func (*OBEXFileTransferServices) GetDefaultVCard ¶
func (ofts *OBEXFileTransferServices) GetDefaultVCard(inLocalPathAndName string) int32
GetDefaultVCard get the remote default VCard, if it is supported
func (*OBEXFileTransferServices) IsBusy ¶
func (ofts *OBEXFileTransferServices) IsBusy() bool
IsBusy reports whether get the action state of the module
func (*OBEXFileTransferServices) IsConnected ¶
func (ofts *OBEXFileTransferServices) IsConnected() bool
IsConnected reports whether get the connected state of this module.
func (*OBEXFileTransferServices) IsEqual ¶ added in v0.17.0
func (ofts *OBEXFileTransferServices) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*OBEXFileTransferServices) IsKind ¶ added in v0.17.0
func (ofts *OBEXFileTransferServices) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*OBEXFileTransferServices) RemoveItem ¶
func (ofts *OBEXFileTransferServices) RemoveItem(inItemName string) int32
RemoveItem remove a remote item.
func (*OBEXFileTransferServices) RetrieveFolderListing ¶
func (ofts *OBEXFileTransferServices) RetrieveFolderListing() int32
RetrieveFolderListing get a remote directory listing
func (*OBEXFileTransferServices) SendDataTypeName ¶
func (ofts *OBEXFileTransferServices) SendDataTypeName(inData []byte, inType string, inName string) int32
SendDataTypeName send data to a remote target
func (*OBEXFileTransferServices) SendFile ¶
func (ofts *OBEXFileTransferServices) SendFile(inLocalPathAndName string) int32
SendFile put a local file to the remote target
func (*OBEXFileTransferServices) String ¶ added in v0.17.0
func (ofts *OBEXFileTransferServices) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*OBEXFileTransferServices) WithDelegate ¶ added in v0.17.0
func (ofts *OBEXFileTransferServices) WithDelegate(delegate obj.Object) *OBEXFileTransferServices
WithDelegate sets the delegate.
type OBEXGetCommandData ¶
Part of the OBEXSessionEvent structure.
type OBEXGetCommandResponseData ¶
type OBEXGetCommandResponseData struct {
ServerResponseOpCode uint8
HeaderDataPtr unsafe.Pointer
HeaderDataLength uint
}
Part of the OBEXSessionEvent structure.
type OBEXHeaderIdentifiers ¶
type OBEXHeaderIdentifiers int32
Identifiers for OBEX Headers.
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
String returns the OBEXHeaderIdentifiers constant's name, or its numeric form when the value is not a known constant.
type OBEXNonceFlagValues ¶
type OBEXNonceFlagValues int32
Flags for Nonce command during digest challenge.
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
String returns the OBEXNonceFlagValues constant's name, or its numeric form when the value is not a known constant.
type OBEXOpCodeCommandValues ¶
type OBEXOpCodeCommandValues int32
Operation OpCode values for commands.
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
String returns the OBEXOpCodeCommandValues constant's name, or its numeric form when the value is not a known constant.
type OBEXOpCodeResponseValues ¶
type OBEXOpCodeResponseValues int32
Response opCode values.
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
String returns the OBEXOpCodeResponseValues constant's name, or its numeric form when the value is not a known constant.
type OBEXOpCodeSessionValues ¶
type OBEXOpCodeSessionValues int32
Operation OpCode values for sessions. From the OBEX 1.3 specification.
const ( KOBEXOpCodeCreateSession OBEXOpCodeSessionValues = 0 KOBEXOpCodeCloseSession OBEXOpCodeSessionValues = 1 KOBEXOpCodeSuspendSession OBEXOpCodeSessionValues = 2 KOBEXOpCodeResumeSession OBEXOpCodeSessionValues = 3 KOBEXOpCodeSetTimeout OBEXOpCodeSessionValues = 4 )
func (OBEXOpCodeSessionValues) String ¶
func (e OBEXOpCodeSessionValues) String() string
String returns the OBEXOpCodeSessionValues constant's name, or its numeric form when the value is not a known constant.
type OBEXPutCommandData ¶
type OBEXPutCommandData struct {
HeaderDataPtr unsafe.Pointer
HeaderDataLength uint
BodyDataLeftToSend uint
}
Part of the OBEXSessionEvent structure.
type OBEXPutCommandResponseData ¶
type OBEXPutCommandResponseData struct {
ServerResponseOpCode uint8
HeaderDataPtr unsafe.Pointer
HeaderDataLength uint
}
Part of the OBEXSessionEvent structure.
type OBEXPutFlagValues ¶
type OBEXPutFlagValues int32
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
String returns the OBEXPutFlagValues constant's name, or its numeric form when the value is not a known constant.
type OBEXRealmValues ¶
type OBEXRealmValues int32
Values for Realm during digest response.
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
String returns the OBEXRealmValues constant's name, or its numeric form when the value is not a known constant.
type OBEXSession ¶
OBEXSession is an idiomatic wrapper over the Objective-C class OBEXSession.
OBEXSession is an abstract base — you do not construct it directly. Construct one of IOBluetoothOBEXSession and pass it where a OBEXSession is accepted.
Object representing an OBEX connection to a remote target.
func OBEXSessionFromID ¶
func OBEXSessionFromID(id objc.ID) *OBEXSession
OBEXSessionFromID adopts an existing Objective-C object as a OBEXSession (nil for 0), retaining it and registering a release finalizer.
func (*OBEXSession) CloseTransportConnection ¶
func (os *OBEXSession) CloseTransportConnection() int32
CloseTransportConnection returns you must override this - it will be called when the transport connection should be shutdown.
func (*OBEXSession) Description ¶ added in v0.17.0
func (os *OBEXSession) Description() string
Description returns the object's -description text.
func (*OBEXSession) GetAvailableCommandPayloadLength ¶
func (os *OBEXSession) GetAvailableCommandPayloadLength(inOpCode uint8) uint16
GetAvailableCommandPayloadLength determine the maximum amount of data you can send in a particular command as an OBEX client session.
func (*OBEXSession) GetAvailableCommandResponsePayloadLength ¶
func (os *OBEXSession) GetAvailableCommandResponsePayloadLength(inOpCode uint8) uint16
GetAvailableCommandResponsePayloadLength determine the maximum amount of data you can send in a particular command response as an OBEX server session.
func (*OBEXSession) HasOpenOBEXConnection ¶
func (os *OBEXSession) HasOpenOBEXConnection() bool
HasOpenOBEXConnection reports whether has a successful connect packet been sent and received? This API tells you so.
func (*OBEXSession) HasOpenTransportConnection ¶
func (os *OBEXSession) HasOpenTransportConnection() uint8
HasOpenTransportConnection returns you must override this - it will be called periodically to determine if a transport connection is open or not.
func (*OBEXSession) IsEqual ¶ added in v0.17.0
func (os *OBEXSession) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*OBEXSession) IsKind ¶ added in v0.17.0
func (os *OBEXSession) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*OBEXSession) MaxPacketLength ¶ added in v0.17.0
func (os *OBEXSession) MaxPacketLength() uint16
MaxPacketLength gets current max packet length.
func (*OBEXSession) SendDataToTransportDataLength ¶
func (os *OBEXSession) SendDataToTransportDataLength(inDataToSend unsafe.Pointer, inDataLength int) int32
SendDataToTransportDataLength you must override this to send data over your transport. This does nothing by default, it will return a kOBEXUnsupportedError.
func (*OBEXSession) SetEventCallback ¶
func (os *OBEXSession) SetEventCallback(inEventCallback unsafe.Pointer)
SetEventCallback sets the C-API callback used when the session recieves data.
func (*OBEXSession) SetEventRefCon ¶
func (os *OBEXSession) SetEventRefCon(inRefCon unsafe.Pointer)
SetEventRefCon sets the C-API callback refCon used when the session recieves data.
func (*OBEXSession) String ¶ added in v0.17.0
func (os *OBEXSession) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type OBEXSessionEvent ¶
type OBEXSessionEventTypes ¶
type OBEXSessionEventTypes int32
Type identifiers for OBEX sessions.
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
String returns the OBEXSessionEventTypes constant's name, or its numeric form when the value is not a known constant.
type OBEXSessionParameterTags ¶
type OBEXSessionParameterTags int32
Tags for SessionParameters.
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
String returns the OBEXSessionParameterTags constant's name, or its numeric form when the value is not a known constant.
type OBEXSessionProvider ¶ added in v0.17.0
OBEXSessionProvider is accepted wherever a OBEXSession (or one of its subclasses) is expected.
type OBEXSessionRef ¶ added in v0.18.0
OBEXSessionRef is a handle for the opaque OBEXSessionRef type.
func (OBEXSessionRef) IsNil ¶ added in v0.18.0
func (h OBEXSessionRef) IsNil() bool
IsNil reports whether OBEXSessionRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type OBEXSetPathCommandData ¶
type OBEXSetPathCommandData struct {
HeaderDataPtr unsafe.Pointer
HeaderDataLength uint
Flags uint8
Constants uint8
}
Part of the OBEXSessionEvent structure.
type OBEXSetPathCommandResponseData ¶
type OBEXSetPathCommandResponseData struct {
ServerResponseOpCode uint8
HeaderDataPtr unsafe.Pointer
HeaderDataLength uint
Flags uint8
Constants uint8
}
Part of the OBEXSessionEvent structure.
type OBEXTransportEvent ¶
type OBEXTransportEventTypes ¶
type OBEXTransportEventTypes int32
const ( KOBEXTransportEventTypeDataReceived OBEXTransportEventTypes = 1147237441 KOBEXTransportEventTypeStatus OBEXTransportEventTypes = 1400136020 )
func (OBEXTransportEventTypes) String ¶
func (e OBEXTransportEventTypes) String() string
String returns the OBEXTransportEventTypes constant's name, or its numeric form when the value is not a known constant.
type OBEXVersions ¶
type OBEXVersions int32
The available/supported OBEX versions.
const (
KOBEXVersion10 OBEXVersions = 16
)
func (OBEXVersions) String ¶
func (e OBEXVersions) String() string
String returns the OBEXVersions constant's name, or its numeric form when the value is not a known constant.
type OpaqueIOBluetoothObjectRef ¶
type OpaqueIOBluetoothObjectRef struct{}
type OpaqueOBEXSessionRef ¶
type OpaqueOBEXSessionRef struct{}
type OpaquePrivOBEXSessionData ¶
type OpaquePrivOBEXSessionData struct{}
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PrivOBEXSessionDataRef ¶ added in v0.18.0
PrivOBEXSessionDataRef is a handle for the opaque PrivOBEXSessionDataRef type.
func (PrivOBEXSessionDataRef) IsNil ¶ added in v0.18.0
func (h PrivOBEXSessionDataRef) IsNil() bool
IsNil reports whether PrivOBEXSessionDataRef is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.
type ProtocolParameters ¶
type ProtocolParameters int32
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
String returns the ProtocolParameters constant's name, or its numeric form when the value is not a known constant.
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type SDPAttributeDeviceIdentificationRecord ¶
type SDPAttributeDeviceIdentificationRecord int32
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
String returns the SDPAttributeDeviceIdentificationRecord constant's name, or its numeric form when the value is not a known constant.
type SDPAttributeIdentifierCodes ¶
type SDPAttributeIdentifierCodes int32
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
String returns the SDPAttributeIdentifierCodes constant's name, or its numeric form when the value is not a known constant.
type SDPServiceClasses ¶
type SDPServiceClasses int32
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
String returns the SDPServiceClasses constant's name, or its numeric form when the value is not a known constant.
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode uint32
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.
type XpcListenerCreateFlags ¶ added in v0.17.0
type XpcListenerCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcListenerCreateFlagsNone XpcListenerCreateFlags = 0 XpcListenerCreateFlagsInactive XpcListenerCreateFlags = 1 XpcListenerCreateFlagsForceMach XpcListenerCreateFlags = 2 XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4 )
func (XpcListenerCreateFlags) String ¶ added in v0.17.0
func (e XpcListenerCreateFlags) String() string
String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.
type XpcSessionCreateFlags ¶ added in v0.17.0
type XpcSessionCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcSessionCreateFlagsNone XpcSessionCreateFlags = 0 XpcSessionCreateFlagsInactive XpcSessionCreateFlags = 1 XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2 )
func (XpcSessionCreateFlags) String ¶ added in v0.17.0
func (e XpcSessionCreateFlags) String() string
String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.
Source Files
¶
- IOBluetoothDeviceInquiryDelegate_delegate_generated.go
- IOBluetoothDeviceInquiry_generated.go
- IOBluetoothDevicePairDelegate_delegate_generated.go
- IOBluetoothDevicePair_generated.go
- IOBluetoothDevice_generated.go
- IOBluetoothHandsFreeAudioGatewayDelegate_delegate_generated.go
- IOBluetoothHandsFreeAudioGateway_generated.go
- IOBluetoothHandsFreeDelegate_delegate_generated.go
- IOBluetoothHandsFreeDeviceDelegate_delegate_generated.go
- IOBluetoothHandsFreeDevice_generated.go
- IOBluetoothHandsFree_generated.go
- IOBluetoothHostController_generated.go
- IOBluetoothL2CAPChannelDelegate_delegate_generated.go
- IOBluetoothL2CAPChannel_generated.go
- IOBluetoothOBEXSession_generated.go
- IOBluetoothObject_generated.go
- IOBluetoothRFCOMMChannelDelegate_delegate_generated.go
- IOBluetoothRFCOMMChannel_generated.go
- IOBluetoothSDPDataElement_generated.go
- IOBluetoothSDPServiceAttribute_generated.go
- IOBluetoothSDPServiceRecord_generated.go
- IOBluetoothSDPUUID_generated.go
- IOBluetoothUserNotification_generated.go
- OBEXFileTransferServices_generated.go
- OBEXSession_generated.go
- doc.go
- iobluetooth_cfunctions_generated.go
- iobluetooth_classmethods_generated.go
- iobluetooth_constants_generated.go
- iobluetooth_enums_generated.go
- iobluetooth_protocols_generated.go
- iobluetooth_providers_generated.go
- iobluetooth_runtime_generated.go
- iobluetooth_structs_generated.go