Platforms to show: All Mac Windows Linux Cross-Platform
IOBluetoothDeviceInquiryMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Bluetooth | MBS Bluetooth Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
You should only use this object if your application needs to know about in-range devices and cannot use the GUI provided by the IOBluetoothUI framework. It will not let you perform unlimited back-to-back inquiries, but will instead throttle the number of attempted inquiries if too many are attempted within a small window of time.
Important Note: DO NOT perform remote name requests on devices from events or while this object is in use. If you wish to do your own remote name requests on devices, do them after you have stopped this object. If you do not heed this warning, you could potentially deadlock your process.
- 5 events
- event Complete(error as Integer, aborted as Boolean)
- event DeviceFound(device as IOBluetoothDeviceMBS)
- event DeviceNameUpdated(device as IOBluetoothDeviceMBS, devicesRemaining as Integer)
- event Started
- event UpdatingDeviceNamesStarted(devicesRemaining as Integer)
- 5 properties
- property Handle as Integer
- property inquiryLength as Integer
- property Lasterror as Integer
- property searchType as Integer
- property updateNewDeviceNames as Boolean
- 7 methods
- method clearFoundDevices
- method Constructor
- method Destructor
- method foundDevices as IOBluetoothDeviceMBS()
- method setSearchCriteria(ServiceClassMajor as Integer, MajorDeviceClass as Integer, MinorDeviceClass as Integer)
- method Start
- method Stop
- 2 constants
Search Types
Constant | Value | Description |
---|---|---|
kIOBluetoothDeviceSearchClassic | 1 |
Normal Bluetooth |
kIOBluetoothDeviceSearchLE | 2 |
Bluetooth LE |
This class has no sub classes.
Some examples using this class:
Blog Entries
Release notes
- Version 18.3
- Added Bluetooth classes for Mac: IOBluetoothServiceBrowserControllerMBS, IOBluetoothSDPUUIDMBS, IOBluetoothSDPServiceRecordMBS, IOBluetoothSDPServiceAttributeMBS, IOBluetoothSDPDataElementMBS, IOBluetoothRFCOMMChannelMBS, IOBluetoothHostControllerMBS, IOBluetoothDeviceSelectorControllerMBS, IOBluetoothDeviceMBS and IOBluetoothDeviceInquiryMBS.
The items on this page are in the following plugins: MBS Bluetooth Plugin.
IntegerToVariantOrderedMapMBS - IOBluetoothDeviceMBS