ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / BTLE functions
  • Properties specific to btleDevice variables
  • Functions that use the btleDevice type
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The btleDevice type allows you to handle a device that uses the Bluetooth Low Energy technology.
You can define and change the characteristics of this device using different WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
monPériph is btleDevice
BTLEConnect(monPériph)
Properties

Properties specific to btleDevice variables

The following properties can be used to define the characteristics of btleDevice variables:
Property nameType usedEffect
IdentifierCharacter stringDevice identifier.
This property is read-only.
NameCharacter stringDevice name. This name can correspond to an empty string ("").
This property is read-only.
ServiceArray of btleServiceList of Bluetooth LE services supported by the device. You must be connected to the device (with BTLEConnect) in order to access this property. Otherwise, a fatal error will occur.
Remarks

Functions that use the btleDevice type

Related Examples:
WM Bluetooth 4 Cross-platform examples (WINDEV Mobile): WM Bluetooth 4
[ + ] This example explains how to use the Bluetooth Low Energy functions (Bluetooth LE): BTLExxx.

It is an application allowing you to find the nearby BTLE devices, to connect to them and to interact with the proposed services.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help