Lines Matching refs:bdaddr

43 static int pin_code_neg_reply(const bt_addr_t *bdaddr)  in pin_code_neg_reply()  argument
56 bt_addr_copy(&cp->bdaddr, bdaddr); in pin_code_neg_reply()
75 bt_addr_copy(&cp->bdaddr, &conn->br.dst); in pin_code_reply()
190 bt_addr_copy(&cp->bdaddr, &conn->br.dst); in ssp_confirm_reply()
208 bt_addr_copy(&cp->bdaddr, &conn->br.dst); in ssp_confirm_neg_reply()
307 bt_addr_copy(&cp->bdaddr, &conn->br.dst); in ssp_passkey_reply()
326 bt_addr_copy(&cp->bdaddr, &conn->br.dst); in ssp_passkey_neg_reply()
427 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_pin_code_req()
429 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_pin_code_req()
442 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_link_key_notify()
444 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_link_key_notify()
448 LOG_DBG("%s, link type 0x%02x", bt_addr_str(&evt->bdaddr), evt->key_type); in bt_hci_link_key_notify()
468 conn->br.link_key = bt_keys_get_link_key(&evt->bdaddr); in bt_hci_link_key_notify()
471 LOG_ERR("Can't update keys for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_link_key_notify()
520 void link_key_neg_reply(const bt_addr_t *bdaddr) in link_key_neg_reply() argument
534 bt_addr_copy(&cp->bdaddr, bdaddr); in link_key_neg_reply()
538 void link_key_reply(const bt_addr_t *bdaddr, const uint8_t *lk) in link_key_reply() argument
552 bt_addr_copy(&cp->bdaddr, bdaddr); in link_key_reply()
562 LOG_DBG("%s", bt_addr_str(&evt->bdaddr)); in bt_hci_link_key_req()
564 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_link_key_req()
566 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_link_key_req()
567 link_key_neg_reply(&evt->bdaddr); in bt_hci_link_key_req()
572 conn->br.link_key = bt_keys_find_link_key(&evt->bdaddr); in bt_hci_link_key_req()
576 link_key_neg_reply(&evt->bdaddr); in bt_hci_link_key_req()
587 link_key_neg_reply(&evt->bdaddr); in bt_hci_link_key_req()
592 link_key_reply(&evt->bdaddr, conn->br.link_key->val); in bt_hci_link_key_req()
596 void io_capa_neg_reply(const bt_addr_t *bdaddr, const uint8_t reason) in io_capa_neg_reply() argument
609 bt_addr_copy(&cp->bdaddr, bdaddr); in io_capa_neg_reply()
619 LOG_DBG("remote %s, IOcapa 0x%02x, auth 0x%02x", bt_addr_str(&evt->bdaddr), evt->capability, in bt_hci_io_capa_resp()
624 io_capa_neg_reply(&evt->bdaddr, in bt_hci_io_capa_resp()
631 io_capa_neg_reply(&evt->bdaddr, in bt_hci_io_capa_resp()
636 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_io_capa_resp()
638 LOG_ERR("Unable to find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_io_capa_resp()
664 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_io_capa_req()
666 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_io_capa_req()
676 io_capa_neg_reply(&evt->bdaddr, in bt_hci_io_capa_req()
726 bt_addr_copy(&cp->bdaddr, &evt->bdaddr); in bt_hci_io_capa_req()
741 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_ssp_complete()
743 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_ssp_complete()
765 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_user_confirm_req()
767 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_user_confirm_req()
782 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_user_passkey_notify()
784 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_user_passkey_notify()
797 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_user_passkey_req()
799 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_user_passkey_req()