Lines Matching refs:bda
136 memcpy(req.srv_chg.bda, bd_addr, BD_ADDR_LEN);
700 ** Description This function find the connected bda
705 BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx)
715 memcpy( bda, gatt_cb.tcb[i].peer_bda, BD_ADDR_LEN);
718 GATT_TRACE_DEBUG6("gatt_find_the_connected_bda bda :%02x-%02x-%02x-%02x-%02x-%02x",
719 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]);
772 ** Description This function check the specified bda is in the srv chg clinet list or not
777 tGATTS_SRV_CHG *gatt_is_bda_in_the_srv_chg_clt_list (BD_ADDR bda)
782 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]);
786 if (!memcmp( bda, p_buf->bda, BD_ADDR_LEN))
788 GATT_TRACE_DEBUG0("bda is in the srv chg clt list");
807 BOOLEAN gatt_is_bda_connected(BD_ADDR bda)
815 !memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN))
833 UINT8 gatt_find_i_tcb_by_addr(BD_ADDR bda)
839 if (!memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN))
877 tGATT_TCB * gatt_find_tcb_by_addr(BD_ADDR bda)
882 if ((i = gatt_find_i_tcb_by_addr(bda)) != GATT_INDEX_INVALID)
914 ** Description The function locate or allocate new tcb entry for matching bda.
919 tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda)
925 /* search for existing tcb with matching bda */
926 i = gatt_find_i_tcb_by_addr(bda);
945 memcpy(p_tcb->peer_bda, bda, BD_ADDR_LEN);
1626 UINT8 gatt_num_clcb_by_bd_addr(BD_ADDR bda)
1632 if (gatt_cb.clcb[i].in_use && memcmp(gatt_cb.clcb[i].p_tcb->peer_bda, bda, BD_ADDR_LEN) == 0)
1852 BOOLEAN gatt_cancel_open(tGATT_IF gatt_if, BD_ADDR bda)
1857 p_tcb = gatt_find_tcb_by_addr(bda);
2098 void gatt_cleanup_upon_disc(BD_ADDR bda, UINT16 reason)
2109 if ((p_tcb = gatt_find_tcb_by_addr(bda)) != NULL)
2139 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, FALSE, reason);