- How to?
- Several groups of functions allow you to communicate by Bluetooth:
- Which keys should be used?
Managing the Bluetooth keys
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.
- 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.
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 get 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:
- if it was installed, uninstall the driver supplied with the key via "Add/Remove programs" found in the Control Panel,
- insert the CD supplied with the key in the drive, DO NOT start its automatic execution,
- connect the key,
- 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.
Training (WINDEV): WD Bluetooth
Cross-platform examples (WINDEV Mobile): WM System
This page is also available for…