PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • How to proceed?
  • Several groups of functions allow you to communicate by Bluetooth:
  • Which keys should be used?
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
Managing the Bluetooth keys
Overview
Create a new type of application! With no contact between the PC and the mobile device, several processes can be run on the PC by using the data found on the mobile device.
Some examples:
  • An application on PC (or mobile device) can emulate services on a device that supports the bluetooth standard.
  • An application can automatically retrieve photos from a cell phone.
  • An application can read the list of contacts found on a cell phone.
  • A PC can print the data found on a PDA.
How to proceed?

Several groups of functions allow you to communicate by Bluetooth:

  • The Bluetooth functions (BTxxx): These functions allow you to manage the Bluetooth devices. You can for example list the services found on a device, and enable or disable them. You can also authenticate toward a Bluetooth device and get various information about the device.
  • The OBEXxxx functions: These functions allow you to manage the exchanges of files via the OBEX protocol. The OBEX protocol is a protocol for exchanging data via Infrared and Bluetooth.
  • SocketConnectBluetooth and SocketCreateBluetooth that allow you to manage the sockets that use the Bluetooth devices.
Which keys should be used?
The functions allowing you to handle the Bluetooth keys operate with the keys that use a protocol stack issued by Microsoft or Bluesoleil. To find out the stack used, call BTStack.
Some WLanguage functions can only be used with some types of stacks. This information is presented in details in each relevant WLanguage function.

The following keys use a Microsoft stack (without installing to driver supplied with the keys):
  • D-Link DBT-120,
  • Broadcom Bluetooth 2.0 EDR USB,
  • EMTEC Dongle Bluetooth 2.0 EDR - EKCOB110,
  • HAMA Nano Bluetooth Adapter 2.0 EDR - 10m,
  • Conceptronic Dongle Bluetooth 2.0 EDR - CBT200U2A,
  • Kensington Bluetooth USB Micro Adapter (Bluetooth 2.0 - USB 2.0),
  • (*) Belkin Bluetooth 2.0 Adapter - F8T013FR1 - 10-meter range (USB 2.0),
  • (*) Belkin Bluetooth 2.0 Adapter - F8T012FR1 - 100-meter range (USB 2.0),
  • TrendNet TBW-104UB - USB Bluetooth 2.0 Adapter,
  • (*) TrendNet TBW-102UB - Bluetooth Class 2 Adapter (Bluetooth 1.1), ...
This list is not exhaustive and it will be updated on a regular basis.
(*) Some keys do not directly operate in Windows, a driver must be installed via the following operating mode:
  1. if it was installed, uninstall the driver supplied with the key via "Add/Remove programs" found in the Control Panel,
  2. insert the CD supplied with the key in the drive, DO NOT start its automatic execution,
  3. connect the key,
  4. ask Windows to find the driver on the CD.
This method allows you to have a key recognized by Windows and therefore to use a Microsoft stack.
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.
Android System Android (WINDEV Mobile): Android System
[ + ] This application is a tutorial example presenting some of the new features of WINDEV Mobile for Android.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- WIFI
- Bluetooth
- Toast
- Progress Bar control
- 9-image mode
- Compass
- Accelerometer
- Camera control
- LED
- Vibrations
- Notifications
- Drawing functions
- Internet
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment