Retrieve the list of remote device GATT (Generic Attributes) services.
#include <btapi/btdevice.h>
char** bt_rdev_get_services_gatt(const bt_remote_device_t *remote_device)
BlackBerry 10.0.0
A pointer to a remote device structure.
Retrieves an array of GATT services from either the paired or found devices list. The following example shows how to retrieve a list of remote device services:
char **services_array; if( ( services_array = bt_rdev_get_services_gatt(remote_device)) != NULL) { // work with the services listing bt_rdev_free_services(services_array); }