ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Bluetooth
  • Limitation
  • Required permissions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Note: 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

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

Last update: 03/27/2025

Send a report | Local help