PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Required versions
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
Reads the value of a descriptor on a Bluetooth Low Energy device.
Versions 27 and later
Windows This function is now available for WINDEV applications in Windows.
New in version 27
Windows This function is now available for WINDEV applications in Windows.
Windows This function is now available for WINDEV applications in Windows.
Example
cMonService is btleService
...
cMaCaractéristique is btleCharacteristic <- cMonService[1]
cMonDesc is btleDescriptor <- cMaCaractéristique.Descriptor[1]
...
Valeur is string
Valeur = BTLEDescriptorReadValue(cMonDesc)
Syntax
<Result> = BTLEDescriptorReadValue(<Descriptor>)
<Result>: Type depending on the descriptor read (string, numeric or buffer)
  • Value of descriptor.
    Windows This value will only be of type Buffer.
  • If an error occurred, the returned buffer is empty and the ErrorOccurred variable is set to True. ErrorInfo returns more information on the error.
<Descriptor>: btleDescriptor variable
Name of btleDescriptor variable representing the descriptor to use.
Remarks

Required versions

  • Android Bluetooth Low Energy WLanguage functions are only available on devices with Android 4.3 or later (api level 18).
    • A fatal error occurs if the function is used with an earlier system version.
    • To determine the version of Android the application is running on, use SysAndroidVersion.
  • iPhone/iPadIOS WidgetMac Catalyst The WLanguage Bluetooth Low Energy functions are available for the devices running iOS 9.
  • Versions 27 and later
    Windows Bluetooth Low Energy WLanguage functions are only available on:
    • PCs that support at least Bluetooth Low Energy 5.
    • PCs using a Blutooth dongle supporting Bluetooth Low Energy version 5 or higher.
    New in version 27
    Windows Bluetooth Low Energy WLanguage functions are only available on:
    • PCs that support at least Bluetooth Low Energy 5.
    • PCs using a Blutooth dongle supporting Bluetooth Low Energy version 5 or higher.
    Windows Bluetooth Low Energy WLanguage functions are only available on:
    • PCs that support at least Bluetooth Low Energy 5.
    • PCs using a Blutooth dongle supporting Bluetooth Low Energy version 5 or higher.
Business / UI classification: Business Logic
Component: wd270com.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment