/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/bluedroid_host/ |
D | esp_blufi.c | 108 tBTA_GATTS_RSP rsp; in blufi_profile_cb() local 152 memset(&rsp, 0, sizeof(tBTA_GATTS_API_RSP)); in blufi_profile_cb() 153 rsp.attr_value.handle = p_data->req_data.p_data->read_req.handle; in blufi_profile_cb() 154 rsp.attr_value.len = 1; in blufi_profile_cb() 155 rsp.attr_value.value[0] = 0x00; in blufi_profile_cb() 157 p_data->req_data.status, &rsp); in blufi_profile_cb() 189 memset(&rsp, 0, sizeof(tGATTS_RSP)); 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() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/battery/ |
D | battery_prf.c | 510 tGATTS_RSP rsp; in Battery_Rsp() local 525 memset(&rsp, 0, sizeof(tGATTS_RSP)); in Battery_Rsp() 530 rsp.attr_value.handle = p_inst->pending_handle; in Battery_Rsp() 531 rsp.attr_value.len = 2; in Battery_Rsp() 532 pp = rsp.attr_value.value; in Battery_Rsp() 534 esp_ble_gatts_send_rsp(conn_id, trans_id, st, &rsp); in Battery_Rsp() 539 rsp.attr_value.handle = p_inst->pending_handle; in Battery_Rsp() 540 rsp.attr_value.len = 1; in Battery_Rsp() 541 pp = rsp.attr_value.value; in Battery_Rsp() 543 esp_ble_gatts_send_rsp(conn_id, trans_id, st, &rsp); in Battery_Rsp() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/ble_button/ |
D | button_pro.c | 52 esp_gatts_rsp_t rsp; in button_profile_cb() local 82 memset(&rsp, 0, sizeof(tBTA_GATTS_API_RSP)); in button_profile_cb() 83 rsp.attr_value.handle = p_data->req_data.p_data->read_req.handle; in button_profile_cb() 84 rsp.attr_value.len = 2; in button_profile_cb() 86 p_data->req_data.status, &rsp); in button_profile_cb() 324 BOOLEAN rsp = false; in button_msg_notify() local 331 button_msg, rsp); in button_msg_notify()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/avrc/ |
D | avrc_pars_ct.c | 65 p_result->rsp.status = *p; in avrc_pars_vendor_rsp() 66 return p_result->rsp.status; in avrc_pars_vendor_rsp() 156 p_result->rsp.opcode = p_msg->hdr.opcode; in AVRC_ParsResponse() 157 p_result->rsp.status = status; in AVRC_ParsResponse()
|
D | avrc_bld_tg.c | 728 p_rsp->rsp.opcode); in avrc_bld_init_rsp_buffer() 729 if (opcode != p_rsp->rsp.opcode && p_rsp->rsp.status != AVRC_STS_NO_ERROR && in avrc_bld_init_rsp_buffer() 730 avrc_is_valid_opcode(p_rsp->rsp.opcode)) { in avrc_bld_init_rsp_buffer() 731 opcode = p_rsp->rsp.opcode; in avrc_bld_init_rsp_buffer() 773 p_rsp->rsp.opcode = opcode; in avrc_bld_init_rsp_buffer() 811 AVRC_TRACE_API("AVRC_BldResponse: pdu=%x status=%x", p_rsp->rsp.pdu, p_rsp->rsp.status); in AVRC_BldResponse() 812 if (p_rsp->rsp.status != AVRC_STS_NO_ERROR) { in AVRC_BldResponse() 813 return ( avrc_bld_rejected_rsp(&p_rsp->rsp, p_pkt) ); in AVRC_BldResponse()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/esp/wechat_AirSync/ |
D | wx_airsync_prf.c | 47 esp_gatts_rsp_t rsp; in airsync_profile_cb() local 70 memset(&rsp, 0, sizeof(tBTA_GATTS_API_RSP)); in airsync_profile_cb() 71 rsp.attr_value.handle = p_data->req_data.p_data->read_req.handle; in airsync_profile_cb() 72 rsp.attr_value.len = 2; in airsync_profile_cb() 74 p_data->req_data.status, &rsp); in airsync_profile_cb()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/avrc/ |
D | btc_avrc.c | 300 rc_handle, label, code, p_meta_rsp->rsp.pdu); in send_metamsg_rsp() 302 if (p_meta_rsp->rsp.status != AVRC_STS_NO_ERROR) { in send_metamsg_rsp() 319 if ((p_meta_rsp->rsp.pdu == AVRC_PDU_REGISTER_NOTIFICATION) && (code == AVRC_RSP_CHANGED)) { in send_metamsg_rsp() 383 avrc_rsp.rsp.opcode = opcode_from_pdu(pdu); in send_reject_response() 384 avrc_rsp.rsp.pdu = pdu; in send_reject_response() 385 avrc_rsp.rsp.status = status; in send_reject_response() 610 static void handle_rc_get_caps_rsp (tAVRC_GET_CAPS_RSP *rsp) in handle_rc_get_caps_rsp() argument 612 if (rsp->capability_id == AVRC_CAP_EVENTS_SUPPORTED) { in handle_rc_get_caps_rsp() 615 param.get_rn_caps_rsp.cap_count = rsp->count; in handle_rc_get_caps_rsp() 616 for (int i = 0; i < rsp->count; ++i) { in handle_rc_get_caps_rsp() [all …]
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/dis/ |
D | dis_profile.c | 190 tGATTS_RSP rsp; in dis_s_read_attr_value() local 191 rsp.attr_value = *p_value; in dis_s_read_attr_value() 192 esp_ble_gatts_send_rsp(conn_id, trans_id, st, &rsp); in dis_s_read_attr_value()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/gatt/ |
D | btc_gatts.c | 86 if (src->send_rsp.rsp) { in btc_gatts_arg_deep_copy() 87 dst->send_rsp.rsp = (esp_gatt_rsp_t *) osi_malloc(sizeof(esp_gatt_rsp_t)); in btc_gatts_arg_deep_copy() 88 if (dst->send_rsp.rsp) { in btc_gatts_arg_deep_copy() 89 memcpy(dst->send_rsp.rsp, src->send_rsp.rsp, sizeof(esp_gatt_rsp_t)); in btc_gatts_arg_deep_copy() 183 if (arg->send_rsp.rsp) { in btc_gatts_arg_deep_free() 184 osi_free(arg->send_rsp.rsp); in btc_gatts_arg_deep_free() 683 esp_gatt_rsp_t *p_rsp = arg->send_rsp.rsp; in btc_gatts_call_handler() 690 param.rsp.handle = rsp_struct.attr_value.handle; in btc_gatts_call_handler() 696 param.rsp.status = 0; in btc_gatts_call_handler() 697 param.rsp.conn_id = BTC_GATT_GET_CONN_ID(arg->send_rsp.conn_id); in btc_gatts_call_handler()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_db.c | 824 status = gatt_proc_read(0, GATTS_REQ_TYPE_READ, &read_req, &gatt_cb.rsp); in gatts_get_attr_value_internal() 830 status = gap_proc_read(GATTS_REQ_TYPE_READ, &read_req, &gatt_cb.rsp); in gatts_get_attr_value_internal() 834 *length = gatt_cb.rsp.attr_value.len; in gatts_get_attr_value_internal() 835 *value = gatt_cb.rsp.attr_value.value; in gatts_get_attr_value_internal() 928 BOOLEAN rsp = FALSE; in gatts_is_auto_response() local 932 return rsp; in gatts_is_auto_response() 941 return rsp; in gatts_is_auto_response() 945 return rsp; in gatts_is_auto_response() 955 rsp = true; in gatts_is_auto_response() 956 return rsp; in gatts_is_auto_response() [all …]
|
D | gatt_main.c | 1120 tGATTS_SRV_CHG_RSP rsp; in gatt_init_srv_chg() local 1127 … status = (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_READ_NUM_CLENTS, NULL, &rsp); in gatt_init_srv_chg() 1129 if (status && rsp.num_clients) { in gatt_init_srv_chg() 1130 GATT_TRACE_DEBUG("gatt_init_srv_chg num_srv_chg_clt_clients=%d", rsp.num_clients); in gatt_init_srv_chg() 1131 num_clients = rsp.num_clients; in gatt_init_srv_chg() 1135 …tatus = (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_READ_CLENT, &req, &rsp)) == TRUE) { in gatt_init_srv_chg() 1136 memcpy(&srv_chg_clt, &rsp.srv_chg , sizeof(tGATTS_SRV_CHG)); in gatt_init_srv_chg()
|
/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/ |
D | esp_gatts_api.h | 240 …} rsp; /*!< Callback parameter for the event `ESP_GATTS_RESPONSE_EVT`… member 516 esp_gatt_status_t status, esp_gatt_rsp_t *rsp);
|
D | esp_avrc_api.h | 729 esp_err_t esp_avrc_tg_send_rn_rsp(esp_avrc_rn_event_ids_t event_id, esp_avrc_rn_rsp_t rsp,
|
/hal_espressif-latest/components/bt/host/bluedroid/api/ |
D | esp_avrc_api.c | 447 esp_err_t esp_avrc_tg_send_rn_rsp(esp_avrc_rn_event_ids_t event_id, esp_avrc_rn_rsp_t rsp, in esp_avrc_tg_send_rn_rsp() argument 468 arg.rn_rsp.rsp = rsp; in esp_avrc_tg_send_rn_rsp()
|
D | esp_gatts_api.c | 295 esp_gatt_status_t status, esp_gatt_rsp_t *rsp) in esp_ble_gatts_send_response() argument 314 arg.send_rsp.rsp = rsp; in esp_ble_gatts_send_response()
|
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/include/ |
D | btc_avrc.h | 145 esp_avrc_rn_rsp_t rsp; member
|
D | btc_gatts.h | 117 esp_gatt_rsp_t *rsp; member
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/ |
D | bta_av_act.c | 731 p_rc_rsp->rsp.status = AVRC_STS_BAD_CMD; in bta_av_proc_meta_cmd() 768 p_rc_rsp->rsp.status = bta_av_chk_notif_evt_id (p_vendor); in bta_av_proc_meta_cmd() 769 if (p_rc_rsp->rsp.status != BTA_AV_STS_NO_RSP) { in bta_av_proc_meta_cmd() 775 p_rc_rsp->rsp.status = BTA_AV_STS_NO_RSP; in bta_av_proc_meta_cmd() 790 p_rc_rsp->rsp.status = AVRC_STS_BAD_CMD; in bta_av_proc_meta_cmd() 817 rc_rsp.rsp.status = BTA_AV_STS_NO_RSP; in bta_av_rc_msg() 925 if (evt == 0 && rc_rsp.rsp.status != BTA_AV_STS_NO_RSP) { in bta_av_rc_msg() 927 rc_rsp.rsp.opcode = p_data->rc_msg.opcode; in bta_av_rc_msg()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/ |
D | mesh_bearer_adapt.c | 550 tBTA_GATTS_RSP rsp = {0}; in bt_mesh_bta_gatts_cb() local 559 rsp.attr_value.handle = p_data->req_data.p_data->read_req.handle; in bt_mesh_bta_gatts_cb() 560 rsp.attr_value.len = len; in bt_mesh_bta_gatts_cb() 561 memcpy(&rsp.attr_value.value[0], buf, len); in bt_mesh_bta_gatts_cb() 563 p_data->req_data.status, &rsp); in bt_mesh_bta_gatts_cb()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/include/ |
D | gatt_int.h | 560 tGATTS_RSP rsp; /* use to read internal service attribute */ member
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/ |
D | avrc_defs.h | 1332 tAVRC_RSP rsp; member
|