Home
last modified time | relevance | path

Searched refs:bt_addr_t (Results 1 – 25 of 62) sorted by relevance

123

/Zephyr-latest/tests/bluetooth/addr/src/
Dtest_bt_addr_from_str.c13 bt_addr_t a; in ZTEST()
21 bt_addr_t a; in ZTEST()
29 bt_addr_t a; in ZTEST()
37 bt_addr_t a; in ZTEST()
45 bt_addr_t a; in ZTEST()
53 bt_addr_t a; in ZTEST()
61 bt_addr_t a; in ZTEST()
69 bt_addr_t a; in ZTEST()
77 bt_addr_t a; in ZTEST()
85 bt_addr_t a; in ZTEST()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dlll_filter.h42 bt_addr_t id_addr;
47 bt_addr_t id_addr;
67 bt_addr_t id_addr;
71 bt_addr_t curr_rpa;
72 bt_addr_t peer_rpa;
73 bt_addr_t *local_rpa;
75 bt_addr_t target_rpa;
87 bt_addr_t rpa;
93 bt_addr_t rpa;
102 extern bt_addr_t *ull_filter_lll_lrpa_get(uint8_t rl_idx);
[all …]
Dull_filter.c83 bt_addr_t rpa;
89 bt_addr_t rpa;
99 static bt_addr_t local_rpas[CONFIG_BT_CTLR_RL_SIZE];
161 static uint8_t prpa_cache_find(bt_addr_t *prpa_cache_addr);
162 static void prpa_cache_add(bt_addr_t *prpa_cache_addr);
163 static uint8_t prpa_cache_try_resolve(bt_addr_t *rpa);
167 static uint8_t trpa_cache_find(bt_addr_t *prpa_cache_addr, uint8_t rl_idx);
168 static void trpa_cache_add(bt_addr_t *prpa_cache_addr, uint8_t rl_idx);
446 sizeof(bt_addr_t)); in ll_rl_crpa_set()
454 uint8_t ll_rl_crpa_get(bt_addr_le_t *id_addr, bt_addr_t *crpa) in ll_rl_crpa_get()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Daddr.h46 } bt_addr_t; typedef
55 bt_addr_t a;
59 extern const bt_addr_t bt_addr_any;
60 extern const bt_addr_t bt_addr_none;
80 static inline int bt_addr_cmp(const bt_addr_t *a, const bt_addr_t *b) in bt_addr_cmp()
90 static inline bool bt_addr_eq(const bt_addr_t *a, const bt_addr_t *b) in bt_addr_eq()
127 static inline void bt_addr_copy(bt_addr_t *dst, const bt_addr_t *src) in bt_addr_copy()
225 static inline int bt_addr_to_str(const bt_addr_t *addr, char *str, size_t len) in bt_addr_to_str()
278 int bt_addr_from_str(const char *str, bt_addr_t *addr);
Dhci_types.h386 bt_addr_t bdaddr;
402 bt_addr_t bdaddr;
406 bt_addr_t bdaddr;
411 bt_addr_t bdaddr;
428 bt_addr_t bdaddr;
439 bt_addr_t bdaddr;
445 bt_addr_t bdaddr;
451 bt_addr_t bdaddr;
456 bt_addr_t bdaddr;
462 bt_addr_t bdaddr;
[all …]
/Zephyr-latest/subsys/bluetooth/common/
Daddr.c9 const bt_addr_t bt_addr_any = { { 0, 0, 0, 0, 0, 0 } };
10 const bt_addr_t bt_addr_none = { { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff } };
Drpa.h15 bool bt_rpa_irk_matches(const uint8_t irk[16], const bt_addr_t *addr);
16 int bt_rpa_create(const uint8_t irk[16], bt_addr_t *rpa);
Drpa.c84 bool bt_rpa_irk_matches(const uint8_t irk[16], const bt_addr_t *addr) in bt_rpa_irk_matches()
101 int bt_rpa_create(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create()
117 LOG_DBG("Created RPA %s", bt_addr_str((bt_addr_t *)rpa->val)); in bt_rpa_create()
122 int bt_rpa_create(const uint8_t irk[16], bt_addr_t *rpa) in bt_rpa_create()
Ddummy.c29 BUILD_ASSERT(sizeof(bt_addr_t) == BT_ADDR_SIZE);
30 BUILD_ASSERT(alignof(bt_addr_t) == 1);
Dbt_str.h15 const char *bt_addr_str(const bt_addr_t *addr);
/Zephyr-latest/subsys/bluetooth/host/
Dkeys.h52 bt_addr_t rpa;
213 bt_addr_t addr;
224 struct bt_keys_link_key *bt_keys_get_link_key(const bt_addr_t *addr);
225 struct bt_keys_link_key *bt_keys_find_link_key(const bt_addr_t *addr);
227 void bt_keys_link_key_clear_addr(const bt_addr_t *addr);
236 void bt_keys_link_key_update_usage(const bt_addr_t *addr);
Dconn_internal.h137 bt_addr_t dst;
412 struct bt_conn *bt_conn_add_br(const bt_addr_t *peer);
415 struct bt_conn *bt_conn_add_sco(const bt_addr_t *peer, int link_type);
424 struct bt_conn *bt_conn_lookup_addr_sco(const bt_addr_t *peer);
427 struct bt_conn *bt_conn_lookup_addr_br(const bt_addr_t *peer);
Did.h40 const bt_addr_t *addr);
/Zephyr-latest/include/zephyr/bluetooth/classic/
Dclassic.h60 bt_addr_t addr;
158 bt_addr_t addr;
/Zephyr-latest/tests/bluetooth/host/id/mocks/
Drpa.c11 DEFINE_FAKE_VALUE_FUNC(int, bt_rpa_create, const uint8_t *, bt_addr_t *);
Drpa.h14 DECLARE_FAKE_VALUE_FUNC(int, bt_rpa_create, const uint8_t *, bt_addr_t *);
/Zephyr-latest/tests/bluetooth/host/keys/mocks/
Drpa.c10 DEFINE_FAKE_VALUE_FUNC(bool, bt_rpa_irk_matches, const uint8_t *, const bt_addr_t *);
Drpa.h15 DECLARE_FAKE_VALUE_FUNC(bool, bt_rpa_irk_matches, const uint8_t *, const bt_addr_t *);
/Zephyr-latest/subsys/bluetooth/host/classic/
Dkeys_br.c36 struct bt_keys_link_key *bt_keys_find_link_key(const bt_addr_t *addr) in bt_keys_find_link_key()
54 struct bt_keys_link_key *bt_keys_get_link_key(const bt_addr_t *addr) in bt_keys_get_link_key()
113 void bt_keys_link_key_clear_addr(const bt_addr_t *addr) in bt_keys_link_key_clear_addr()
224 void bt_keys_link_key_update_usage(const bt_addr_t *addr) in bt_keys_link_key_update_usage()
Dsco_internal.h70 struct bt_conn *bt_conn_create_sco(const bt_addr_t *peer, struct bt_sco_chan *chan);
/Zephyr-latest/tests/bluetooth/controller/ctrl_sw_privacy_unit/src/
Dmain.c32 (&(bt_addr_t){ { P0, P1, P2, P3, P4, P5 } })
48 bt_addr_t a1, a2, a3, a4, a5; in helper_prpa_add()
91 bt_addr_t a1, a2, a3, a4, a5; in helper_trpa_add()
156 bt_addr_t ar; in ZTEST()
/Zephyr-latest/drivers/bluetooth/hci/
Dhci_stm32wba.c57 static bt_addr_t bd_addr_dflt = {{0x65, 0x43, 0x21, 0x1E, 0x08, 0x00}};
61 static bt_addr_t bd_addr_udn;
399 bt_addr_t *bt_get_ble_addr(void) in bt_get_ble_addr()
401 bt_addr_t *bd_addr; in bt_get_ble_addr()
443 bt_addr_t *uid_addr; in bt_hci_stm32wba_setup()
463 bt_addr_copy((bt_addr_t *)param->value, uid_addr); in bt_hci_stm32wba_setup()
465 bt_addr_copy((bt_addr_t *)param->value, &(params->public_addr)); in bt_hci_stm32wba_setup()
/Zephyr-latest/tests/bluetooth/host/id/
Dtesting_common_defs.h8 #define BT_ADDR ((bt_addr_t[]){{{0x0A, 0x89, 0x67, 0x45, 0x23, 0x01}}})
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_find_irk/src/
Dmain.c63 static bool bt_rpa_irk_matches_unreachable_custom_fake(const uint8_t irk[16], const bt_addr_t *addr) in bt_rpa_irk_matches_unreachable_custom_fake()
69 static bool bt_rpa_irk_matches_custom_fake(const uint8_t irk[16], const bt_addr_t *addr) in bt_rpa_irk_matches_custom_fake()
220 zassert_mem_equal(&returned_ref->irk.rpa, &addr->a, sizeof(bt_addr_t), in ZTEST()
321 zassert_mem_equal(&returned_ref->irk.rpa, &addr->a, sizeof(bt_addr_t), in ZTEST()
/Zephyr-latest/tests/bluetooth/host/id/bt_br_oob_get_local/src/
Dmain.c46 zassert_mem_equal(&oob.addr, &BT_RPA_LE_ADDR->a, sizeof(bt_addr_t), in ZTEST()

123