ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / BTLE functions
  • Properties specific to btleCharacteristic variables
  • List of functions that use the btleCharacteristic type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The btleCharacteristic type is used to handle a characteristic of a Bluetooth Low Energy service.
A characteristic is used to exchange data between two devices compatible with Bluetooth LE. It is identified by a unique character string (UUID) and it can contain a set of descriptors. A list of existing services and characteristics can be found on https://www.bluetooth.com/specifications/protocol-specifications.
The btleCharacteristic type is used by the btleService variables.
The details of this characteristic can be defined and modified by several WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
cMyService is btleService
...
cMyCharacteristic is btleCharacteristic <- cMyService[1]
Remarks

Properties specific to btleCharacteristic variables

The following properties can be used to handle a characteristic:
Property nameType usedEffect
DescriptorArray of btleDescriptorList of descriptors associated with the characteristic.
PermissionIntegerCharacteristic permissions.
Windows This property has no effect and is always set to 0.
This property is read-only.
PropertyIntegerCharacteristic properties.
This property is read-only.
UUIDCharacter stringCharacteristic identifier.
This property is read-only.

List of functions that use the btleCharacteristic 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: 06/27/2023

Send a report | Local help