Home
last modified time | relevance | path

Searched refs:adv_addr (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-latest/tests/bsim/bluetooth/host/scan/start_stop/src/
Dmain.c26 static bt_addr_le_t adv_addr; variable
56 memcpy(&adv_addr, addr, sizeof(adv_addr)); in device_found()
58 bt_addr_le_to_str(&adv_addr, addr_str, sizeof(addr_str)); in device_found()
108 memset(&adv_addr, 0x00, sizeof(adv_addr)); in run_dut()
110 .addr = adv_addr, in run_dut()
157 .addr = adv_addr, in run_dut()
/Zephyr-latest/tests/bluetooth/controller/ctrl_periodic_sync/src/
Dmain.c116 uint8_t *adv_addr, uint16_t sync_conn_event_count, in ull_sync_transfer_received_custom_fake() argument
156 .adv_addr = { 0, 0, 0, 0, 0, 0}, in ZTEST()
258 .adv_addr = { 0, 0, 0, 0, 0, 0}, in ZTEST()
355 .adv_addr = { 0, 0, 0, 0, 0, 0}, in ZTEST()
367 .adv_addr = { 0, 0, 0, 0, 0, 0}, in ZTEST()
490 .adv_addr = { 0, 0, 0, 0, 0, 0}, in ZTEST()
602 .adv_addr = { 0, 0, 0, 0, 0, 0}, in ZTEST()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_past.c152 memcpy(&ctx->data.periodic_sync.adv_addr, &id_addr->val, sizeof(bt_addr_t)); in rp_past_resolve_cb()
165 bt_addr_t adv_addr; in rp_past_addr_resolve() local
172 (void)memcpy(&adv_addr.val, ctx->data.periodic_sync.adv_addr, sizeof(bt_addr_t)); in rp_past_addr_resolve()
175 if (ull_filter_deferred_resolve(&adv_addr, rp_past_resolve_cb)) { in rp_past_addr_resolve()
258 ctx->data.periodic_sync.adv_addr, in rp_past_st_wait_rx()
295 ctx->data.periodic_sync.adv_addr, in rp_past_st_wait_next_evt()
Dlll_scan.h17 uint8_t adv_addr[BDADDR_SIZE]; member
Dull_sync_internal.h32 uint8_t *adv_addr, uint16_t sync_conn_event_count,
Dull_adv_aux.c529 if (hdr.adv_addr) {
1174 if (hdr.adv_addr) { in ll_adv_aux_sr_data_set()
1639 sec_hdr.adv_addr = 1; in ull_adv_aux_hdr_set_clear()
1647 } else if (pri_hdr_prev.adv_addr) { in ull_adv_aux_hdr_set_clear()
1649 } else if (sec_hdr_prev.adv_addr) { in ull_adv_aux_hdr_set_clear()
1657 if (pri_hdr_prev.adv_addr) { in ull_adv_aux_hdr_set_clear()
1660 if (sec_hdr_prev.adv_addr) { in ull_adv_aux_hdr_set_clear()
2017 if (sec_hdr.adv_addr) { in ull_adv_aux_hdr_set_clear()
2020 if (sec_hdr_prev.adv_addr) { in ull_adv_aux_hdr_set_clear()
2121 hdr.adv_addr = 1U; in ull_adv_aux_pdu_set_clear()
[all …]
Dpdu.h382 uint8_t adv_addr[BDADDR_SIZE]; member
393 uint8_t adv_addr[BDADDR_SIZE]; member
398 uint8_t adv_addr[BDADDR_SIZE]; member
421 uint8_t adv_addr:1; member
437 uint8_t adv_addr:1;
909 uint8_t adv_addr[6]; member
Dull_adv.c495 if (pri_hdr_prev.adv_addr) {
502 pri_hdr->adv_addr = 1;
2133 const uint8_t *adv_addr; local
2147 adv_addr = adva_update(adv, pdu);
2161 return adv_addr;
2975 if (pri_hdr_flags.adv_addr) {
2994 if (sec_hdr_flags.adv_addr) {
3005 const uint8_t *adv_addr; local
3007 adv_addr = ull_adv_pdu_update_addrs(adv, pdu_adv_to_update);
3014 !mem_nz((void *)adv_addr, BDADDR_SIZE)) {
[all …]
Dull_sync.c116 uint8_t *adv_addr, uint16_t skip, in ll_sync_create() argument
140 peer_sid_sync_exists(adv_addr_type, adv_addr, sid)) { in ll_sync_create()
166 (void)memcpy(sync->peer_id_addr, adv_addr, BDADDR_SIZE); in ll_sync_create()
176 (void)memcpy(sync->peer_id_addr, adv_addr, in ll_sync_create()
1910 LL_ASSERT(!hdr->adv_addr);
1922 uint8_t *adv_addr, uint16_t sync_conn_event_count, argument
1939 if (peer_sid_sync_exists(addr_type, adv_addr, sid)) {
1960 memcpy(sync->peer_id_addr, adv_addr, BDADDR_SIZE);
Dull_llcp_pdu.c1041 memcpy(&p->adv_addr, &ctx->data.periodic_sync.adv_addr, sizeof(bt_addr_t)); in llcp_pdu_encode_periodic_sync_ind()
1063 memcpy(&ctx->data.periodic_sync.adv_addr, &p->adv_addr, sizeof(bt_addr_t)); in llcp_pdu_decode_periodic_sync_ind()
Dull_central.c400 memcpy(lll->adv_addr, peer_addr, BDADDR_SIZE); in ll_create_connection()
699 memcpy(peer_addr, &pdu_tx->connect_ind.adv_addr[0], BDADDR_SIZE);
Dull_adv_sync.c2439 if (!pri_hdr->adv_addr && !sec_hdr->adv_addr) {
2442 } else if (!pri_hdr->adv_addr) {
2823 if (h->adv_addr) {
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan_internal.h17 uint8_t adv_tx_addr, uint8_t *adv_addr,
Dlll_scan.c181 !memcmp(lll->adv_addr, addr, BDADDR_SIZE)); in lll_scan_adva_check()
199 if (pri && !pdu->adv_ext_ind.ext_hdr.adv_addr) { in lll_scan_ext_tgta_check()
233 uint8_t adv_tx_addr, uint8_t *adv_addr, in lll_scan_prepare_connect_req() argument
256 memcpy(&pdu_tx->connect_ind.adv_addr[0], adv_addr, BDADDR_SIZE); in lll_scan_prepare_connect_req()
1321 memcpy(&pdu_tx->scan_req.adv_addr[0],
1493 (memcmp(&sreq->scan_req.adv_addr[0],
Dlll_adv_aux.c371 if (hdr->adv_addr) { in aux_ptr_get()
960 cr_hdr->adv_addr = 1; in init_connect_rsp_pdu()
961 memcpy(cr_dptr, &pdu_ci->connect_ind.adv_addr, BDADDR_SIZE); in init_connect_rsp_pdu()
Dlll_scan_aux.c148 if (pri_hdr->adv_addr) { in lll_scan_aux_setup()
398 if (unlikely(!ext_hdr->adv_addr)) { in lll_scan_aux_addr_match_get()
1173 (void)memcpy(pdu_tx->scan_req.adv_addr,
1599 (void)memcpy(pdu->connect_ind.adv_addr,
1653 if (unlikely(pdu_rx->adv_ext_ind.adv_mode || !pdu_rx->adv_ext_ind.ext_hdr.adv_addr ||
Dlll_adv.c1673 !memcmp(addr, sr->scan_req.adv_addr, BDADDR_SIZE); in isr_rx_sr_adva_check()
1693 !memcmp(addr, ci->connect_ind.adv_addr, BDADDR_SIZE); in isr_rx_ci_adva_check()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/
Dlll_adv.c976 !memcmp(adv->adv_ind.addr, sr->scan_req.adv_addr, BDADDR_SIZE); in isr_rx_sr_adva_check()
1064 !memcmp(adv->direct_ind.adv_addr, ci->connect_ind.adv_addr, in isr_rx_ci_adva_check()
1066 (!memcmp(adv->adv_ind.addr, ci->connect_ind.adv_addr, in isr_rx_ci_adva_check()
Dlll_scan.c745 memcpy(&pdu_tx->connect_ind.adv_addr[0],
913 memcpy(&pdu_tx->scan_req.adv_addr[0],
1023 !memcmp(lll->adv_addr, &pdu->adv_ind.addr[0], BDADDR_SIZE));
1076 (memcmp(&sreq->scan_req.adv_addr[0],
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_beacon.c333 bt_addr_le_t adv_addr; member
366 bt_addr_le_copy(&beacon.adv_addr, addr); in beacon_scan_cb()
1079 if (memcmp(beacon.adv_addr.a.val, last_beacon_adv_addr.a.val, BT_ADDR_SIZE) == 0) { in private_beacon_check()
1083 memcpy(&last_beacon_adv_addr.a.val, beacon.adv_addr.a.val, BT_ADDR_SIZE); in private_beacon_check()
1627 if (memcmp(beacon.adv_addr.a.val, last_beacon_adv_addr.a.val, BT_ADDR_SIZE) == 0) { in pp_beacon_check()
1631 memcpy(&last_beacon_adv_addr.a.val, beacon.adv_addr.a.val, BT_ADDR_SIZE); in pp_beacon_check()
1646 bt_addr_le_copy(&beacon.adv_addr, addr); in priv_scan_cb()
1684 bt_addr_le_copy(&beacon.adv_addr, addr); in proxy_adv_scan_all_cb()
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c6497 memcpy(&dir_info->addr.a.val[0], &adv->direct_ind.adv_addr[0],
6856 if (h->adv_addr) {
6919 uint8_t adv_addr_type, const uint8_t *adv_addr, argument
6952 } else if (adv_addr) {
6954 (void)memcpy(adv_info->addr.a.val, adv_addr, sizeof(bt_addr_t));
6981 uint8_t adv_addr_type, const uint8_t *adv_addr, argument
6997 adv_addr, direct_addr_type, direct_addr,
7019 const uint8_t *adv_addr, uint8_t direct_addr_type, argument
7034 adv_addr, direct_addr_type, direct_addr,
7051 adv_addr_type, adv_addr,
[all …]
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/src/
Dmain.c81 static bt_addr_le_t adv_addr; variable
468 bt_addr_le_copy(&adv_addr, info->addr); in scan_recv()
1085 err = bt_conn_le_create(&adv_addr, BT_CONN_LE_CREATE_CONN, conn_param, &default_conn); in central_create_connection()
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c529 memcpy(pdu->llctrl.periodic_sync_ind.adv_addr, p->adv_addr, sizeof(p->adv_addr)); in helper_pdu_encode_periodic_sync_ind()
1322 zassert_mem_equal(pdu->llctrl.periodic_sync_ind.adv_addr, p->adv_addr, in helper_pdu_verify_periodic_sync_ind()
1323 sizeof(p->adv_addr), in helper_pdu_verify_periodic_sync_ind()
/Zephyr-latest/subsys/bluetooth/host/
Dscan.c1206 if (bt_addr_le_is_resolved(&evt->adv_addr)) { in bt_hci_le_per_adv_sync_established_common()
1207 bt_addr_le_copy_resolved(&id_addr, &evt->adv_addr); in bt_hci_le_per_adv_sync_established_common()
1211 &evt->adv_addr)); in bt_hci_le_per_adv_sync_established_common()
1843 struct bt_le_per_adv_sync *bt_le_per_adv_sync_lookup_addr(const bt_addr_le_t *adv_addr, in bt_le_per_adv_sync_lookup_addr() argument
1854 if (bt_addr_le_eq(&sync->addr, adv_addr) && sync->sid == sid) { in bt_le_per_adv_sync_lookup_addr()
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c287 zassert_false(ext_hdr->adv_addr, in common_validate_per_adv_pdu()

12