PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 following functions are used to handle the Bluetooth Low Energy devices (prefixed syntax):
<btleCharacteristic variable>.ChangeOfValueEnables or disables the detection regarding the change of value for a Bluetooth Low Energy characteristic.
<btleCharacteristic variable>.GetADescriptorRetrieves the descriptor of a Bluetooth Low Energy characteristic corresponding to the specified identifier (UUID).
<btleCharacteristic variable>.ReadValueReads the value of a characteristic on a Bluetooth Low Energy device.
<btleDescriptor variable>.ReadValueReads the value of a descriptor on a Bluetooth Low Energy device.
<btleDescriptor variable>.WriteValueWrites the value of a descriptor onto a Bluetooth Low Energy device.
<btleDevice variable>.ConnectUsed to connect to a Bluetooth Low Energy device.
<btleDevice variable>.DisconnectUsed to disconnect from a Bluetooth Low Energy device.
<btleDevice variable>.GetAllServicesRetrieves all the services corresponding to a UUID.
<btleDevice variable>.GetAServiceRetrieves the service of a Bluetooth Low Energy device corresponding to the specified identifier (UUID).
<btleDevice>.ConnectionStatusReturns the current connection status to a Bluetooth Low Energy device or asks to be notified when the connection status changes.
<btleService variable>.GetACharacteristicRetrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID).
<btleService variable>.GetAllCharacteristicsRetrieves all the characteristics with the same identifier associated with a Bluetooth Low Energy service.
BTLECaracteristiqueEcritValeur_objetbtleCaractéristiqueWrites a value into a characteristic on a Bluetooth Low Energy device.
The following types of variables allow you to manage Bluetooth Low Energy devices:
Versions 21 and later
btleCharacteristic
New in version 21
btleCharacteristic
btleCharacteristic
The btleCharacteristic type is used to handle a characteristic of a Bluetooth Low Energy service.
Versions 21 and later
btleDescriptor
New in version 21
btleDescriptor
btleDescriptor
The btleDescriptor type is used to handle the descriptor of a Bluetooth Low Energy characteristic
Versions 21 and later
btleDevice
New in version 21
btleDevice
btleDevice
The btleDevice type allows you to handle a device that is using the Bluetooth Low Energy technology.
Versions 21 and later
btleService
New in version 21
btleService
btleService
The btleService type is used to handle a Bluetooth Low Energy service ("Bluetooth GATT Service").
Caution:
  • Android The WLanguage Bluetooth Low Energy functions are available for the devices running an Android version greater than or equal to version 4.3 (api level 18).
    • A fatal error occurs if the function is used with an earlier system version.
    • To find out the version of Android system on which the application is run, use SysAndroidVersion.
  • iPhone/iPad The WLanguage Bluetooth Low Energy functions are available from iOS 9.
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment