|
|
|
|
<btleCharacteristic variable>.ChangeOfValue (Function) In french: <Variable btleCaractéristique>.ChangementValeur Enables or disables the detection regarding the change of value for a Bluetooth Low Energy characteristic. caractéristique est une btleCaractéristique caractéristique.ChangementValeur(ProcDétecteChangement) // =========================== PROCEDURE CB_ChangementValeur(caractéristique est une btleCaractéristique <utile>, bufValeur est un Buffer) // Récupération de la valeur et affichage dans un champ Libellé sBuf est une chaîne ANSI = bufValeur LIB_ValeurAbonnement = sBuf crtq est une btleCaractéristique crtq.ChangementValeur() Syntax
Asking to be notified whenever the value of a characteristic changes Hide the details
<Characteristic>.ChangeOfValue([<WLanguage procedure>])
Stopping the detection regarding the change of characteristic value Hide the details
<Characteristic>.ChangeOfValue()
<Characteristic>: btleCharacteristic variable Name of the btleCharacteristic variable corresponding to the characteristic to use.
Related Examples:
|
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.
|
Component: wd290android.aar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|