Platforms to show: All Mac Windows Linux Cross-Platform

Back to IOBluetoothDeviceInquiryMBS class.

IOBluetoothDeviceInquiryMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The internal object reference.

(Read and Write property)

IOBluetoothDeviceInquiryMBS.inquiryLength as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The length of the inquiry that is performed each time start is used on an inquiry object.

seconds: Number of seconds the inquiry will search for in-range devices before refreshing device names, if specified.

Returns number of seconds the search will be performed.

A default of 10 seconds is used, unless a different value is specified using this method. Note that if you have called -start again too quickly, your inquiry may actually take much longer than what length you specify, as inquiries are throttled in the system. Also note that if you have the inquiry object updating device names for you, the whole inquiry process could be much longer than the specified length, depending on the number of devices found and how responsive to name requests they are. If you -must- have a strict inquiry length, disable name updates. In other words, this "length" only refers to the actual device discovery portion of the whole inquiry process.
(Read and Write property)

IOBluetoothDeviceInquiryMBS.Lasterror as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The last error code.

(Read and Write property)

IOBluetoothDeviceInquiryMBS.searchType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The devices that are found.

searchType: Bluetooth versions the search will discover.

A default of kIOBluetoothDeviceSearchClassic is used, unless a different value is specified using this property.
(Read and Write property)

IOBluetoothDeviceInquiryMBS.updateNewDeviceNames as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Bluetooth MBS Bluetooth Plugin 18.3 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Whether or not the inquiry object will retrieve the names of devices found during the search.

Pass true if names are to be updated, otherwise pass false.
The default value for the inquiry object is true, unless this property is used to change it.
(Read and Write property)

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


The biggest plugin in space...