PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of btleDevice variables
  • Functions that use the btleDevice type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The btleDevice type allows you to handle a device that uses the Bluetooth Low Energy technology.
The characteristics of this device can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
myDevice is btleDevice
BTLEConnect(myDevice)
Remarks

Properties specific to the description of btleDevice variables

The following properties can be used to handle a btleDevice variable:
Property nameType usedEffect
IdentifierCharacter stringDevice identifier.
iPhone/iPad This identifier is unique, it is managed by the system. Caution: this identifier may change at each new connection of 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.

Functions that use the btleDevice type

Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment