PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Retrieves all the characteristics with the same identifier associated with a Bluetooth Low Energy service.
Example
MyDevice is BTLEDevice
...
arrService is array of BTLECharacteristics
arrService = BTLEGetAllCharacteristics(MyDevice.Service[1], "ACC54-DAD4D5-DADD")
...
Syntax
<Result> = BTLEGetAllCharacteristics(<Service> , <Identifier>)
<Result>: Array of btleCharacteristic variables
Array of btleCharacteristic variables corresponding to the characteristics found for the specified service. If no characteristic corresponds to the specified identifier, the array is empty.
<Service>: btleService variable
Name of btleService variable corresponding to the service used.
<Identifier>: Character string (with quotes)
Identifier (UUID) of characteristics to retrieve for the specified service. All the characteristics with this identifier will be retrieved.
Remarks
  • Several characteristics of the same device can correspond to the same identifier (UUID). To retrieve the first characteristic corresponding to an identifier, use BTLEGetACharacteristic.
  • Android The WLanguage Bluetooth Low Energy functions are available for the devices running an Android version greater than or equal to version 4.3 (api level 18).
    • A fatal error will occur if the function is used with an earlier system version.
    • To find out the version of Android system on which the application is run, use SysAndroidVersion.
  • iPhone/iPad The WLanguage Bluetooth Low Energy functions are available from iOS 9.
Components
Android wd230android.jar
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment