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
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
WLanguage procedure called by BTLECharacteristicChangeOfValue
Procedure ("Callback") called by BTLECharacteristicChangeOfValue when a characteristic changes on the device. This procedure can be a local, global or internal procedure.
Example
caractéristique is btleCharacteristic
BTLECharacteristicChangeOfValue(caractéristique, CB_ChangementValeur)
// ===========================
PROCÉDURE CB_ChangementValeur(caractéristique is btleCharacteristic <useful>, bufValeur is Buffer)
// Récupération de la valeur et affichage dans un champ Libellé
sBuf is string ANSI = bufValeur
LIB_ValeurAbonnement = sBuf
Syntax
BTLECharacteristicChangeOfValue_Callback(<Characteristic> , <Value>)
<Characteristic>: btleCharacteristic variable
btleCharacteristic variable that corresponds to the Bluetooth device characteristic whose value has changed.
<Value>: Buffer
New value of the characteristic.
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment

Last update: 07/01/2023

Send a report | Local help