The callback prototype to indicate that bt_rdev_refresh_gatt_services_async has completed.
Synopsis:
#include <btapi/btdevice.h>
typedef void(* bt_rdev_refresh_gatt_services_cb)(void *user_data, uint8_t error);
Arguments:
- user_data
-
The pointer to be returned when the callback is executed.
- error
-
0 is returned upon success,
-1 with the
errno set otherwise. Any
errno value other than the following indicates that a system error has occurred:
- EINVAL: An invalid value was passed in for remote_device.
- ENOMEM: Sufficient memory is not available to perform the request.
Library:
libbtapi (For the qcc command, use the -l btapi option to link against this library)