Help / WLanguage / WLanguage functions / Communication / Bluetooth
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
The following functions are used to manage Bluetooth devices:
BTAcceptConnectionUsed to find out whether a Bluetooth radio accepts (or not) the requests for connection coming from the devices.
BTActivateEnables or disables the management of Bluetooth on the device.
BTChangeConnectivityUsed to configure a Bluetooth radio to accept (or not) the requests for connection coming from the devices.
BTChangeVisibilityChanges the visibility of a Bluetooth radio.
BTConnectDeviceAllows you to be authenticated toward a Bluetooth device.
BTDisableServiceDisables a service on a Bluetooth device.
BTDisconnectDeviceCancels the authentication beside a Bluetooth device.
BTEnableServiceEnables a service provided by a Bluetooth device.
BTInfoDeviceReturns specific information about a Bluetooth device.
BTInfoRadioReturns specific information about a Bluetooth radio connected to the computer.
BTIsVisibleUsed to find out whether a Bluetooth radio is visible.
BTListDeviceReturns the list of accessible Bluetooth devices.
BTListRadioReturns the list of Bluetooth radios connected to the computer.
BTListServiceReturns the list of services provided by a Bluetooth device.
BTOpenDevicePropertiesOpens the window of properties for a Bluetooth device.
BTSelectDeviceOpens a system window to select a Bluetooth device.
BTStackReturns the Bluetooth stack currently used.
BTStatusReturns the current Bluetooth activation status on the device or asks to be notified when the activation status changes.
  • WINDEVWEBDEV - Server code Only the Microsoft stack and the Bluesoleil stack are supported.
  • There is no need to sign the application to use the Bluetooth functions.
The Bluetooth Sockets can also be managed via the following functions:
SocketConnectBluetoothConnects a client computer to a specific Bluetooth socket.
SocketCreateBluetoothCreates a socket using a Bluetooth device.
Related Examples:
WD Bluetooth Training (WINDEV): WD Bluetooth
[ + ] WINDEV provides you with some Bluetooth management functions.
All types of Bluetooth devices can be managed from your WINDEV applications: cell phones, printers, speakers, and so on.
This example presents the use of these Bluetooth functions:
- to list the accessible Bluetooth devices
- to list the services proposed by a device
- to connect to a Bluetooth device
- to send a file to a device via the "OBEX" functions of WLanguage.
WM System Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
The following system functions are used:
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- Vibration
- Notifications
- Drawing functions
- Internet
Minimum version required
  • Version 11
This page is also available for…
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help