Bluetooth Framework
CwclBluetoothRadio::EnumRemoteServices Method

Reads the available services from a remote Bluetooth device.

int EnumRemoteServices(__int64 Address, GUID* Uuid, wclBluetoothServices& Services);
__int64 Address 
The remote Bluetooth device's MAC address.  
GUID* Uuid 
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 NULL the information about all available services will be returned.  
wclBluetoothServices& Services 
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-2020. All rights reserved.