Home | History | Annotate | Download | only in gatt

Lines Matching refs:bda

119             memcpy(req.srv_chg.bda, bd_addr, BD_ADDR_LEN);
683 ** Description This function find the connected bda
688 BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx)
698 memcpy( bda, gatt_cb.tcb[i].peer_bda, BD_ADDR_LEN);
701 GATT_TRACE_DEBUG6("gatt_find_the_connected_bda bda :%02x-%02x-%02x-%02x-%02x-%02x",
702 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]);
755 ** Description This function check the specified bda is in the srv chg clinet list or not
760 tGATTS_SRV_CHG *gatt_is_bda_in_the_srv_chg_clt_list (BD_ADDR bda)
765 bda[0], bda[1], bda[2], bda[3], bda[4], bda[5]);
769 if (!memcmp( bda, p_buf->bda, BD_ADDR_LEN))
771 GATT_TRACE_DEBUG0("bda is in the srv chg clt list");
790 BOOLEAN gatt_is_bda_connected(BD_ADDR bda)
798 !memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN))
816 UINT8 gatt_find_i_tcb_by_addr(BD_ADDR bda)
822 if (!memcmp(gatt_cb.tcb[i].peer_bda, bda, BD_ADDR_LEN))
860 tGATT_TCB * gatt_find_tcb_by_addr(BD_ADDR bda)
865 if ((i = gatt_find_i_tcb_by_addr(bda)) != GATT_INDEX_INVALID)
897 ** Description The function locate or allocate new tcb entry for matching bda.
902 tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda)
908 /* search for existing tcb with matching bda */
909 i = gatt_find_i_tcb_by_addr(bda);
926 memcpy(p_tcb->peer_bda, bda, BD_ADDR_LEN);
1608 UINT8 gatt_num_clcb_by_bd_addr(BD_ADDR bda)
1614 if (gatt_cb.clcb[i].in_use && memcmp(gatt_cb.clcb[i].p_tcb->peer_bda, bda, BD_ADDR_LEN) == 0)
1834 BOOLEAN gatt_cancel_open(tGATT_IF gatt_if, BD_ADDR bda)
1839 p_tcb = gatt_find_tcb_by_addr(bda);
2080 void gatt_cleanup_upon_disc(BD_ADDR bda, UINT16 reason)
2091 if ((p_tcb = gatt_find_tcb_by_addr(bda)) != NULL)
2120 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, FALSE, reason);