Home
last modified time | relevance | path

Searched refs:write_req (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-3.5.0/components/bt/common/btc/profile/esp/blufi/bluedroid_host/
Desp_blufi.c160 if (p_data->req_data.p_data->write_req.is_prep) { in blufi_profile_cb()
171 if (p_data->req_data.p_data->write_req.offset > BLUFI_PREPAIR_BUF_MAX_SIZE) { in blufi_profile_cb()
173 …} else if ((p_data->req_data.p_data->write_req.offset + p_data->req_data.p_data->write_req.len) > … in blufi_profile_cb()
179 rsp.attr_value.handle = p_data->req_data.p_data->write_req.handle; in blufi_profile_cb()
180 rsp.attr_value.len = p_data->req_data.p_data->write_req.len; in blufi_profile_cb()
181 rsp.attr_value.offset = p_data->req_data.p_data->write_req.offset; in blufi_profile_cb()
182 …cpy(rsp.attr_value.value, p_data->req_data.p_data->write_req.value, p_data->req_data.p_data->write… in blufi_profile_cb()
184 …ite, len=%d, offset=%d\n", p_data->req_data.p_data->write_req.len, p_data->req_data.p_data->write_… in blufi_profile_cb()
198 memcpy(blufi_env.prepare_buf + p_data->req_data.p_data->write_req.offset, in blufi_profile_cb()
199 p_data->req_data.p_data->write_req.value, in blufi_profile_cb()
[all …]
/hal_espressif-3.5.0/components/bt/host/bluedroid/btc/profile/esp/ble_button/
Dbutton_pro.c100 for (int i = 0; i < p_data->req_data.p_data->write_req.len; i++) { in button_profile_cb()
101 BTC_TRACE_ERROR("%x", p_data->req_data.p_data->write_req.value[i]); in button_profile_cb()
104 if (p_data->req_data.p_data->write_req.handle == button_cb_env.button_inst.but_wirt_hdl) { in button_profile_cb()
106 p_rec_data = &p_data->req_data.p_data->write_req.value[0]; in button_profile_cb()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c1117 sr_data.write_req.need_rsp = FALSE; in gatts_process_write_req()
1128 sr_data.write_req.handle = handle; in gatts_process_write_req()
1129 sr_data.write_req.len = len; in gatts_process_write_req()
1131 memcpy (sr_data.write_req.value, p, len); in gatts_process_write_req()
1144 sr_data.write_req.offset, in gatts_process_write_req()
1157 sr_data.write_req.need_rsp = TRUE; in gatts_process_write_req()
1172 if ((op_code == GATT_REQ_WRITE) && (sr_data.write_req.need_rsp == FALSE)){ in gatts_process_write_req()
1237 sr_data.write_req.offset, in gatt_attr_process_prepare_write()
1322 sr_data.write_req.is_prep = TRUE; in gatt_attr_process_prepare_write()
1323 sr_data.write_req.handle = handle; in gatt_attr_process_prepare_write()
[all …]
Dgatt_attr.c251 if (!p_data->write_req.need_rsp) { in gatt_request_cback()
254 status = gatt_proc_write_req(type, &p_data->write_req); in gatt_request_cback()
/hal_espressif-3.5.0/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c190 UINT16 handle = p_data->req_data.p_data->write_req.handle; in bas_gatts_callback()
341 UINT8 *p = p_data->write_req.value; in bas_s_write_attr_value()
345 UINT16 handle = p_data->write_req.handle; in bas_s_write_attr_value()
356 cfg.need_rsp = p_data->write_req.need_rsp; in bas_s_write_attr_value()
/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c548 …esh_gatt_attr *attr = bt_mesh_gatts_find_attr_by_handle(p_data->req_data.p_data->write_req.handle); in bt_mesh_bta_gatts_cb()
552 BT_DBG("gatts write, handle %d, len %d, data %s", p_data->req_data.p_data->write_req.handle, in bt_mesh_bta_gatts_cb()
553 p_data->req_data.p_data->write_req.len, in bt_mesh_bta_gatts_cb()
554 … bt_hex(p_data->req_data.p_data->write_req.value, p_data->req_data.p_data->write_req.len)); in bt_mesh_bta_gatts_cb()
558 p_data->req_data.p_data->write_req.value, in bt_mesh_bta_gatts_cb()
559 p_data->req_data.p_data->write_req.len, in bt_mesh_bta_gatts_cb()
560 p_data->req_data.p_data->write_req.offset, 0)) > 0) { in bt_mesh_bta_gatts_cb()
561 if (p_data->req_data.p_data->write_req.need_rsp) { in bt_mesh_bta_gatts_cb()
/hal_espressif-3.5.0/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c790 param.write.handle = p_data->req_data.p_data->write_req.handle; in btc_gatts_cb_handler()
791 param.write.offset = p_data->req_data.p_data->write_req.offset; in btc_gatts_cb_handler()
792 param.write.need_rsp = p_data->req_data.p_data->write_req.need_rsp; in btc_gatts_cb_handler()
793 param.write.is_prep = p_data->req_data.p_data->write_req.is_prep; in btc_gatts_cb_handler()
794 param.write.len = p_data->req_data.p_data->write_req.len; in btc_gatts_cb_handler()
795 param.write.value = p_data->req_data.p_data->write_req.value; in btc_gatts_cb_handler()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c335 if (!p_data->write_req.need_rsp) { in gap_ble_s_attr_request_cback()
339 status = gap_proc_write_req(type, &p_data->write_req); in gap_ble_s_attr_request_cback()
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/include/stack/
Dgatt_api.h387 tGATT_WRITE_REQ write_req; /* write */ member