/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/ |
D | esp_gatts_api.h | 134 uint16_t attr_handle; /*!< Included service attribute handle */ member 143 uint16_t attr_handle; /*!< Characteristic attribute handle */ member 153 uint16_t attr_handle; /*!< Descriptor attribute handle */ member 259 uint16_t attr_handle; /*!< The attribute handle */ member 494 …p_err_t esp_ble_gatts_send_indicate(esp_gatt_if_t gatts_if, uint16_t conn_id, uint16_t attr_handle, 531 esp_err_t esp_ble_gatts_set_attr_value(uint16_t attr_handle, uint16_t length, const uint8_t *value); 549 esp_gatt_status_t esp_ble_gatts_get_attr_value(uint16_t attr_handle, uint16_t *length, const uint8_…
|
/hal_espressif-latest/components/bt/host/bluedroid/api/ |
D | esp_gatts_api.c | 260 …p_err_t esp_ble_gatts_send_indicate(esp_gatt_if_t gatts_if, uint16_t conn_id, uint16_t attr_handle, in esp_ble_gatts_send_indicate() argument 283 arg.send_ind.attr_handle = attr_handle; in esp_ble_gatts_send_indicate() 320 esp_err_t esp_ble_gatts_set_attr_value(uint16_t attr_handle, uint16_t length, const uint8_t *value) in esp_ble_gatts_set_attr_value() argument 330 arg.set_attr_val.handle = attr_handle; in esp_ble_gatts_set_attr_value() 338 esp_gatt_status_t esp_ble_gatts_get_attr_value(uint16_t attr_handle, uint16_t *length, const uint8_… in esp_ble_gatts_get_attr_value() argument 342 if (attr_handle == ESP_GATT_ILLEGAL_HANDLE) { in esp_ble_gatts_get_attr_value() 347 return btc_gatts_get_attr_value(attr_handle, length, (uint8_t **)value); in esp_ble_gatts_get_attr_value()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_api.c | 593 tGATT_STATUS GATTS_HandleValueIndication (UINT16 conn_id, UINT16 attr_handle, UINT16 val_len, UINT… in GATTS_HandleValueIndication() argument 616 if (! GATT_HANDLE_IS_VALID (attr_handle)) { in GATTS_HandleValueIndication() 621 indication.handle = attr_handle; in GATTS_HandleValueIndication() 665 tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle, in GATTS_HandleValueNotification() argument 688 if (GATT_HANDLE_IS_VALID (attr_handle)) { in GATTS_HandleValueNotification() 689 notif.handle = attr_handle; in GATTS_HandleValueNotification() 766 tGATT_STATUS GATTS_SetAttributeValue(UINT16 attr_handle, UINT16 length, UINT8 *value) in GATTS_SetAttributeValue() argument 772 attr_handle, length); in GATTS_SetAttributeValue() 776 if ((p_decl = gatt_find_hdl_buffer_by_attr_handle(attr_handle)) == NULL) { in GATTS_SetAttributeValue() 781 status = gatts_set_attribute_value(&p_decl->svc_db, attr_handle, length, value); in GATTS_SetAttributeValue() [all …]
|
D | gatt_db.c | 717 tGATT_STATUS gatts_set_attribute_value(tGATT_SVC_DB *p_db, UINT16 attr_handle, in gatts_set_attribute_value() argument 738 if (p_cur->handle == attr_handle) { in gatts_set_attribute_value() 783 tGATT_STATUS gatts_get_attr_value_internal(UINT16 attr_handle, UINT16 *length, UINT8 **value) in gatts_get_attr_value_internal() argument 804 if (p_rcb->in_use && p_rcb->s_hdl <= attr_handle && p_rcb->e_hdl >= attr_handle) { in gatts_get_attr_value_internal() 819 read_req.handle = attr_handle; in gatts_get_attr_value_internal() 855 tGATT_STATUS gatts_get_attribute_value(tGATT_SVC_DB *p_db, UINT16 attr_handle, in gatts_get_attribute_value() argument 860 GATT_TRACE_DEBUG("attr_handle = %x\n", attr_handle); in gatts_get_attribute_value() 885 if (p_cur->handle == attr_handle) { in gatts_get_attribute_value() 925 BOOLEAN gatts_is_auto_response(UINT16 attr_handle) in gatts_is_auto_response() argument 930 if ((p_decl = gatt_find_hdl_buffer_by_attr_handle(attr_handle)) == NULL) { in gatts_is_auto_response() [all …]
|
D | gatt_utils.c | 383 tGATT_HDL_LIST_ELEM *gatt_find_hdl_buffer_by_attr_handle(UINT16 attr_handle) in gatt_find_hdl_buffer_by_attr_handle() argument 391 if (p_list->in_use && (p_list->asgn_range.s_handle <= attr_handle) in gatt_find_hdl_buffer_by_attr_handle() 392 && (p_list->asgn_range.e_handle >= attr_handle)) { in gatt_find_hdl_buffer_by_attr_handle()
|
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/nimble_host/ |
D | esp_blufi.c | 45 static int gatt_svr_access_cb(uint16_t conn_handle, uint16_t attr_handle, 110 static size_t write_value(uint16_t conn_handle, uint16_t attr_handle, in write_value() argument 163 static size_t read_value(uint16_t conn_handle, uint16_t attr_handle, in read_value() argument 191 static int gatt_svr_access_cb(uint16_t conn_handle, uint16_t attr_handle, in gatt_svr_access_cb() argument 197 return read_value(conn_handle, attr_handle, in gatt_svr_access_cb() 200 return write_value(conn_handle, attr_handle, in gatt_svr_access_cb() 376 event->subscribe.attr_handle, in esp_blufi_gap_event()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/include/ |
D | btc_gatts.h | 106 uint16_t attr_handle; member 167 esp_gatt_status_t btc_gatts_get_attr_value(uint16_t attr_handle, uint16_t *length, uint8_t **value);
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | gatt_api.h | 876 UINT16 attr_handle, 893 extern tGATT_STATUS GATTS_HandleValueNotification (UINT16 conn_id, UINT16 attr_handle, 928 tGATT_STATUS GATTS_SetAttributeValue(UINT16 attr_handle, UINT16 length, UINT8 *value); 944 tGATT_STATUS GATTS_GetAttributeValue(UINT16 attr_handle, UINT16 *length, UINT8 **value); 946 tGATT_STATUS GATTS_GetAttributeValueInternal(UINT16 attr_handle, UINT16 *length, UINT8 **value);
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gatts_api.c | 479 void BTA_SetAttributeValue(UINT16 attr_handle, UINT16 length, UINT8 *value) in BTA_SetAttributeValue() argument 487 p_buf->hdr.layer_specific = attr_handle; in BTA_SetAttributeValue() 500 tBTA_GATT_STATUS BTA_GetAttributeValue(UINT16 attr_handle, UINT16 *length, UINT8 **value) in BTA_GetAttributeValue() argument 502 return bta_gatts_get_attr_value(attr_handle, length, value); in BTA_GetAttributeValue()
|
D | bta_gatts_act.c | 541 tGATT_STATUS bta_gatts_get_attr_value(UINT16 attr_handle, UINT16 *length, UINT8 **value) in bta_gatts_get_attr_value() argument 543 if (GATTS_GetAttributeValueInternal(attr_handle, length, value) == 0) { in bta_gatts_get_attr_value() 547 return GATTS_GetAttributeValue(attr_handle, length, value); in bta_gatts_get_attr_value()
|
D | bta_gattc_cache.c | 304 UINT16 attr_handle, in bta_gattc_add_char_to_cache() argument 315 …BTA_GATTC_SERVICE *service = bta_gattc_find_matching_service(p_srvc_cb->p_srvc_cache, attr_handle); in bta_gattc_add_char_to_cache()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/include/ |
D | gatt_int.h | 658 extern tGATT_HDL_LIST_ELEM *gatt_find_hdl_buffer_by_attr_handle(UINT16 attr_handle); 757 extern tGATT_STATUS gatts_set_attribute_value(tGATT_SVC_DB *p_db, UINT16 attr_handle, 759 extern tGATT_STATUS gatts_get_attr_value_internal(UINT16 attr_handle, UINT16 *length, UINT8 **value… 760 extern tGATT_STATUS gatts_get_attribute_value(tGATT_SVC_DB *p_db, UINT16 attr_handle, 762 extern BOOLEAN gatts_is_auto_response(UINT16 attr_handle);
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gatt/ |
D | btc_gatts.c | 497 esp_gatt_status_t btc_gatts_get_attr_value(uint16_t attr_handle, uint16_t *length, uint8_t **value) in btc_gatts_get_attr_value() argument 500 return BTA_GetAttributeValue(attr_handle, length, value); in btc_gatts_get_attr_value() 678 BTA_GATTS_HandleValueIndication(arg->send_ind.conn_id, arg->send_ind.attr_handle, in btc_gatts_call_handler() 860 param.add_incl_srvc.attr_handle = p_data->add_result.attr_id; in btc_gatts_cb_handler() 868 param.add_char.attr_handle = p_data->add_result.attr_id; in btc_gatts_cb_handler() 877 param.add_char_descr.attr_handle = p_data->add_result.attr_id; in btc_gatts_cb_handler() 972 param.set_attr_val.attr_handle = p_data->attr_val.attr_id; in btc_gatts_cb_handler()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/ |
D | mesh_bearer_adapt.c | 540 if (bt_mesh_gattc_info[i].data_out_handle != event->notify_rx.attr_handle) { in disc_cb() 546 (bt_mesh_gattc_info[i].data_out_handle != event->notify_rx.attr_handle) || in disc_cb() 713 event->subscribe.attr_handle, in gap_event_cb() 719 …ruct bt_mesh_gatt_attr *attr = bt_mesh_gatts_find_attr_by_handle(event->subscribe.attr_handle + 1); in gap_event_cb() 1624 static int proxy_char_access_cb(uint16_t conn_handle, uint16_t attr_handle, in proxy_char_access_cb() argument 1628 struct bt_mesh_gatt_attr *attr = bt_mesh_gatts_find_attr_by_handle(attr_handle); in proxy_char_access_cb() 1632 BT_DBG("write, handle %d, len %d, data %s", attr_handle, in proxy_char_access_cb() 1649 static int dummy_access_cb(uint16_t conn_handle, uint16_t attr_handle, in dummy_access_cb() argument
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/include/ |
D | bta_gatts_int.h | 241 extern tGATT_STATUS bta_gatts_get_attr_value(UINT16 attr_handle, UINT16 *length, UINT8 **value);
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_gatt_api.h | 1484 extern void BTA_SetAttributeValue(UINT16 attr_handle, UINT16 length, UINT8 *value); 1500 extern tBTA_GATT_STATUS BTA_GetAttributeValue(UINT16 attr_handle, UINT16 *length, UINT8 **value);
|