|
|
|
|
BTLEInitialize (Function) In french: BTLEInitialise Initializes Bluetooth Low Energy.
BTLEInitialize(InitBTLE) Â INTERNAL PROCEDURE InitBTLE(nStatus is int) IF nStatus = btEnabled THEN BTLEListDevice(ScanBTLE) END END Syntax
BTLEInitialize(<WLanguage procedure>)
<WLanguage procedure>: Procedure name Name of the WLangage procedure ("callback" procedure) that will be called when Bluetooth Low Energy is initialized on the device. This procedure has the following format:
PROCEDURE <Procedure name> (<Status of Bluetooth Low Energy>) where <Status of Bluetooth Low Energy> corresponds to the activation status of Bluetooth Low Energy on the device. This status can correspond to one of the following constants (integer type):
| | btActivationInProgress | The Bluetooth is being enabled on the device. | btDeactivationInProgress | The Bluetooth is being disabled on the device. | btDisabled | The Bluetooth is disabled on the device. | btEnabled | The Bluetooth is enabled on the device. |
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.
|
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|