Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

IOBluetoothDeviceInquiryMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: Object representing a device inquiry that finds Bluetooth devices in-range of the computer, and (optionally) retrieves name information for them.
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.

Feedback, Comments & Corrections

Search Types

Constant Value Description
kIOBluetoothDeviceSearchClassic 1 Normal Bluetooth
kIOBluetoothDeviceSearchLE 2 Bluetooth LE

This class has no sub classes.

Some examples which use this class:

The items on this page are in the following plugins: MBS Bluetooth Plugin.

IntegerToVariantOrderedMapMBS   -   IOBluetoothDeviceMBS

MBS Xojo Plugins