PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Properties specific to the description of btleDescriptor variables
  • Functions that use the btleDescriptor variables
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 btleDescriptor type is used to handle the descriptor of a Bluetooth Low Energy characteristic.
This descriptor describes the data exchanged between two devices compatible with Bluetooth LE: unit of the value, range of values, ... It is identified by a unique character string (UUID).
The characteristics of this descriptor can be defined and modified by several WLanguage properties.
Note: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
cMyService is btleService
...
cMyCharacteristic is btleCharacteristic <- cMyService[1]
cMyDesc is btleDescriptor <- cMyCharacteristic..Descriptor[1]
Remarks

Properties specific to the description of btleDescriptor variables

The following properties can be used to handle a descriptor:
Property nameType usedEffect
PermissionIntegerPermissions associated with the descriptor.
This property is available in read-only.
UUIDCharacter stringDescriptor 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>

Functions that use the btleDescriptor variables

Versions 21 and later
BTLEDescriptorReadValue
New in version 21
BTLEDescriptorReadValue
BTLEDescriptorReadValue
Reads the value of a descriptor on a Bluetooth Low Energy device.
Versions 21 and later
BTLEDescriptorWriteValue
New in version 21
BTLEDescriptorWriteValue
BTLEDescriptorWriteValue
Writes the value of a descriptor onto a Bluetooth Low Energy device.
Versions 21 and later
BTLEGetACharacteristic
New in version 21
BTLEGetACharacteristic
BTLEGetACharacteristic
Retrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID).
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 version required
  • Version 21
Comments
Click [Add] to post a comment