ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / BTLE functions
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
Retrieves all the services of a Bluetooth Low Energy device corresponding to an identifier (UUID).
Example
MyDevice is btleDevice
...
arrService is array of btleService
arrService = BTLEGetAllServices(MyDevice, "ACC54-DAD4D5-DADD")
FOR EACH ELEMENT service OF arrService
...
END
Syntax
<Result> = BTLEGetAllServices(<Device> , <Identifier>)
<Result>: Array of btleService variables
Array of btleService variables corresponding to the services found. If no service corresponds to the specified identifier, the array will be empty.
<Device>: btleDevice variable
Name of the btleDevice variable that corresponds to the Bluetooth device used.
<Identifier>: Character string
Identifier (UUID) of services to retrieve.
Remarks
Several services of the same Bluetooth device can correspond to the same identifier (UUID). To retrieve the first service corresponding to an identifier, use BTLEGetAService.
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help