ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Finding out the current activation status of Bluetooth on the device Hide the details
Bluetooth LE activation status: 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 Bluetooth activation status could not be 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 Bluetooth activation status changes on the device. This procedure has the following format :
PROCEDURE <Nom de la procédure> (<Nouvel état>, <Ancien état>)
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: 09/21/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: