Bluetooth
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Bluetooth
Classes for using Bluetooth devices in Xojo.
- Classes
- class CBATTRequestMBS
- class CBAttributeMBS
- class CBCentralManagerMBS
- class CBCentralMBS
- class CBCharacteristicMBS
- class CBDescriptorMBS
- class CBL2CAPChannelMBS
- class CBManagerMBS
- class CBMutableCharacteristicMBS
- class CBMutableDescriptorMBS
- class CBMutableServiceMBS
- class CBPeerMBS
- class CBPeripheralManagerMBS
- method addService(service as CBMutableServiceMBS)
- shared method authorizationStatus as integer
- shared method Available as boolean
- shared method CBPeripheralManagerOptionRestoreIdentifierKey as String
- shared method CBPeripheralManagerOptionShowPowerAlertKey as String
- shared method CBPeripheralManagerRestoredStateAdvertisementDataKey as String
- shared method CBPeripheralManagerRestoredStateServicesKey as String
- method Constructor(options as Dictionary = nil)
- method Destructor
- method removeAllServices
- method removeService(service as CBMutableServiceMBS)
- method respondToRequest(request as CBATTRequestMBS, error as integer)
- method setDesiredConnectionLatency(latency as integer, central as CBCentralMBS)
- method startAdvertising(advertisementData as Dictionary)
- method stopAdvertising
- method updateValue(value as MemoryBlock, characteristic as CBMutableCharacteristicMBS, onSubscribedCentrals() as CBCentralMBS = nil) as Boolean
- property isAdvertising as Boolean
- event DidAddService(service as CBServiceMBS, error as NSErrorMBS)
- event DidOpenL2CAPChannel(channel as CBL2CAPChannelMBS, error as NSErrorMBS)
- event DidPublishL2CAPChannel(PSM as Integer, error as NSErrorMBS)
- event DidReceiveReadRequest(Request as CBATTRequestMBS)
- event DidReceiveWriteRequests(requests() as CBATTRequestMBS)
- event DidStartAdvertising(error as NSErrorMBS)
- event DidSubscribeToCharacteristic(central as CBCentralMBS, characteristic as CBCharacteristicMBS)
- event DidUnpublishL2CAPChannel(PSM as Integer, error as NSErrorMBS)
- event DidUnsubscribeFromCharacteristic(central as CBCentralMBS, characteristic as CBCharacteristicMBS)
- event DidUpdateState
- event IsReadyToUpdateSubscribers
- event WillRestoreState(dic as dictionary)
- class CBPeripheralMBS
- shared method Available as boolean
- method Constructor(Peripheral as CBPeripheralMBS)
- method Destructor
- method discoverCharacteristics(characteristicUUIDs() as CBUUIDMBS = nil, service as CBServiceMBS)
- method discoverDescriptorsForCharacteristic(Characteristic as CBCharacteristicMBS)
- method discoverIncludedServices(includedServiceUUIDs() as CBUUIDMBS = nil, service as CBServiceMBS)
- method discoverServices(serviceUUIDs() as CBUUIDMBS = nil)
- method maximumWriteValueLengthForType(Type as Integer) as Integer
- method readRSSI
- method readValueForCharacteristic(Characteristic as CBCharacteristicMBS)
- method readValueForDescriptor(descriptor as CBDescriptorMBS)
- method services as CBServiceMBS()
- method setNotifyValue(enabled as Boolean, Characteristic as CBCharacteristicMBS)
- method writeValue(data as MemoryBlock, Characteristic as CBCharacteristicMBS, Type as Integer)
- method writeValue(data as MemoryBlock, Descriptor as CBDescriptorMBS)
- property CanSendWriteWithoutResponse as Boolean
- property Name as String
- property RSSI as String
- property State as Integer
- event DidDiscoverCharacteristicsForService(service as CBServiceMBS, error as NSErrorMBS)
- event DidDiscoverDescriptorsForCharacteristic(characteristic as CBCharacteristicMBS, error as NSErrorMBS)
- event DidDiscoverIncludedServicesForService(service as CBServiceMBS, error as NSErrorMBS)
- event DidDiscoverServices(error as NSErrorMBS)
- event DidModifyServices(invalidatedServices() as CBServiceMBS)
- event DidOpenL2CAPChannel(channel as CBL2CAPChannelMBS, error as NSErrorMBS)
- event DidReadRSSI(RSSI as String, error as NSErrorMBS)
- event DidUpdateName
- event DidUpdateNotificationStateForCharacteristic(characteristic as CBCharacteristicMBS, error as NSErrorMBS)
- event DidUpdateRSSI(error as NSErrorMBS)
- event DidUpdateValueForCharacteristic(characteristic as CBCharacteristicMBS, error as NSErrorMBS)
- event DidUpdateValueForDescriptor(descriptor as CBDescriptorMBS, error as NSErrorMBS)
- event DidWriteValueForCharacteristic(characteristic as CBCharacteristicMBS, error as NSErrorMBS)
- event DidWriteValueForDescriptor(descriptor as CBDescriptorMBS, error as NSErrorMBS)
- event IsReadyToSendWriteWithoutResponse
- class CBServiceMBS
- class CBUUIDMBS
- class IOBluetoothDeviceInquiryMBS
- class IOBluetoothDeviceMBS
- class IOBluetoothDeviceSelectorControllerMBS
- class IOBluetoothHostControllerMBS
- class IOBluetoothRFCOMMChannelMBS
- class IOBluetoothSDPDataElementMBS
- class IOBluetoothSDPServiceAttributeMBS
- class IOBluetoothSDPServiceRecordMBS
- class IOBluetoothSDPUUIDMBS
- class IOBluetoothServiceBrowserControllerMBS
- class WindowsBluetoothDeviceIdMBS
- class WindowsBlueToothDeviceInfoMBS
- class WindowsBlueToothDeviceMBS
- class WindowsBlueToothDeviceSearchParameterMBS
- class WindowsBluetoothLEAdvertisementMBS
- class WindowsBluetoothLEAdvertisementReceivedEventArgsMBS
- class WindowsBluetoothLEAdvertisementWatcherMBS
- class WindowsBluetoothLEAppearanceMBS
- class WindowsBlueToothLECharacteristicMBS
- class WindowsBlueToothLEDescriptorMBS
- class WindowsBlueToothLEDescriptorValueMBS
- class WindowsBluetoothLEDeviceMBS
- method Close
- method Constructor
- method Constructor(other as WindowsBluetoothLEDeviceMBS)
- method Destructor
- shared method FromBluetoothAddress(bluetoothAddress as UInt64) as WindowsBluetoothLEDeviceMBS
- shared method FromBluetoothAddress(bluetoothAddress as UInt64, BluetoothAddressType as Integer) as WindowsBluetoothLEDeviceMBS
- shared method FromBluetoothAddressAsync(bluetoothAddress as UInt64, BluetoothAddressType as Integer, delegateHandler as DeviceFromBluetoothAddressAsyncCompletedMBS)
- shared method FromBluetoothAddressAsync(bluetoothAddress as UInt64, delegateHandler as DeviceFromBluetoothAddressAsyncCompletedMBS)
- shared method FromId(Id as String) as WindowsBluetoothLEDeviceMBS
- shared method FromIdAsync(Id as String, delegateHandler as DeviceFromIdAsyncCompletedMBS)
- shared method GetDeviceSelector as String
- shared method GetDeviceSelectorFromAppearance(Appearance as WindowsBluetoothLEAppearanceMBS) as String
- method GetGattService(serviceUUID as String) as WindowsGattDeviceServiceMBS
- method GetGattServicesAsync
- method GetGattServicesAsync(BluetoothCacheMode as Integer)
- method GetGattServicesForUuidAsync(serviceUuid as String)
- method GetGattServicesForUuidAsync(serviceUuid as String, BluetoothCacheMode as Integer)
- method RequestAccessAsync
- property Appearance as WindowsBluetoothLEAppearanceMBS
- property BluetoothAddress as UInt64
- property BluetoothAddressType as Integer
- property BluetoothDeviceId as WindowsBluetoothDeviceIdMBS
- property ConnectionStatus as Integer
- property Handle as Integer
- property Name as String
- property Pairing as WindowsDeviceInformationPairingMBS
- property WasSecureConnectionUsedForPairing as Boolean
- event ConnectionStatusChanged
- event GattServicesChanged
- event GetGattServicesCompleted(asyncStatus as Integer, Result as WindowsGattDeviceServicesResultMBS)
- event NameChanged
- event PairAsyncCompleted(asyncStatus as Integer, PairingStatus as Integer, ProtectionLevelUsed as Integer)
- event RequestAccessCompleted(asyncStatus as Integer, DeviceAccessStatus as Integer)
- event UnpairAsyncCompleted(asyncStatus as Integer, UnpairingStatus as Integer)
- delegate DeviceFromBluetoothAddressAsyncCompletedMBS(AsyncStatus as Integer, Device as WindowsBluetoothLEDeviceMBS)
- delegate DeviceFromIdAsyncCompletedMBS(AsyncStatus as Integer, Device as WindowsBluetoothLEDeviceMBS)
- class WindowsBluetoothLEExceptionMBS
- class WindowsBluetoothLEManufacturerDataMBS
- class WindowsBlueToothLEMBS
- method AbortReliableWrite(ReliableWriteContextID as UInt64)
- shared method Available as Boolean
- method BeginReliableWrite as UInt64
- method Characteristics(ParentService as WindowsBlueToothLEServiceMBS, Flags as Integer = 0) as WindowsBlueToothLECharacteristicMBS()
- method Constructor(DevicePath as String)
- method Descriptors(Characteristic as WindowsBlueToothLECharacteristicMBS, Flags as Integer = 0) as WindowsBlueToothLEDescriptorMBS()
- shared method DevicePathsForClassGUID(GUID as string) as String()
- method EndReliableWrite(ReliableWriteContextID as UInt64)
- method GetCharacteristicValue(Characteristic as WindowsBlueToothLECharacteristicMBS, Flags as Integer = 0) as MemoryBlock
- method GetDescriptorValue(Descriptor as WindowsBlueToothLEDescriptorMBS, Flags as Integer = 0) as WindowsBlueToothLEDescriptorValueMBS
- method IncludedServices(ParentService as WindowsBlueToothLEServiceMBS, Flags as Integer = 0) as WindowsBlueToothLEServiceMBS()
- method RegisterChangeEvent(Characteristics() as WindowsBlueToothLECharacteristicMBS)
- method Services(Flags as Integer = 0) as WindowsBlueToothLEServiceMBS()
- method SetCharacteristicValue(Characteristic as WindowsBlueToothLECharacteristicMBS, data as MemoryBlock, ReliableWriteContextID as UInt64, Flags as Integer = 0) as Boolean
- method SetDescriptorValue(Descriptor as WindowsBlueToothLEDescriptorMBS, DescriptorValue as WindowsBlueToothLEDescriptorValueMBS, Flags as Integer = 0) as Boolean
- property Handle as Integer
- property LastError as Integer
- property LastErrorMessage as String
- property Path as String
- event ChangeEvent(ChangedAttributeHandle as Integer, CharacteristicValue as MemoryBlock)
- class WindowsBlueToothLEServiceMBS
- class WindowsBlueToothRadioInfoMBS
- class WindowsBlueToothRadioMBS
- class WindowsBlueToothSelectDeviceDialogMBS
- class WindowsBlueToothServiceMBS
- class WindowsBlueToothSocketMBS
- class WindowsDeviceInformationPairingMBS
- class WindowsGattCharacteristicMBS
- shared method AlertCategoryId as String
- shared method AlertCategoryIdBitMask as String
- shared method AlertLevel as String
- shared method AlertNotificationControlPoint as String
- shared method AlertStatus as String
- method AllDescriptors as WindowsGattDescriptorMBS()
- shared method BatteryLevel as String
- shared method BloodPressureFeature as String
- shared method BloodPressureMeasurement as String
- shared method BodySensorLocation as String
- shared method BootKeyboardInputReport as String
- shared method BootKeyboardOutputReport as String
- shared method BootMouseInputReport as String
- method Constructor
- method Constructor(other as WindowsGattCharacteristicMBS)
- shared method ConvertShortIdToUuid(ID as UInt16) as String
- shared method CscFeature as String
- shared method CscMeasurement as String
- shared method CurrentTime as String
- shared method CyclingPowerControlPoint as String
- shared method CyclingPowerFeature as String
- shared method CyclingPowerMeasurement as String
- shared method CyclingPowerVector as String
- shared method DateTime as String
- shared method DayDateTime as String
- shared method DayOfWeek as String
- method Descriptors(characteristicUUID as String) as WindowsGattDescriptorMBS()
- method Destructor
- shared method DstOffset as String
- shared method ExactTime256 as String
- shared method FirmwareRevisionString as String
- shared method GapAppearance as String
- shared method GapDeviceName as String
- shared method GapPeripheralPreferredConnectionParameters as String
- shared method GapPeripheralPrivacyFlag as String
- shared method GapReconnectionAddress as String
- shared method GattServiceChanged as String
- method GetDescriptorsAsync
- method GetDescriptorsAsync(BluetoothCacheMode as Integer)
- method GetDescriptorsForUuidAsync(characteristicUuid as String)
- method GetDescriptorsForUuidAsync(characteristicUuid as String, BluetoothCacheMode as Integer)
- shared method GlucoseFeature as String
- shared method GlucoseMeasurement as String
- shared method GlucoseMeasurementContext as String
- shared method HardwareRevisionString as String
- shared method HeartRateControlPoint as String
- shared method HeartRateMeasurement as String
- shared method HidControlPoint as String
- shared method HidInformation as String
- shared method Ieee1107320601RegulatoryCertificationDataList as String
- shared method IntermediateCuffPressure as String
- shared method IntermediateTemperature as String
- shared method LnControlPoint as String
- shared method LnFeature as String
- shared method LocalTimeInformation as String
- shared method LocationAndSpeed as String
- shared method ManufacturerNameString as String
- shared method MeasurementInterval as String
- shared method ModelNumberString as String
- shared method Navigation as String
- shared method NewAlert as String
- shared method PnpId as String
- shared method PositionQuality as String
- shared method ProtocolMode as String
- method ReadClientCharacteristicConfigurationDescriptorAsync
- method ReadValueAsync
- method ReadValueAsync(CacheMode as Integer)
- shared method RecordAccessControlPoint as String
- shared method ReferenceTimeInformation as String
- shared method Report as String
- shared method ReportMap as String
- shared method RingerControlPoint as String
- shared method RingerSetting as String
- shared method RscFeature as String
- shared method RscMeasurement as String
- shared method ScanIntervalWindow as String
- shared method ScanRefresh as String
- shared method SCControlPoint as String
- shared method SensorLocation as String
- shared method SerialNumberString as String
- shared method SoftwareRevisionString as String
- shared method SupportedNewAlertCategory as String
- shared method SupportUnreadAlertCategory as String
- shared method SystemId as String
- shared method TemperatureMeasurement as String
- shared method TemperatureType as String
- shared method TimeAccuracy as String
- shared method TimeSource as String
- shared method TimeUpdateControlPoint as String
- shared method TimeUpdateState as String
- shared method TimeWithDst as String
- shared method TimeZone as String
- shared method TxPowerLevel as String
- shared method UnreadAlertStatus as String
- method WriteClientCharacteristicConfigurationDescriptorAsync(ClientCharacteristicConfigurationDescriptorValue as Integer)
- method WriteClientCharacteristicConfigurationDescriptorWithResultAsync(ClientCharacteristicConfigurationDescriptorValue as Integer)
- method WriteValueAsync(buffer as MemoryBlock)
- method WriteValueAsync(buffer as MemoryBlock, WriteOption as Integer)
- method WriteValueWithResultAsync(buffer as MemoryBlock)
- method WriteValueWithResultAsync(buffer as MemoryBlock, WriteOption as Integer)
- property AttributeHandle as Integer
- property CharacteristicProperties as Integer
- property Handle as Integer
- property ProtectionLevel as Integer
- property Service as WindowsGattDeviceServiceMBS
- property UserDescription as String
- property UUID as String
- event DescriptorsCompleted(asyncStatus as Integer, Result as WindowsGattDescriptorsResultMBS)
- event ReadClientCharacteristicConfigurationDescriptorAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadClientCharacteristicConfigurationDescriptorResultMBS)
- event ReadValueAsyncCompleted(asyncStatus as Integer, Result as WindowsGattReadResultMBS)
- event ValueChanged(args as WindowsGattValueChangedEventArgsMBS)
- event WriteClientCharacteristicConfigurationDescriptorAsyncCompleted(asyncStatus as Integer, Status as Integer)
- event WriteClientCharacteristicConfigurationDescriptorWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)
- event WriteValueAsyncCompleted(asyncStatus as Integer, Result as Integer)
- event WriteValueWithResultAsyncCompleted(asyncStatus as Integer, Result as WindowsGattWriteResultMBS)
- class WindowsGattCharacteristicsResultMBS
- class WindowsGattDescriptorMBS
- class WindowsGattDescriptorsResultMBS
- class WindowsGattDeviceServiceMBS
- shared method AlertNotification as String
- shared method Battery as String
- shared method BloodPressure as String
- method Characteristics(characteristicUUID as String) as WindowsGattDeviceServiceMBS()
- method Close
- method Constructor
- method Constructor(other as WindowsGattDeviceServiceMBS)
- shared method CurrentTime as String
- shared method CyclingPower as String
- shared method CyclingSpeedAndCadence as String
- method Destructor
- shared method DeviceInformation as String
- shared method FromId(Id as String) as WindowsGattDeviceServiceMBS
- shared method FromId(Id as String, sharingMode as Integer) as WindowsGattDeviceServiceMBS
- shared method FromIdAsync(Id as String, delegateHandler as ServiceFromIdAsyncCompletedMBS)
- shared method FromIdAsync(Id as String, sharingMode as Integer, delegateHandler as ServiceFromIdAsyncCompletedMBS)
- shared method GenericAccess as String
- shared method GenericAttribute as String
- method GetAllCharacteristics as WindowsGattCharacteristicMBS()
- method GetAllIncludedServices as WindowsGattDeviceServiceMBS()
- method GetCharacteristicsAsync
- method GetCharacteristicsAsync(BluetoothCacheMode as Integer)
- method GetCharacteristicsForUuidAsync(characteristicUuid as String)
- method GetCharacteristicsForUuidAsync(characteristicUuid as String, BluetoothCacheMode as Integer)
- shared method GetDeviceSelectorFromShortId(serviceShortId as UInt16) as String
- shared method GetDeviceSelectorFromUuid(serviceUuid as String) as String
- method GetIncludedServicesAsync
- method GetIncludedServicesAsync(BluetoothCacheMode as Integer)
- method GetIncludedServicesForUuidAsync(serviceUuid as String)
- method GetIncludedServicesForUuidAsync(serviceUuid as String, BluetoothCacheMode as Integer)
- shared method Glucose as String
- shared method HealthThermometer as String
- shared method HeartRate as String
- shared method HumanInterfaceDevice as String
- shared method ImmediateAlert as String
- shared method LinkLoss as String
- shared method LocationAndNavigation as String
- shared method NextDstChange as String
- method OpenAsync(SharingMode as Integer)
- method ParentServices as WindowsGattDeviceServiceMBS()
- shared method PhoneAlertStatus as String
- shared method ReferenceTimeUpdate as String
- method RequestAccessAsync
- shared method RunningSpeedAndCadence as String
- shared method ScanParameters as String
- shared method TxPower as String
- property AttributeHandle as Integer
- property Device as WindowsBluetoothLEDeviceMBS
- property DeviceId as String
- property Handle as Integer
- property Session as WindowsGattSessionMBS
- property SharingMode as Integer
- property UUID as String
- event CharacteristicsCompleted(asyncStatus as Integer, Result as WindowsGattCharacteristicsResultMBS)
- event IncludedServicesCompleted(asyncStatus as Integer, Result as WindowsGattDeviceServicesResultMBS)
- event OpenAsyncCompleted(asyncStatus as Integer, OpenStatus as Integer)
- event RequestAccessCompleted(asyncStatus as Integer, DeviceAccessStatus as Integer)
- delegate ServiceFromIdAsyncCompletedMBS(AsyncStatus as Integer, Device as WindowsGattDeviceServiceMBS)
- class WindowsGattDeviceServicesResultMBS
- class WindowsGattReadClientCharacteristicConfigurationDescriptorResultMBS
- class WindowsGattReadRequestMBS
- class WindowsGattReadResultMBS
- class WindowsGattSessionMBS
- class WindowsGattValueChangedEventArgsMBS
- class WindowsGattWriteRequestMBS
- class WindowsGattWriteResultMBS
Release notes
- Version 24.0
- Version 23.4
- Version 23.3
- Version 23.0
- Version 22.5
- Version 22.3
- Version 22.1
- Fixed buffer passing in SetCharacteristicValue method for WindowsBlueToothLEMBS class.
- Fixed potential problem that SetCharacteristicValue method could crash in WindowsBlueToothLEMBS class on low memory situation.
- Version 22.0
- Added more error constants for CBCentralManagerMBS class.
- Changed window properties to variant, so you can use DesktopWindow there for WindowsShortCutMBS, WindowsPrintDialogMBS, WindowsPageSetupDialogMBS, WindowsICMSetupMBS, WindowsBlueToothSelectDeviceDialogMBS, TwainMBS, TaskDialogMBS, OpenDialogMBS, DirectShowVideoWindowMBS, WindowsStoreContextMBS, WindowsFileCopyMBS, WindowsFontDialogMBS, WindowsPreviewHandlerMBS, WindowsStoreContextMBS, ParentChromiumFrameMBS and ChromiumBrowserMBS classes.
- Version 21.4
The items on this page are in the following plugins: MBS Bluetooth Plugin, MBS WinFrameworks Plugin.