Home
last modified time | relevance | path

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

/device/soc/esp/esp32/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 …]
/device/soc/esp/esp32/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()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c1117 sr_data.write_req.need_rsp = 0; 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 = 1; in gatts_process_write_req()
1172 if ((op_code == GATT_REQ_WRITE) && (sr_data.write_req.need_rsp == 0)){ in gatts_process_write_req()
1237 sr_data.write_req.offset, in gatt_attr_process_prepare_write()
1322 sr_data.write_req.is_prep = 1; 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()
/device/soc/esp/esp32/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()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/gatt/
Dbtc_gatts.c798 param.write.handle = p_data->req_data.p_data->write_req.handle; in btc_gatts_cb_handler()
799 param.write.offset = p_data->req_data.p_data->write_req.offset; in btc_gatts_cb_handler()
800 param.write.need_rsp = p_data->req_data.p_data->write_req.need_rsp; in btc_gatts_cb_handler()
801 param.write.is_prep = p_data->req_data.p_data->write_req.is_prep; in btc_gatts_cb_handler()
802 param.write.len = p_data->req_data.p_data->write_req.len; in btc_gatts_cb_handler()
803 param.write.value = p_data->req_data.p_data->write_req.value; in btc_gatts_cb_handler()
/device/soc/esp/esp32/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()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/
Dgatt_api.h387 tGATT_WRITE_REQ write_req; /* write */ member