Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

IOBluetoothDeviceInquiryMBS.Handle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: The internal object reference.
Notes: (Read and Write property)

Feedback, Comments & Corrections

IOBluetoothDeviceInquiryMBS.inquiryLength as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: The length of the inquiry that is performed each time start is used on an inquiry object.
Notes:
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)

Feedback, Comments & Corrections

IOBluetoothDeviceInquiryMBS.Lasterror as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: The last error code.
Notes: (Read and Write property)

Feedback, Comments & Corrections

IOBluetoothDeviceInquiryMBS.searchType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: The devices that are found.
Notes:
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)

Feedback, Comments & Corrections

IOBluetoothDeviceInquiryMBS.updateNewDeviceNames as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Bluetooth MBS Bluetooth Plugin 18.3 Yes No No Yes, macOS only No
Function: Whether or not the inquiry object will retrieve the names of devices found during the search.
Notes:
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)

Feedback, Comments & Corrections

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




Links
MBS Xojo blog