Home
last modified time | relevance | path

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

/hal_espressif-latest/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()
164 if (p_data->req_data.p_data->write_req.offset > BLUFI_PREPARE_BUF_MAX_SIZE) { in blufi_profile_cb()
169 …if ((p_data->req_data.p_data->write_req.offset + p_data->req_data.p_data->write_req.len) > BLUFI_P… in blufi_profile_cb()
175 if (p_data->req_data.p_data->write_req.offset != 0) { in blufi_profile_cb()
190 rsp.attr_value.handle = p_data->req_data.p_data->write_req.handle; in blufi_profile_cb()
191 rsp.attr_value.len = p_data->req_data.p_data->write_req.len; in blufi_profile_cb()
192 rsp.attr_value.offset = p_data->req_data.p_data->write_req.offset; in blufi_profile_cb()
193 …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()
195 …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()
209 memcpy(blufi_env.prepare_buf + p_data->req_data.p_data->write_req.offset, in blufi_profile_cb()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/ble_button/
Dbutton_pro.c92 for (int i = 0; i < p_data->req_data.p_data->write_req.len; i++) { in button_profile_cb()
93 BTC_TRACE_ERROR("%x", p_data->req_data.p_data->write_req.value[i]); in button_profile_cb()
96 if (p_data->req_data.p_data->write_req.handle == button_cb_env.button_inst.but_wirt_hdl) { in button_profile_cb()
98 p_rec_data = &p_data->req_data.p_data->write_req.value[0]; in button_profile_cb()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c1234 sr_data.write_req.need_rsp = FALSE; in gatts_process_write_req()
1245 sr_data.write_req.handle = handle; in gatts_process_write_req()
1246 sr_data.write_req.len = len; in gatts_process_write_req()
1248 memcpy (sr_data.write_req.value, p, len); in gatts_process_write_req()
1261 sr_data.write_req.offset, in gatts_process_write_req()
1274 sr_data.write_req.need_rsp = TRUE; in gatts_process_write_req()
1289 if ((op_code == GATT_REQ_WRITE) && (sr_data.write_req.need_rsp == FALSE)){ in gatts_process_write_req()
1354 sr_data.write_req.offset, in gatt_attr_process_prepare_write()
1439 sr_data.write_req.is_prep = TRUE; in gatt_attr_process_prepare_write()
1440 sr_data.write_req.handle = handle; in gatt_attr_process_prepare_write()
[all …]
Dgatt_attr.c358 if (!p_data->write_req.need_rsp) { in gatt_request_cback()
361 status = gatt_proc_write_req(conn_id, type, &p_data->write_req); in gatt_request_cback()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/battery/
Dbattery_prf.c185 UINT16 handle = p_data->req_data.p_data->write_req.handle; in bas_gatts_callback()
336 UINT8 *p = p_data->write_req.value; in bas_s_write_attr_value()
340 UINT16 handle = p_data->write_req.handle; in bas_s_write_attr_value()
351 cfg.need_rsp = p_data->write_req.need_rsp; in bas_s_write_attr_value()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c572 …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()
576 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()
577 p_data->req_data.p_data->write_req.len, in bt_mesh_bta_gatts_cb()
578 … 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()
582 p_data->req_data.p_data->write_req.value, in bt_mesh_bta_gatts_cb()
583 p_data->req_data.p_data->write_req.len, in bt_mesh_bta_gatts_cb()
584 p_data->req_data.p_data->write_req.offset, 0)) > 0) { in bt_mesh_bta_gatts_cb()
585 if (p_data->req_data.p_data->write_req.need_rsp) { in bt_mesh_bta_gatts_cb()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c802 param.write.handle = p_data->req_data.p_data->write_req.handle; in btc_gatts_cb_handler()
803 param.write.offset = p_data->req_data.p_data->write_req.offset; in btc_gatts_cb_handler()
804 param.write.need_rsp = p_data->req_data.p_data->write_req.need_rsp; in btc_gatts_cb_handler()
805 param.write.is_prep = p_data->req_data.p_data->write_req.is_prep; in btc_gatts_cb_handler()
806 param.write.len = p_data->req_data.p_data->write_req.len; in btc_gatts_cb_handler()
807 param.write.value = p_data->req_data.p_data->write_req.value; in btc_gatts_cb_handler()
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c357 if (!p_data->write_req.need_rsp) { in gap_ble_s_attr_request_cback()
361 status = gap_proc_write_req(type, &p_data->write_req); in gap_ble_s_attr_request_cback()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dgatt_api.h392 tGATT_WRITE_REQ write_req; /* write */ member