The function retrieves the list of connected Generic Attributes (GATT) services.
#include <btapi/btdevice.h>
char** bt_rdev_get_services_gatt_connected(const bt_remote_device_t *remote_device)
BlackBerry 10.2.0
A pointer to a remote device structure.
Retrieves an array of connected GATT services for the specified remote device. The following example demonstrates how to use this function:
char **services_array; if( ( services_array = bt_rdev_get_services_gatt_connected(remote_device)) != NULL) { // work with the services listing bt_rdev_free_services(services_array); }