Home
last modified time | relevance | path

Searched refs:bdaddr (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-Core-3.6.0/subsys/bluetooth/host/
Dssp.c43 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()
299 bt_addr_copy(&cp->bdaddr, &conn->br.dst); in ssp_passkey_reply()
318 bt_addr_copy(&cp->bdaddr, &conn->br.dst); in ssp_passkey_neg_reply()
423 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_pin_code_req()
425 LOG_ERR("Can't find conn for %s", bt_addr_str(&evt->bdaddr)); in bt_hci_pin_code_req()
438 conn = bt_conn_lookup_addr_br(&evt->bdaddr); in bt_hci_link_key_notify()
[all …]
Dbr.c30 static int reject_conn(const bt_addr_t *bdaddr, uint8_t reason) in reject_conn() argument
42 bt_addr_copy(&cp->bdaddr, bdaddr); in reject_conn()
53 static int accept_sco_conn(const bt_addr_t *bdaddr, struct bt_conn *sco_conn) in accept_sco_conn() argument
65 bt_addr_copy(&cp->bdaddr, bdaddr); in accept_sco_conn()
81 static int accept_conn(const bt_addr_t *bdaddr) in accept_conn() argument
93 bt_addr_copy(&cp->bdaddr, bdaddr); in accept_conn()
108 sco_conn = bt_conn_add_sco(&evt->bdaddr, evt->link_type); in bt_esco_conn_req()
110 reject_conn(&evt->bdaddr, BT_HCI_ERR_INSUFFICIENT_RESOURCES); in bt_esco_conn_req()
114 if (accept_sco_conn(&evt->bdaddr, sco_conn)) { in bt_esco_conn_req()
115 LOG_ERR("Error accepting connection from %s", bt_addr_str(&evt->bdaddr)); in bt_esco_conn_req()
[all …]
Dmonitor.h69 uint8_t bdaddr[6]; member
Did.c186 bt_addr_copy(&cp->bdaddr, addr); in bt_id_set_adv_random_addr()
1493 if (bt_addr_eq(&rp->bdaddr, BT_ADDR_ANY) || in bt_id_read_public_addr()
1494 bt_addr_eq(&rp->bdaddr, BT_ADDR_NONE)) { in bt_id_read_public_addr()
1500 bt_addr_copy(&addr->a, &rp->bdaddr); in bt_id_read_public_addr()
1632 bt_addr_copy(&addr.a, &addrs[i].bdaddr); in bt_setup_random_id_addr()
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ll_sw/
Dll_addr.c41 uint8_t ll_addr_set(uint8_t addr_type, uint8_t const *const bdaddr) argument
59 if (bdaddr) {
60 (void)memcpy(rnd_addr, bdaddr, BDADDR_SIZE);
65 if (bdaddr) {
66 (void)memcpy(pub_addr, bdaddr, BDADDR_SIZE);
88 uint8_t *ll_addr_read(uint8_t addr_type, uint8_t *const bdaddr) argument
94 memcpy(bdaddr, addr, BDADDR_SIZE);
Dull_filter.c143 uint8_t *bdaddr);
145 uint8_t *bdaddr);
149 uint8_t addr_type, const uint8_t *const bdaddr);
151 uint8_t addr_type, const uint8_t *const bdaddr);
1291 uint8_t *bdaddr) in filter_add() argument
1304 filter_insert(filter, index, addr_type, bdaddr); in filter_add()
1309 uint8_t *bdaddr) in filter_remove() argument
1313 index = filter_find(filter, addr_type, bdaddr); in filter_remove()
1326 uint8_t addr_type, const uint8_t *const bdaddr) in filter_find() argument
1339 !memcmp(filter->bdaddr[index], bdaddr, BDADDR_SIZE)) { in filter_find()
[all …]
Dlll_filter.h34 uint8_t bdaddr[LLL_FILTER_SIZE][BDADDR_SIZE]; member
Dull_adv_aux.c1983 void *bdaddr; in ull_adv_aux_hdr_set_clear() local
1987 bdaddr = sec_dptr_prev; in ull_adv_aux_hdr_set_clear()
1990 bdaddr = pri_dptr_prev; in ull_adv_aux_hdr_set_clear()
1995 (void)memcpy(sec_dptr, bdaddr, BDADDR_SIZE); in ull_adv_aux_hdr_set_clear()
2004 void *bdaddr; in ull_adv_aux_hdr_set_clear() local
2008 bdaddr = sec_dptr_prev; in ull_adv_aux_hdr_set_clear()
2011 bdaddr = pri_dptr_prev; in ull_adv_aux_hdr_set_clear()
2016 (void)memcpy(sec_dptr, bdaddr, BDADDR_SIZE); in ull_adv_aux_hdr_set_clear()
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/hci/nordic/
Dhci_vendor.c22 sys_put_le32(NRF_FICR->DEVICEADDR[0], &addrs[0].bdaddr.val[0]); in hci_vendor_read_static_addr()
23 sys_put_le16(NRF_FICR->DEVICEADDR[1], &addrs[0].bdaddr.val[4]); in hci_vendor_read_static_addr()
29 BT_ADDR_SET_STATIC(&addrs[0].bdaddr); in hci_vendor_read_static_addr()
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_setup_random_id_addr/src/
Dmain.c100 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
154 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
155 bt_addr_copy(&static_addr[1].bdaddr, BT_ADDR); in ZTEST()
208 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
209 bt_addr_copy(&static_addr[1].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_2->a); in ZTEST()
Dtest_suite_bt_privacy_enabled.c91 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
133 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
185 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
237 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
Dtest_suite_bt_settings_enabled.c118 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
166 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
213 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_setup_public_id_addr/src/
Dtest_suite_bt_privacy_enabled.c81 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
113 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
155 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
197 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
Dtest_suite_bt_settings_enabled.c108 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
145 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
181 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
Dmain.c94 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_id_init/src/
Dtest_suite_setup_static_random_identity.c97 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
153 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
199 bt_addr_copy(&static_addr[0].bdaddr, &BT_STATIC_RANDOM_LE_ADDR_1->a); in ZTEST()
Dtest_suite_setup_public_identity.c70 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
107 bt_addr_copy(&rp->bdaddr, BT_ADDR); in ZTEST()
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/
Dhci_types.h358 bt_addr_t bdaddr; member
374 bt_addr_t bdaddr; member
378 bt_addr_t bdaddr; member
383 bt_addr_t bdaddr; member
400 bt_addr_t bdaddr; member
411 bt_addr_t bdaddr; member
417 bt_addr_t bdaddr; member
423 bt_addr_t bdaddr; member
428 bt_addr_t bdaddr; member
434 bt_addr_t bdaddr; member
[all …]
Dhci_vs.h92 bt_addr_t bdaddr; member
113 bt_addr_t bdaddr; member
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_id_read_public_addr/src/
Dmain.c109 bt_addr_copy(&rp->bdaddr, invalid_bt_address[i]); in ZTEST()
139 bt_addr_copy(&rp->bdaddr, &BT_LE_ADDR->a); in ZTEST()
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/bt_id_set_adv_random_addr/src/
Dmain.c134 zassert_mem_equal(&cp.bdaddr, &BT_RPA_LE_ADDR->a, sizeof(bt_addr_t), in ZTEST()
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.c1051 uint8_t *bdaddr) in radio_filter_configure() argument
1056 NRF_RADIO->DAB[index] = ((uint32_t)bdaddr[3] << 24) | in radio_filter_configure()
1057 ((uint32_t)bdaddr[2] << 16) | in radio_filter_configure()
1058 ((uint32_t)bdaddr[1] << 8) | in radio_filter_configure()
1059 bdaddr[0]; in radio_filter_configure()
1060 NRF_RADIO->DAP[index] = ((uint32_t)bdaddr[5] << 8) | bdaddr[4]; in radio_filter_configure()
1061 bdaddr += 6; in radio_filter_configure()
Dradio.h121 uint8_t *bdaddr);
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.h58 uint8_t *bdaddr);
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan_aux.c319 (uint8_t *)fal->bdaddr); in lll_scan_aux_isr_aux_setup()
329 (uint8_t *)fal->bdaddr); in lll_scan_aux_isr_aux_setup()
512 (uint8_t *) filter->bdaddr); in prepare_cb()
523 (uint8_t *)fal->bdaddr); in prepare_cb()

12