ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Bluetooth
  • Limitation
  • Required permissions
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
BTAcceptConnection (Function)
In french: BTAccepteConnexion
Used to find out whether a Bluetooth radio accepts (or not) the requests for connection coming from the devices.
Remark: A Bluetooth radio corresponds to a Bluetooth transmitter. This transmitter can correspond to a Bluetooth USB key or it can be an element included in a computer (laptop for example).
Android Caution: Bluetooth functions are not available in the Android emulator.
Syntax
Reports and QueriesWindowsUser code (UMC)

Syntax that can be used in Windows Hide the details

<Result> = BTAcceptConnection(<Radio identifier>)
<Result>: Boolean
  • True if the Bluetooth radio accepts the connection requests,
  • False otherwise.
<Radio identifier>: Integer
Identifier of Bluetooth radio to use. This identifier is returned by BTListRadio.
AndroidAndroid Widget

Syntax that can be used in Android Hide the details

<Result> = BTAcceptConnection()
<Result>: Boolean
  • True if the Bluetooth radio accepts the connection requests,
  • False otherwise.
Remarks
Windows

Limitation

Only the Microsoft Bluetooth stack is supported by this function. To get the stack used, call BTStack.
For more details, see Which stacks to use?
AndroidAndroid Widget

Required permissions

The call to this function modifies the permissions required by the application.
Required permission: BLUETOOTH.
This permission allows the applications to connect to the Bluetooth services.
Component: wd290com.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help