PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
BTSelectDevice (Function)
In french: BTSélecteurPériphérique
Opens a system window to select a Bluetooth device.
Example
MyDevices is string
MyDevices = BTSelectDevice(btStatusAll, "Select the device to connect")
Syntax
<Result> = BTSelectDevice([<Filter Condition> [, <Text of Picker>]])
<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:
btStatusAuthenticatedProposes the authenticated devices.
btStatusUnknownProposes the unknown devices.
btStatusRememberedProposes the remembered devices.
btStatusAll
(Default value)
Proposes all the devices.
<Text of Picker>: 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.
For more details, see Which stacks to use?
Business / UI classification: UI Code
Component: wd270com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment