|
|
|
|
BTSelectDevice (Function) In french: BTSélecteurPériphérique Opens a system window to select a Bluetooth device. MyDevices is string MyDevices = BTSelectDevice(btStatusAll, "Select the device to connect")
Syntax
<Result> = BTSelectDevice([<Filter condition> [, <Picker text>]])
<Result>: Character string - Identifier of the selected Bluetooth devices. If several devices are selected, the identifiers are separated by a tabulation (TAB).
- Empty string ("") in the following cases:
- the picker was canceled.
- no device was selected.
- an error occurred. In this case, the ErrorOccurred variable is set to True and ErrorInfo returns more details about the error.
<Filter condition>: Optional Integer constant (or combination of constants) Status of the devices to select:
| | btStatusAll (Default value) | Proposes all the devices. | btStatusAuthenticated | Proposes the authenticated devices. | btStatusRemembered | Proposes the remembered devices. | btStatusUnknown | Proposes the unknown devices. |
<Picker text>: Optional character string Text to display in the picker window. Remarks Only the Microsoft Bluetooth stack is supported by this function. To know the stack used, call BTStack. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|