Lines Matching refs:BD_ADDR
696 memcpy(p_mdl->base.peer_bd_addr, p_mcb->bd_addr,sizeof(BD_ADDR) ) &&
720 memcpy(p_mdl1->base.peer_bd_addr, p_mcb->bd_addr,sizeof(BD_ADDR)) &&
763 BOOLEAN btif_hl_dch_open(UINT8 app_id, BD_ADDR bd_addr,
778 bd_addr[0], bd_addr[1],bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]);
782 if (btif_hl_find_mcl_idx(app_idx, bd_addr , &mcl_idx))
796 memcpy(p_pcb->bd_addr, bd_addr, sizeof(BD_ADDR));
826 BTA_HlSdpQuery(app_id,p_acb->app_handle, bd_addr);
840 ** Description copy bt_bdaddr_t to BD_ADDR format
845 void btif_hl_copy_bda(bt_bdaddr_t *bd_addr, BD_ADDR bda){
849 bd_addr->address[i] = bda[i] ;
861 void btif_hl_display_bt_bda(bt_bdaddr_t *bd_addr){
863 bd_addr->address[0], bd_addr->address[1], bd_addr->address[2],
864 bd_addr->address[3], bd_addr->address[4], bd_addr->address[5]);
900 BOOLEAN btif_hl_cch_open(UINT8 app_id, BD_ADDR bd_addr, UINT16 ctrl_psm,
913 bd_addr[0], bd_addr[1],bd_addr[2], bd_addr[3], bd_addr[4], bd_addr[5]);
919 if (!btif_hl_find_mcl_idx(app_idx, bd_addr, &mcl_idx))
926 bdcpy(p_mcb->bd_addr, bd_addr);
941 memcpy(p_pcb->bd_addr, bd_addr, sizeof(BD_ADDR));
958 BTA_HlSdpQuery(app_id,p_acb->app_handle, bd_addr);
1174 static BOOLEAN btif_hl_find_peer_mdep_id(UINT8 app_id, BD_ADDR bd_addr,
1191 bd_addr[0], bd_addr[1],
1192 bd_addr[2], bd_addr[3],
1193 bd_addr[4], bd_addr[5]);
1207 if (btif_hl_find_mcl_idx(app_idx, bd_addr, &mcl_idx))
1284 BOOLEAN btif_hl_find_mcl_idx(UINT8 app_idx, BD_ADDR p_bd_addr, UINT8 *p_mcl_idx){
1295 (!memcmp (p_mcb->bd_addr, p_bd_addr, BD_ADDR_LEN)))
1921 bt_bdaddr_t bd_addr;
1938 bd_addr.address[y] = p_mcb->bd_addr[y];
1941 &bd_addr, p_dcb->local_mdep_cfg_idx,
2207 bt_bdaddr_t bd_addr;
2210 btif_hl_copy_bda(&bd_addr, p_acb->delete_mdl.bd_addr);
2214 btif_hl_display_bt_bda(&bd_addr);
2217 &bd_addr, p_acb->delete_mdl.mdep_cfg_idx,
2232 bt_bdaddr_t bd_addr;
2235 btif_hl_copy_bda(&bd_addr, p_scb->bd_addr);
2240 btif_hl_display_bt_bda(&bd_addr);
2242 &bd_addr, p_scb->mdep_cfg_idx,
2256 bt_bdaddr_t bd_addr;
2259 btif_hl_copy_bda(&bd_addr, p_pcb->bd_addr);
2266 btif_hl_display_bt_bda(&bd_addr);
2269 &bd_addr, p_pcb->mdep_cfg_idx,
2285 bt_bdaddr_t bd_addr;
2288 btif_hl_copy_bda(&bd_addr, p_pcb->bd_addr);
2298 btif_hl_display_bt_bda(&bd_addr);
2300 &bd_addr, p_pcb->mdep_cfg_idx,
2305 btif_hl_display_bt_bda(&bd_addr);
2307 &bd_addr, p_pcb->mdep_cfg_idx,
2314 btif_hl_display_bt_bda(&bd_addr);
2316 &bd_addr, p_pcb->mdep_cfg_idx,
2369 if (btif_hl_find_mcl_idx(app_idx, p_data->sdp_query_cfm.bd_addr, &mcl_idx))
2412 bdcpy(open_param.bd_addr, p_mcb->bd_addr);
2465 if (!btif_hl_find_mcl_idx(i, p_data->cch_open_ind.bd_addr, &mcl_idx))
2474 bdcpy(p_mcb->bd_addr, p_data->cch_open_ind.bd_addr);
2518 if (btif_hl_find_peer_mdep_id(p_acb->app_id, p_mcb->bd_addr,
2588 if (btif_hl_find_mcl_idx(app_idx, p_data->cch_open_cfm.bd_addr, &mcl_idx))
2698 if (btif_hl_find_mcl_idx(orig_app_idx, p_data->dch_create_ind.bd_addr, &mcl_idx))
3289 bt_bdaddr_t bd_addr;
3315 btif_hl_copy_bda(&bd_addr, p_data->chan_cb.bd_addr);
3320 btif_hl_display_bt_bda(&bd_addr);
3322 &bd_addr, p_data->chan_cb.mdep_cfg_index,
3385 BD_ADDR bd_addr;
3428 p_data->sdp_query_cfm.bd_addr[0], p_data->sdp_query_cfm.bd_addr[1],
3429 p_data->sdp_query_cfm.bd_addr[2], p_data->sdp_query_cfm.bd_addr[3],
3430 p_data->sdp_query_cfm.bd_addr[4], p_data->sdp_query_cfm.bd_addr[5]);
3444 if (btif_hl_find_mcl_idx(app_idx, p_data->sdp_query_cfm.bd_addr, &mcl_idx))
3479 p_data->cch_open_cfm.bd_addr[0], p_data->cch_open_cfm.bd_addr[1],
3480 p_data->cch_open_cfm.bd_addr[2], p_data->cch_open_cfm.bd_addr[3],
3481 p_data->cch_open_cfm.bd_addr[4], p_data->cch_open_cfm.bd_addr[5]);
3498 if (btif_hl_find_mcl_idx(app_idx, p_data->cch_open_cfm.bd_addr, &mcl_idx))
3566 p_data->cch_open_ind.bd_addr[0], p_data->cch_open_ind.bd_addr[1],
3567 p_data->cch_open_ind.bd_addr[2], p_data->cch_open_ind.bd_addr[3],
3568 p_data->cch_open_ind.bd_addr[4], p_data->cch_open_ind.bd_addr[5]);
3975 static bt_status_t connect_channel(int app_id, bt_bdaddr_t *bd_addr, int mdep_cfg_index, int *channel_id){
3982 BD_ADDR bda;
3992 bda[i] = (UINT8) bd_addr->address[i];
4006 if (btif_hl_find_peer_mdep_id(p_acb->app_id, p_mcb->bd_addr,
4032 memcpy(p_pcb->bd_addr, bda, sizeof(BD_ADDR));
4107 memcpy(p_acb->delete_mdl.bd_addr, p_mdl->base.peer_bd_addr,sizeof(BD_ADDR));
4132 if (btif_hl_cch_open(p_acb->app_id, p_acb->delete_mdl.bd_addr, 0,
4368 if (!btif_hl_find_peer_mdep_id(p_acb->app_id, p_mcb->bd_addr,
4650 memcpy(p_scb->bd_addr, p_mcb->bd_addr,sizeof(BD_ADDR));
4705 memcpy(evt_param.chan_cb.bd_addr, p_mcb->bd_addr, sizeof(BD_ADDR));
4760 memcpy(evt_param.chan_cb.bd_addr, p_scb->bd_addr, sizeof(BD_ADDR));