PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Note: See Declaring a variable for more details.
Example
cMyService is BTLEService
...
cMyCharacteristic is BTLECharacteristic <- cMyService[1]
Remarks

Properties specific to the description of btleCharacteristic variables

The following properties can be used to handle a characteristic:
Property nameType usedEffect
DescriptorArray of btleDescriptorList of descriptors associated with the characteristic.
PermissionIntegerPermissions of characteristic.
This property is available in read-only.
PropertyIntegerProperties of characteristic.
This property is available in read-only.
UUIDCharacter stringCharacteristic identifier.
This property is available in read-only.

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

List of functions that use the btleCharacteristic type

Versions 21 and later
BTLECharacteristicChangeOfValue
BTLECharacteristicChangeOfValue
Enables or disables the detection regarding the change of value for a Bluetooth Low Energy characteristic.
Versions 21 and later
BTLECharacteristicReadValue
BTLECharacteristicReadValue
Reads the value of a characteristic on a Bluetooth Low Energy device.
Versions 21 and later
BTLECharacteristicWriteValue
BTLECharacteristicWriteValue
Writes a value into a characteristic on a Bluetooth Low Energy device.
Versions 21 and later
BTLEGetADescriptor
New in version 21
BTLEGetADescriptor
BTLEGetADescriptor
Retrieves the descriptor of a Bluetooth Low Energy characteristic corresponding to the specified identifier (UUID).
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment