PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 (with quotes)
Text to display in the picker window.
Remarks
Only the Microsoft Bluetooth stack is supported by this function. To find out the stack used, call BTStack.
See Which stacks to use? for more details
Component : wd250com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment