Lines Matching refs:p_bda
3413 UINT8 *p_bda = evt_data.cfm_req.bd_addr;
3417 STREAM_TO_BDADDR (p_bda, p);
3420 (p_bda[0]<<24) + (p_bda[1]<<16) + (p_bda[2]<<8) + p_bda[3], (p_bda[4] << 8) + p_bda[5],
3423 if ( ((p_dev_rec = btm_find_dev (p_bda)) != NULL)
3425 && (memcmp (btm_cb.pairing_bda, p_bda, BD_ADDR_LEN) == 0) )
3499 BTM_ConfirmReqReply (status, p_bda);
3504 BTM_PasskeyReqReply(status, p_bda, 0);
3515 btsnd_hcic_user_conf_reply (p_bda, FALSE);
3525 if (NULL != (p_dev_rec = btm_find_dev (p_bda)) )
3533 btsnd_hcic_user_passkey_neg_reply(p_bda);
3551 UINT8 *p_bda;
3556 p_bda = evt_data.bd_addr;
3558 STREAM_TO_BDADDR (p_bda, p);
3654 UINT8 *p_bda;
3660 p_bda = evt_data.bd_addr;
3662 STREAM_TO_BDADDR (p_bda, p);
3665 p_bda[0], p_bda[1], p_bda[2], p_bda[3], p_bda[4], p_bda[5]);
3667 if ( (NULL != (p_dev_rec = btm_find_dev (p_bda))) &&
3678 BTM_RemoteOobDataReply(TRUE, p_bda, c, r);
3685 btsnd_hcic_rem_oob_neg_reply (p_bda);
4566 void btm_sec_link_key_notification (UINT8 *p_bda, UINT8 *p_link_key, UINT8 key_type)
4568 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev (p_bda);
4572 (p_bda[0]<<8)+p_bda[1], (p_bda[2]<<24)+(p_bda[3]<<16)+(p_bda[4]<<8)+p_bda[5],
4592 && (memcmp (btm_cb.pairing_bda, p_bda, BD_ADDR_LEN) == 0) )
4606 (p_bda[0]<<24) + (p_bda[1]<<16) + (p_bda[2]<<8) + p_bda[3], (p_bda[4] << 8) + p_bda[5], key_type);
4613 if (!(btsnd_hcic_rmt_name_req (p_bda, HCI_PAGE_SCAN_REP_MODE_R1, HCI_MANDATARY_PAGE_SCAN_MODE, 0)))
4638 (*btm_cb.api.p_link_key_callback) (p_bda, p_dev_rec->dev_class, p_dev_rec->sec_bd_name,
4653 void btm_sec_link_key_request (UINT8 *p_bda)
4655 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_or_alloc_dev (p_bda);
4658 p_bda[0], p_bda[1], p_bda[2], p_bda[3], p_bda[4], p_bda[5]);
4662 btsnd_hcic_link_key_req_reply (p_bda, p_dev_rec->link_key);
4667 l2c_pin_code_request (p_bda);
4671 || (memcmp (p_bda, btm_cb.pairing_bda, BD_ADDR_LEN) != 0) )
4675 if ((*btm_cb.api.p_link_key_req_callback)(p_bda, p_dev_rec->link_key) == BTM_SUCCESS)
4677 btsnd_hcic_link_key_req_reply (p_bda, p_dev_rec->link_key);
4684 btsnd_hcic_link_key_neg_reply (p_bda);
4823 void btm_sec_pin_code_request (UINT8 *p_bda)
4830 (p_bda[0]<<8)+p_bda[1], (p_bda[2]<<24)+(p_bda[3]<<16)+(p_bda[4]<<8)+p_bda[5] );
4834 if ( (memcmp (p_bda, btm_cb.pairing_bda, BD_ADDR_LEN) == 0) &&
4841 btsnd_hcic_pin_code_neg_reply (p_bda);
4846 btsnd_hcic_pin_code_req_reply (p_bda, btm_cb.pin_code_len_saved, p_cb->pin_code);
4851 || memcmp (p_bda, btm_cb.pairing_bda, BD_ADDR_LEN) != 0)
4861 btsnd_hcic_pin_code_neg_reply (p_bda);
4866 btsnd_hcic_pin_code_req_reply (p_bda, btm_cb.pin_code_len_saved, p_cb->pin_code);
4869 btsnd_hcic_pin_code_neg_reply (p_bda);
4875 p_dev_rec = btm_find_or_alloc_dev (p_bda);
4881 memcpy (btm_cb.pairing_bda, p_bda, BD_ADDR_LEN);
4892 btsnd_hcic_pin_code_req_reply (p_bda, p_cb->cfg.pin_code_len, p_cb->cfg.pin_code);
4897 if ( (!memcmp (p_bda, p_cb->connecting_bda, BD_ADDR_LEN))
4905 btsnd_hcic_pin_code_req_reply (p_bda, btm_cb.pin_code_len, p_cb->pin_code);
4936 btsnd_hcic_pin_code_neg_reply (p_bda);
4944 memcpy (p_cb->connecting_bda, p_bda, BD_ADDR_LEN);
4958 (*p_cb->api.p_pin_callback) (p_bda, p_dev_rec->dev_class, p_dev_rec->sec_bd_name);
4978 (*p_cb->api.p_pin_callback) (p_bda, p_dev_rec->dev_class, p_dev_rec->sec_bd_name);