45 uint16_t *start_handle, uint16_t *end_handle,
48 uint16_t *start_handle, uint16_t *end_handle,
49 uint16_t *value_handle, uint8_t *properties,
54 uint16_t *handle, uint16_t *start_handle,
55 uint16_t *end_handle, uint8_t uuid[16]);
57 uint16_t *handle, uint16_t *length,
58 const uint8_t **value);
86 uint16_t start, uint16_t end,
92 uint16_t start, uint16_t end,
97 uint16_t start, uint16_t end,
102 uint16_t start, uint16_t end,
107 uint16_t start, uint16_t end,
unsigned int bt_gatt_exchange_mtu(struct bt_att *att, uint16_t client_rx_mtu, bt_gatt_result_callback_t callback, void *user_data, bt_gatt_destroy_func_t destroy)
struct bt_gatt_request * bt_gatt_discover_characteristics(struct bt_att *att, uint16_t start, uint16_t end, bt_gatt_request_callback_t callback, void *user_data, bt_gatt_destroy_func_t destroy)
unsigned int bt_gatt_result_included_count(struct bt_gatt_result *result)
void(* bt_gatt_request_callback_t)(bool success, uint8_t att_ecode, struct bt_gatt_result *result, void *user_data)
void bt_gatt_request_unref(struct bt_gatt_request *req)
struct bt_gatt_request * bt_gatt_discover_all_primary_services(struct bt_att *att, bt_uuid_t *uuid, bt_gatt_request_callback_t callback, void *user_data, bt_gatt_destroy_func_t destroy)
bool bt_gatt_read_by_type(struct bt_att *att, uint16_t start, uint16_t end, const bt_uuid_t *uuid, bt_gatt_request_callback_t callback, void *user_data, bt_gatt_destroy_func_t destroy)
struct bt_gatt_request * bt_gatt_request_ref(struct bt_gatt_request *req)
bool bt_gatt_iter_next_characteristic(struct bt_gatt_iter *iter, uint16_t *start_handle, uint16_t *end_handle, uint16_t *value_handle, uint8_t *properties, uint8_t uuid[16])
bool bt_gatt_iter_init(struct bt_gatt_iter *iter, struct bt_gatt_result *result)
struct bt_gatt_result * result
struct bt_gatt_request * bt_gatt_discover_primary_services(struct bt_att *att, bt_uuid_t *uuid, uint16_t start, uint16_t end, bt_gatt_request_callback_t callback, void *user_data, bt_gatt_destroy_func_t destroy)
bool bt_gatt_iter_next_descriptor(struct bt_gatt_iter *iter, uint16_t *handle, uint8_t uuid[16])
void(* bt_gatt_result_callback_t)(bool success, uint8_t att_ecode, void *user_data)
void(* bt_gatt_destroy_func_t)(void *user_data)
bt_gatt_request_callback_t callback
bool bt_gatt_iter_next_read_by_type(struct bt_gatt_iter *iter, uint16_t *handle, uint16_t *length, const uint8_t **value)
unsigned int bt_gatt_result_characteristic_count(struct bt_gatt_result *result)
struct bt_gatt_request * bt_gatt_discover_secondary_services(struct bt_att *att, bt_uuid_t *uuid, uint16_t start, uint16_t end, bt_gatt_request_callback_t callback, void *user_data, bt_gatt_destroy_func_t destroy)
unsigned int bt_gatt_result_service_count(struct bt_gatt_result *result)
bool bt_gatt_iter_next_included_service(struct bt_gatt_iter *iter, uint16_t *handle, uint16_t *start_handle, uint16_t *end_handle, uint8_t uuid[16])
struct bt_gatt_request * bt_gatt_discover_descriptors(struct bt_att *att, uint16_t start, uint16_t end, bt_gatt_request_callback_t callback, void *user_data, bt_gatt_destroy_func_t destroy)
bool bt_gatt_iter_next_service(struct bt_gatt_iter *iter, uint16_t *start_handle, uint16_t *end_handle, uint8_t uuid[16])
struct bt_gatt_request * bt_gatt_discover_included_services(struct bt_att *att, uint16_t start, uint16_t end, bt_gatt_request_callback_t callback, void *user_data, bt_gatt_destroy_func_t destroy)
void bt_gatt_request_cancel(struct bt_gatt_request *req)
bt_gatt_destroy_func_t destroy
unsigned int bt_gatt_result_descriptor_count(struct bt_gatt_result *result)