The function retrieves the list of connected Generic Attributes (GATT) services.
char** bt_rdev_get_services_gatt_connected(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 connected GATT services for the specified remote device. The following example demonstrates how to use this function:
- 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