Home
last modified time | relevance | path

Searched refs:attr_handle (Results 1 – 16 of 16) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/
Desp_gatts_api.h134 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/
Desp_gatts_api.c260 …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/
Dgatt_api.c593 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 …]
Dgatt_db.c717 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 …]
Dgatt_utils.c383 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/
Desp_blufi.c45 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/
Dbtc_gatts.h106 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/
Dgatt_api.h876 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/
Dbta_gatts_api.c479 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()
Dbta_gatts_act.c541 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()
Dbta_gattc_cache.c304 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/
Dgatt_int.h658 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/
Dbtc_gatts.c497 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/
Dmesh_bearer_adapt.c540 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/
Dbta_gatts_int.h241 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/
Dbta_gatt_api.h1484 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);