Home
last modified time | relevance | path

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

12

/Zephyr-latest/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);
1305 uint8_t *bdaddr) in filter_add() argument
1318 filter_insert(filter, index, addr_type, bdaddr); in filter_add()
1323 uint8_t *bdaddr) in filter_remove() argument
1327 index = filter_find(filter, addr_type, bdaddr); in filter_remove()
1340 uint8_t addr_type, const uint8_t *const bdaddr) in filter_find() argument
1353 !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.c1997 void *bdaddr; in ull_adv_aux_hdr_set_clear() local
2001 bdaddr = sec_dptr_prev; in ull_adv_aux_hdr_set_clear()
2004 bdaddr = pri_dptr_prev; in ull_adv_aux_hdr_set_clear()
2009 (void)memcpy(sec_dptr, bdaddr, BDADDR_SIZE); in ull_adv_aux_hdr_set_clear()
2018 void *bdaddr; in ull_adv_aux_hdr_set_clear() local
2022 bdaddr = sec_dptr_prev; in ull_adv_aux_hdr_set_clear()
2025 bdaddr = pri_dptr_prev; in ull_adv_aux_hdr_set_clear()
2030 (void)memmove(sec_dptr, bdaddr, BDADDR_SIZE); in ull_adv_aux_hdr_set_clear()
/Zephyr-latest/subsys/bluetooth/host/classic/
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()
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()
[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_conn(const bt_addr_t *bdaddr) in accept_conn() argument
65 bt_addr_copy(&cp->bdaddr, bdaddr); in accept_conn()
81 LOG_DBG("conn req from %s, type 0x%02x", bt_addr_str(&evt->bdaddr), evt->link_type); in bt_hci_conn_req()
88 reject_conn(&evt->bdaddr, err); in bt_hci_conn_req()
93 conn = bt_conn_add_br(&evt->bdaddr); in bt_hci_conn_req()
95 reject_conn(&evt->bdaddr, BT_HCI_ERR_INSUFFICIENT_RESOURCES); in bt_hci_conn_req()
99 accept_conn(&evt->bdaddr); in bt_hci_conn_req()
192 sco_conn = bt_conn_lookup_addr_sco(&evt->bdaddr); in bt_hci_synchronous_conn_complete()
[all …]
Dsco.c250 static int accept_sco_conn(const bt_addr_t *bdaddr, struct bt_conn *sco_conn) in accept_sco_conn() argument
267 bt_addr_copy(&cp->bdaddr, bdaddr); in accept_sco_conn()
293 sco_conn = bt_conn_add_sco(&evt->bdaddr, evt->link_type); in bt_esco_conn_req()
308 if (accept_sco_conn(&evt->bdaddr, sco_conn)) { in bt_esco_conn_req()
309 LOG_ERR("Error accepting connection from %s", bt_addr_str(&evt->bdaddr)); in bt_esco_conn_req()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hci/
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-latest/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-latest/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-latest/tests/bluetooth/host/id/bt_id_init/src/
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()
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()
/Zephyr-latest/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-latest/include/zephyr/bluetooth/
Dhci_types.h386 bt_addr_t bdaddr; member
402 bt_addr_t bdaddr; member
406 bt_addr_t bdaddr; member
411 bt_addr_t bdaddr; member
428 bt_addr_t bdaddr; member
439 bt_addr_t bdaddr; member
445 bt_addr_t bdaddr; member
451 bt_addr_t bdaddr; member
456 bt_addr_t bdaddr; member
462 bt_addr_t bdaddr; member
[all …]
Dhci_vs.h94 bt_addr_t bdaddr; member
115 bt_addr_t bdaddr; member
/Zephyr-latest/subsys/bluetooth/host/
Dmonitor.h69 uint8_t bdaddr[6]; member
Did.c198 bt_addr_copy(&cp->bdaddr, addr); in bt_id_set_adv_random_addr()
1548 if (bt_addr_eq(&rp->bdaddr, BT_ADDR_ANY) || in bt_id_read_public_addr()
1549 bt_addr_eq(&rp->bdaddr, BT_ADDR_NONE)) { in bt_id_read_public_addr()
1555 bt_addr_copy(&addr->a, &rp->bdaddr); in bt_id_read_public_addr()
1686 bt_addr_copy(&addr.a, &addrs[i].bdaddr); in bt_setup_random_id_addr()
/Zephyr-latest/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-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/radio/
Dradio.h58 uint8_t *bdaddr);
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio.c1104 uint8_t *bdaddr) in radio_filter_configure() argument
1109 NRF_RADIO->DAB[index] = ((uint32_t)bdaddr[3] << 24) | in radio_filter_configure()
1110 ((uint32_t)bdaddr[2] << 16) | in radio_filter_configure()
1111 ((uint32_t)bdaddr[1] << 8) | in radio_filter_configure()
1112 bdaddr[0]; in radio_filter_configure()
1113 NRF_RADIO->DAP[index] = ((uint32_t)bdaddr[5] << 8) | bdaddr[4]; in radio_filter_configure()
1114 bdaddr += 6; in radio_filter_configure()
Dradio.h123 uint8_t *bdaddr);

12