AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones BTLE
  • Properties specific to btleDevice variables
  • Functions that use the btleDevice type
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The btleDevice type allows you to handle a device that uses the Bluetooth Low Energy technology.
You can define and change the characteristics of this device using different WLanguage properties.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
monPériph is btleDevice
BTLEConnect(monPériph)
Properties

Properties specific to btleDevice variables

The following properties can be used to define the characteristics of btleDevice variables:
Property nameType usedEffect
IdentifierCharacter stringDevice identifier.
iPhone/iPad This identifier is unique, it is managed by the system. Please note: this identifier may change with each new connection to the same device.
This property is read-only.
NameCharacter stringDevice name. This name can correspond to an empty string ("").
This property is read-only.
ServiceArray of btleServiceList of Bluetooth LE services supported by the device. You must be connected to the device (with BTLEConnect) in order to access this property. Otherwise, a fatal error will occur.
Remarks

Functions that use the btleDevice type

Related Examples:
WM Bluetooth 4 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.
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local