|
|
|
|
The following functions are used to manage Bluetooth devices:
| | BTAcceptConnection | Used to find out whether a Bluetooth radio accepts (or not) the requests for connection coming from the devices. | BTActivate | Enables or disables the management of Bluetooth on the device. | BTChangeConnectivity | Used to configure a Bluetooth radio to accept (or not) the requests for connection coming from the devices. | BTChangeVisibility | Changes the visibility of a Bluetooth radio. | BTConnectDevice | Allows you to be authenticated toward a Bluetooth device. | BTDisableService | Disables a service on a Bluetooth device. | BTDisconnectDevice | Cancels the authentication beside a Bluetooth device. | BTEnableService | Enables a service provided by a Bluetooth device. | BTInfoDevice | Returns specific information about a Bluetooth device. | BTInfoRadio | Returns specific information about a Bluetooth radio connected to the computer. | BTIsVisible | Used to find out whether a Bluetooth radio is visible. | BTListDevice | Returns the list of accessible Bluetooth devices. | BTListRadio | Returns the list of Bluetooth radios connected to the computer. | BTListService | Returns the list of services provided by a Bluetooth device. | BTOpenDeviceProperties | Opens the window of properties for a Bluetooth device. | BTSelectDevice | Opens a system window to select a Bluetooth device. | BTStack | Returns the Bluetooth stack currently used. | BTStatus | Returns the current Bluetooth activation status on the device or asks to be notified when the activation status changes. |
Remarks:  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:
Related Examples:
|
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.
|
|
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: - NFC - Multimedia control - Brightness - Volume - Wi-Fi - Bluetooth - Toast - Compass - Accelerometer - Camera control - LED - Vibration - Notifications - Drawing functions - Internet
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|