Home | History | Annotate | Download | only in gatt

Lines Matching refs:peer_bda

286         (BTM_GetHCIConnHandle(p_tcb->peer_bda) != GATT_INVALID_ACL_HANDLE))
292 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT);
301 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_IDLE_TIMEOUT_WHEN_NO_APP);
588 gatt_cleanup_upon_disc(p_tcb->peer_bda, result);
634 if ((p_srv_chg_clt = gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda)) != NULL)
640 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda) &&
641 btm_sec_is_le_capable_dev(p_tcb->peer_bda))
643 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda);
699 if ((p_srv_chg_clt = gatt_is_bda_in_the_srv_chg_clt_list(p_tcb->peer_bda)) != NULL)
705 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda) &&
706 btm_sec_is_le_capable_dev(p_tcb->peer_bda))
708 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda);
743 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda) &&
744 btm_sec_is_le_capable_dev(p_tcb->peer_bda))
746 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda);
750 if ((reason = L2CA_GetDisconnectReason(p_tcb->peer_bda)) == 0)
754 gatt_cleanup_upon_disc(p_tcb->peer_bda, reason);
776 if (btm_sec_is_a_bonded_dev(p_tcb->peer_bda) &&
777 btm_sec_is_le_capable_dev(p_tcb->peer_bda))
779 gatt_add_a_bonded_dev_for_srv_chg(p_tcb->peer_bda);
784 if ((reason = L2CA_GetDisconnectReason(p_tcb->peer_bda)) == 0)
787 gatt_cleanup_upon_disc(p_tcb->peer_bda, reason);
833 p_bg_dev = gatt_find_bg_dev(p_tcb->peer_bda);
846 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, p_tcb->peer_bda, conn_id, TRUE, 0);
855 GATT_SetIdleTimeout(p_tcb->peer_bda, GATT_LINK_NO_IDLE_TIMEOUT);
955 void gatt_send_srv_chg_ind (BD_ADDR peer_bda)
965 if ((conn_id = gatt_profile_find_conn_id_by_bd_addr(peer_bda)) != GATT_INVALID_CONN_ID)
977 (peer_bda[0]<<24)+(peer_bda[1]<<16)+(peer_bda[2]<<8)+peer_bda[3],
978 (peer_bda[4]<<8)+peer_bda[5] );