WINDEV, WEBDEV AND WINDEV MOBILEONLINE HELP
Finding out the current activation status of Bluetooth on the device Hide the details
Activation status of Bluetooth LE: btEnabledThe Bluetooth is enabled on the device.btActivationInProgressThe Bluetooth is being enabled on the device.btDeactivationInProgressThe Bluetooth is being disabled on the device.btDisabledThe Bluetooth is disabled on the device.btErrorThe activation status of Bluetooth was not retrieved.btNotInitializedThe initialization of Bluetooth Low Energy was not performed.
Enabling the notification whenever Bluetooth activation changes Hide the details
Name of the WLangage procedure ("callback" procedure) that will be called when the activation status of Bluetooth changes on the device. This procedure has the following format :
PROCEDURE <Procedure name> (<New status>, <Former status>)
where: <New Status> is an integer corresponding ot the new activation status of Bluetooth on the device. <Former status> is an integer corresponding to the activation status of Bluetooth on the device before changing status.These integers correspond to the following constants: btEnabledThe Bluetooth is enabled on the device.btActivationInProgressThe Bluetooth is being enabled on the device.btDeactivationInProgressThe Bluetooth is being disabled on the device.btDisabledThe Bluetooth is disabled on the device.The parameters of this procedure are optional. There is no need to pass parameters to this procedure. Indeed, these parameters are automatically filled during each call.If this parameter corresponds to an empty string (""), the notifications will not be sent anymore when the status changes. The function has no effect if no notification request was performed.
Last update: 10/31/2019
Send a report | Local help
J'accepte les termes de la licence
All you have to do is configure your product as follows: