Retrieve the list of remote device GATT (Generic Attributes) services.
char** bt_rdev_get_services_gatt(const bt_remote_device_t *remote_device)
A pointer to a remote device structure.
Library:libbtapi (For the qcc command, use the -l btapi option to link against this library)
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:
- EINVAL: An invalid value was passed in for remote_device.
- ENOMEM: There was insufficient memory to allocate required structures.
- ENOENT: There are no GATT services listed for the remote device.
Last modified: 2014-05-14