Bluetooth Framework
TwclBluetoothRadio.EnumRemoteServices Method

Reads the available services from a remote Bluetooth device.

function EnumRemoteServices(const Address: Int64; Uuid: PGuid; out Services: TwclBluetoothServices): Integer;
const Address: Int64 
The remote Bluetooth device's MAC address.  
Uuid: PGuid 
The pointer to a service's UUID. If an application need to get information about specific service it set this parameter to a valid pointer to the required service's UUID. If this parameter is nil the information about all available services will be returned.  
out Services: TwclBluetoothServices 
On output the remote Bluetooth device services list. An application is responsible to free a memory allocated for the array.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Copyright (c) 2006-2019. All rights reserved.