/hal_espressif-2.7.6/examples/bluetooth/nimble/bleprph/ |
D | README.md | 64 Device Address: xx:xx:xx:xx:xx:xx 66 …xx:xx:xx:xx:xx:xx our_id_addr_type=0 our_id_addr=xx:xx:xx:xx:xx:xx peer_ota_addr_type=1 peer_ota_a… 68 …xx:xx:xx:xx:xx:xx our_id_addr_type=0 our_id_addr=xx:xx:xx:xx:xx:xx peer_ota_addr_type=1 peer_ota_a… 77 …e=0 our_ota_addr=xx:xx:xx:xx:xx:xx our_id_addr_type=0 our_id_addr=xx:xx:xx:xx:xx:xx peer_ota_addr_… 78 peer_id_addr=xx:xx:xx:xx:xx:xx conn_itvl=6 conn_latency=0 supervision_timeout=500 encrypted=1 authe… 80 … handle=0 our_ota_addr_type=0 our_ota_addr=xx:xx:xx:xx:xx:xx our_id_addr_type=0 our_id_addr=xx:xx:… 81 peer_ota_addr_type=1 peer_ota_addr=xx:xx:xx:xx:xx:xx peer_id_addr_type=1 peer_id_addr=xx:xx:xx:xx:x…
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/hh/ |
D | bta_hh_utils.c | 64 UINT8 xx; in bta_hh_find_cb() local 67 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) { in bta_hh_find_cb() 69 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) && in bta_hh_find_cb() 72 APPL_TRACE_DEBUG("found kdev_cb[%d] hid_handle = %d ", xx, in bta_hh_find_cb() 73 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb() 75 return xx; in bta_hh_find_cb() 80 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb() 81 bta_hh_cb.kdev[xx].hid_handle, in bta_hh_find_cb() 82 bta_hh_cb.kdev[xx].state); in bta_hh_find_cb() 88 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) { in bta_hh_find_cb() [all …]
|
D | bta_hh_act.c | 72 UINT8 xx; in bta_hh_api_enable() local 88 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) { in bta_hh_api_enable() 89 bta_hh_cb.kdev[xx].state = BTA_HH_IDLE_ST; in bta_hh_api_enable() 90 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable() 91 bta_hh_cb.kdev[xx].index = xx; in bta_hh_api_enable() 95 for (xx = 0; xx < BTA_HH_MAX_KNOWN; xx ++) { in bta_hh_api_enable() 96 bta_hh_cb.cb_index[xx] = BTA_HH_IDX_INVALID; in bta_hh_api_enable() 122 UINT8 xx; in bta_hh_api_disable() local 135 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) { in bta_hh_api_disable() 137 if ( bta_hh_cb.kdev[xx].state == BTA_HH_CONN_ST ) { in bta_hh_api_disable() [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/avrc/ |
D | avrc_bld_tg.c | 47 UINT8 xx; in avrc_bld_get_capability_rsp() local 78 for (xx = 0; xx < p_rsp->count; xx++) { in avrc_bld_get_capability_rsp() 79 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]); in avrc_bld_get_capability_rsp() 85 for (xx = 0; xx < p_rsp->count; xx++) { in avrc_bld_get_capability_rsp() 86 if (AVRC_IS_VALID_EVENT_ID(p_event_id[xx])) { in avrc_bld_get_capability_rsp() 88 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]); in avrc_bld_get_capability_rsp() 115 UINT8 xx; in avrc_bld_list_app_settings_attr_rsp() local 132 for (xx = 0; xx < p_rsp->num_attr; xx++) { in avrc_bld_list_app_settings_attr_rsp() 133 if (AVRC_IsValidPlayerAttr(p_rsp->attrs[xx])) { in avrc_bld_list_app_settings_attr_rsp() 135 UINT8_TO_BE_STREAM(p_data, p_rsp->attrs[xx]); in avrc_bld_list_app_settings_attr_rsp() [all …]
|
D | avrc_pars_tg.c | 48 UINT8 xx, yy; in avrc_pars_vendor_cmd() local 115 for (xx = 0, yy = 0; xx < p_result->get_cur_app_val.num_attr; xx++) { in avrc_pars_vendor_cmd() 134 for (xx = 0; ((xx < p_result->set_app_val.num_val) && (buf_len > size_needed)); xx++) { in avrc_pars_vendor_cmd() 135 p_app_set[xx].attr_id = *p++; in avrc_pars_vendor_cmd() 136 p_app_set[xx].attr_val = *p++; in avrc_pars_vendor_cmd() 137 … if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, p_app_set[xx].attr_val)) { in avrc_pars_vendor_cmd() 141 if (xx != p_result->set_app_val.num_val) { in avrc_pars_vendor_cmd() 143 xx, p_result->set_app_val.num_val); in avrc_pars_vendor_cmd() 144 p_result->set_app_val.num_val = xx; in avrc_pars_vendor_cmd() 165 for (xx = 0; xx < p_result->get_app_val_txt.num_val; xx++) { in avrc_pars_vendor_cmd() [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/sdp/ |
D | sdp_db.c | 65 UINT16 xx, yy; in sdp_db_service_search() local 88 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) { in sdp_db_service_search() 104 if (xx == p_rec->num_attributes) { in sdp_db_service_search() 203 UINT16 xx; in sdp_db_find_attr_in_rec() local 206 for (xx = 0, p_at = &p_rec->attribute[0]; xx < p_rec->num_attributes; in sdp_db_find_attr_in_rec() 207 xx++, p_at++) { in sdp_db_find_attr_in_rec() 231 UINT16 xx, yy, len; in sdp_compose_proto_list() local 240 for (xx = 0; xx < num_elem; xx++, p_elem_list++) { in sdp_compose_proto_list() 408 UINT16 xx, yy; in SDP_AddAttribute() local 446 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) { in SDP_AddAttribute() [all …]
|
D | sdp_utils.c | 60 UINT16 xx; in sdpu_find_ccb_by_cid() local 64 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_cid() 88 UINT16 xx; in sdpu_find_ccb_by_db() local 93 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_db() 116 UINT16 xx; in sdpu_allocate_ccb() local 120 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_allocate_ccb() 179 UINT16 xx; in sdpu_build_attrib_seq() local 184 xx = 5; in sdpu_build_attrib_seq() 186 xx = num_attrs * 3; in sdpu_build_attrib_seq() 189 if (xx > 255) { in sdpu_build_attrib_seq() [all …]
|
D | sdp_server.c | 177 UINT16 rsp_param_len, num_rsp_handles, xx; in process_service_search() local 271 for (xx = cont_offset; xx < cont_offset + cur_handles; xx++) { in process_service_search() 272 UINT32_TO_BE_STREAM (p_rsp, rsp_handles[xx]); in process_service_search() 314 UINT16 rsp_param_len, xx; in process_service_attr_req() local 407 for (xx = p_ccb->cont_info.next_attr_index; xx < attr_seq.num_attr; xx++) { in process_service_attr_req() 408 …_attr = sdp_db_find_attr_in_rec (p_rec, attr_seq.attr_entry[xx].start, attr_seq.attr_entry[xx].end… in process_service_attr_req() 416 p_ccb->cont_info.next_attr_index = xx; in process_service_attr_req() 444 p_ccb->cont_info.next_attr_index = xx; in process_service_attr_req() 452 if (attr_seq.attr_entry[xx].start != attr_seq.attr_entry[xx].end) { in process_service_attr_req() 454 attr_seq.attr_entry[xx].start = p_attr->id + 1; in process_service_attr_req() [all …]
|
D | sdp_discovery.c | 73 UINT16 xx; in sdpu_build_uuid_seq() local 84 for (xx = 0; xx < num_uuids; xx++, p_uuid_list++) { in sdpu_build_uuid_seq() 98 xx = (UINT16)(p_out - p_len - 1); in sdpu_build_uuid_seq() 99 UINT8_TO_BE_STREAM (p_len, xx); in sdpu_build_uuid_seq() 274 UINT16 xx; in process_service_search_rsp() local 299 for (xx = orig; xx < p_ccb->num_handles; xx++) { in process_service_search_rsp() 300 BE_STREAM_TO_UINT32 (p_ccb->handles[xx], p_reply); in process_service_search_rsp()
|
D | sdp_api.c | 69 UINT16 xx; in SDP_InitDiscoveryDb() local 87 for (xx = 0; xx < num_uuid; xx++) { in SDP_InitDiscoveryDb() 88 p_db->uuid_filters[xx] = *p_uuid_list++; in SDP_InitDiscoveryDb() 93 for (xx = 0; xx < num_attr; xx++) { in SDP_InitDiscoveryDb() 94 p_db->attr_filters[xx] = *p_attr_list++; in SDP_InitDiscoveryDb()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/ |
D | btm_sco.c | 313 UINT8 num_handles, xx; in btm_sco_process_num_completed_pkts() local 320 for (xx = 0; xx < num_handles; xx++) { in btm_sco_process_num_completed_pkts() 652 UINT16 xx; in BTM_CreateSco() local 675 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { in BTM_CreateSco() 684 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { in BTM_CreateSco() 692 for (xx = 0, p = &btm_cb.sco_cb.sco_db[0]; xx < BTM_MAX_SCO_LINKS; xx++, p++) { in BTM_CreateSco() 773 *p_sco_inx = xx; in BTM_CreateSco() 798 UINT16 xx; in btm_sco_chk_pend_unpark() local 802 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { in btm_sco_chk_pend_unpark() 832 UINT16 xx; in btm_sco_chk_pend_rolechange() local [all …]
|
D | btm_pm.c | 132 int xx; in BTM_PmRegister() local 143 for (xx = 0; xx < BTM_MAX_PM_RECORDS; xx++) { in BTM_PmRegister() 145 if (btm_cb.pm_reg_db[xx].mask == BTM_PM_REC_NOT_USED) { in BTM_PmRegister() 151 btm_cb.pm_reg_db[xx].cback = p_cb; in BTM_PmRegister() 153 btm_cb.pm_reg_db[xx].mask = mask; in BTM_PmRegister() 154 *p_pm_id = xx; in BTM_PmRegister() 355 int xx; in btm_pm_reset() local 366 for (xx = 0; xx < BTM_MAX_PM_RECORDS; xx++) { in btm_pm_reset() 367 btm_cb.pm_reg_db[xx].mask = BTM_PM_REC_NOT_USED; in btm_pm_reset() 494 int xx, loop_max; in btm_pm_get_set_mode() local [all …]
|
D | btm_inq.c | 1135 UINT16 xx; in BTM_InqDbFirst() local 1138 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) { in BTM_InqDbFirst() 1415 UINT16 xx; in btm_clr_inq_db() local 1421 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) { in btm_clr_inq_db() 1473 UINT16 xx; in btm_inq_find_bdaddr() local 1480 for (xx = 0; xx < p_inq->num_bd_entries; xx++, p_db++) { in btm_inq_find_bdaddr() 1487 if (xx < p_inq->max_bd_entries) { in btm_inq_find_bdaddr() 1509 UINT16 xx; in btm_inq_db_find() local 1512 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) { in btm_inq_db_find() 1535 UINT16 xx; in btm_inq_db_new() local [all …]
|
D | btm_dev.c | 432 UINT8 xx; in btm_dev_support_switch() local 449 for (xx = 0 ; xx < BD_FEATURES_LEN ; xx++) { in btm_dev_support_switch() 450 if (p_dev_rec->features[HCI_EXT_FEATURES_PAGE_0][xx] != 0x00) { in btm_dev_support_switch()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/l2cap/ |
D | l2c_utils.c | 1253 int xx; in l2cu_send_peer_info_rsp() local 1255 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_send_peer_info_rsp() 1256 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) { in l2cu_send_peer_info_rsp() 1257 … p[(xx + L2CAP_FIRST_FIXED_CHNL) / 8] |= 1 << ((xx + L2CAP_FIRST_FIXED_CHNL) % 8); in l2cu_send_peer_info_rsp() 1788 UINT16 xx; in l2cu_allocate_rcb() local 1790 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_allocate_rcb() 1819 UINT16 xx; in l2cu_allocate_ble_rcb() local 1821 for (xx = 0; xx < BLE_MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2cu_allocate_ble_rcb() 1897 UINT16 xx; in l2cu_find_rcb_by_psm() local 1899 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_find_rcb_by_psm() [all …]
|
D | l2c_ucd.c | 53 UINT16 xx; in l2c_ucd_discover_cback() local 57 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2c_ucd_discover_cback() 119 UINT16 xx; in l2c_ucd_congestion_status_cback() local 123 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2c_ucd_congestion_status_cback() 262 UINT16 xx; in L2CA_UcdDeregister() local 276 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in L2CA_UcdDeregister() 625 UINT16 xx; in l2c_ucd_check_pending_info_req() local 633 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2c_ucd_check_pending_info_req()
|
D | l2c_link.c | 440 int xx; in l2c_link_hci_disc_comp() local 441 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) { in l2c_link_hci_disc_comp() 442 … if (p_lcb->p_fixed_ccbs[xx] && p_lcb->p_fixed_ccbs[xx] != p_lcb->p_pending_ccb) { in l2c_link_hci_disc_comp() 444 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp() 447 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp() 450 l2cu_release_ccb (p_lcb->p_fixed_ccbs[xx]); in l2c_link_hci_disc_comp() 452 p_lcb->p_fixed_ccbs[xx] = NULL; in l2c_link_hci_disc_comp() 1351 UINT8 num_handles, xx; in l2c_link_process_num_completed_pkts() local 1358 for (xx = 0; xx < num_handles; xx++) { in l2c_link_process_num_completed_pkts()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/av/ |
D | bta_av_main.c | 214 int xx; in bta_av_timer_cback() local 218 for (xx = 0; xx < BTA_AV_NUM_STRS; xx++) { in bta_av_timer_cback() 219 if (bta_av_cb.p_scb[xx] && &(bta_av_cb.p_scb[xx]->timer) == p) { in bta_av_timer_cback() 220 p_scb = bta_av_cb.p_scb[xx]; in bta_av_timer_cback() 286 int xx; in bta_av_addr_to_scb() local 288 for (xx = 0; xx < BTA_AV_NUM_STRS; xx++) { in bta_av_addr_to_scb() 289 if (bta_av_cb.p_scb[xx]) { in bta_av_addr_to_scb() 290 if (!bdcmp(bd_addr, bta_av_cb.p_scb[xx]->peer_addr)) { in bta_av_addr_to_scb() 291 p_scb = bta_av_cb.p_scb[xx]; in bta_av_addr_to_scb() 334 int xx; in bta_av_alloc_scb() local [all …]
|
D | bta_av_act.c | 422 int xx; in bta_av_find_lcb() local 426 for (xx = 0; xx < BTA_AV_NUM_LINKS; xx++) { in bta_av_find_lcb() 427 mask = 1 << xx; /* the used mask for this lcb */ in bta_av_find_lcb() 428 if ((mask & p_cb->conn_lcb) && 0 == ( bdcmp(p_cb->lcb[xx].addr, addr))) { in bta_av_find_lcb() 429 p_lcb = &p_cb->lcb[xx]; in bta_av_find_lcb() 1266 UINT16 xx; in bta_av_disable() local 1277 for (xx = 0; xx < BTA_AV_NUM_STRS; xx++) { in bta_av_disable() 1278 hdr.layer_specific = xx + 1; in bta_av_disable() 1316 int xx; in bta_av_sig_chg() local 1325 for (xx = 0; xx < BTA_AV_NUM_LINKS; xx++) { in bta_av_sig_chg() [all …]
|
D | bta_av_aact.c | 229 UINT8 xx = 0; in bta_av_get_scb_handle() local 230 for (xx = 0; xx < BTA_AV_MAX_SEPS; xx++) { in bta_av_get_scb_handle() 231 if ((p_scb->seps[xx].tsep == local_sep) && in bta_av_get_scb_handle() 232 (p_scb->seps[xx].codec_type == p_scb->codec_type)) { in bta_av_get_scb_handle() 233 return (p_scb->seps[xx].av_handle); in bta_av_get_scb_handle() 251 UINT8 xx = 0; in bta_av_get_scb_sep_type() local 252 for (xx = 0; xx < BTA_AV_MAX_SEPS; xx++) { in bta_av_get_scb_sep_type() 253 if (p_scb->seps[xx].av_handle == tavdt_handle) { in bta_av_get_scb_sep_type() 254 return (p_scb->seps[xx].tsep); in bta_av_get_scb_sep_type() 414 int xx; in bta_av_proc_stream_evt() local [all …]
|
D | bta_av_ssm.c | 397 int i, xx; in bta_av_ssm_execute() local 410 for (xx = 0; xx < BTA_AV_NUM_STRS; xx++) { in bta_av_ssm_execute() 411 if (bta_av_cb.p_scb[xx]) { in bta_av_ssm_execute() 412 if (bta_av_cb.p_scb[xx]->state == BTA_AV_INCOMING_SST) { in bta_av_ssm_execute() 413 bta_av_cb.p_scb[xx]->state = BTA_AV_INIT_SST; in bta_av_ssm_execute() 414 bta_av_cb.p_scb[xx]->coll_mask = 0; in bta_av_ssm_execute()
|
/hal_espressif-2.7.6/examples/bluetooth/nimble/blecent/ |
D | README.md | 65 GAP procedure initiated: connect; peer_addr_type=1 peer_addr=xx:xx:xx:xx:xx:xx scan_itvl=16 scan_wi… 91 GAP procedure initiated: connect; peer_addr_type=1 peer_addr=xx:xx:xx:xx:xx:xx scan_itvl=16 scan_wi…
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gap/ |
D | gap_conn.c | 721 UINT16 xx; in gap_connect_ind() local 726 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) { in gap_connect_ind() 735 if (xx == GAP_MAX_CONNECTIONS) { in gap_connect_ind() 1062 UINT16 xx; in gap_find_ccb_by_cid() local 1066 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) { in gap_find_ccb_by_cid() 1116 UINT16 xx; in gap_allocate_ccb() local 1120 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) { in gap_allocate_ccb() 1126 p_ccb->gap_handle = xx; in gap_allocate_ccb() 1149 UINT16 xx; in gap_release_ccb() local 1171 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) { in gap_release_ccb()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/std/hid/ |
D | hidh_conn.c | 90 int xx; in hidh_conn_reg() local 111 for (xx = 0; xx < HID_HOST_MAX_DEVICES; xx++) { in hidh_conn_reg() 112 hh_cb.devices[xx].in_use = FALSE ; in hidh_conn_reg() 113 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg() 996 UINT8 xx; in find_conn_by_cid() local 998 for (xx = 0; xx < HID_HOST_MAX_DEVICES; xx++) { in find_conn_by_cid() 999 … if ((hh_cb.devices[xx].in_use) && (hh_cb.devices[xx].conn.conn_state != HID_CONN_STATE_UNUSED) in find_conn_by_cid() 1000 … && ((hh_cb.devices[xx].conn.ctrl_cid == cid) || (hh_cb.devices[xx].conn.intr_cid == cid))) { in find_conn_by_cid() 1005 return (xx); in find_conn_by_cid()
|
/hal_espressif-2.7.6/examples/bluetooth/nimble/blehr/ |
D | README.md | 54 Device Address: xx:xx:xx:xx:xx:xx
|