/Zephyr-latest/tests/bluetooth/tester/src/audio/btp/ |
D | btp_mcp.h | 18 bt_addr_le_t address; 23 bt_addr_le_t address; 28 bt_addr_le_t address; 33 bt_addr_le_t address; 39 bt_addr_le_t address; 44 bt_addr_le_t address; 50 bt_addr_le_t address; 55 bt_addr_le_t address; 60 bt_addr_le_t address; 65 bt_addr_le_t address; [all …]
|
D | btp_ccp.h | 18 bt_addr_le_t address; 23 bt_addr_le_t address; 30 bt_addr_le_t address; 37 bt_addr_le_t address; 45 bt_addr_le_t address; 51 bt_addr_le_t address; 57 bt_addr_le_t address; 63 bt_addr_le_t address; 69 bt_addr_le_t address; 75 bt_addr_le_t address; [all …]
|
D | btp_vcp.h | 18 bt_addr_le_t address; 23 bt_addr_le_t address; 28 bt_addr_le_t address; 33 bt_addr_le_t address; 38 bt_addr_le_t address; 43 bt_addr_le_t address; 48 bt_addr_le_t address; 53 bt_addr_le_t address; 59 bt_addr_le_t address; 64 bt_addr_le_t address; [all …]
|
D | btp_bap.h | 19 bt_addr_le_t address; 27 bt_addr_le_t address; 101 bt_addr_le_t address; 112 bt_addr_le_t address; 118 bt_addr_le_t address; 125 bt_addr_le_t address; 130 bt_addr_le_t address; 135 bt_addr_le_t address; 140 bt_addr_le_t address; 141 bt_addr_le_t broadcaster_address; [all …]
|
D | btp_aics.h | 41 bt_addr_le_t address; 47 bt_addr_le_t address; 52 bt_addr_le_t address; 57 bt_addr_le_t address; 62 bt_addr_le_t address; 76 bt_addr_le_t address; 81 bt_addr_le_t address; 86 bt_addr_le_t address; 91 bt_addr_le_t address; 96 bt_addr_le_t address; [all …]
|
D | btp_ascs.h | 17 bt_addr_le_t address; 28 bt_addr_le_t address; 42 bt_addr_le_t address; 48 bt_addr_le_t address; 54 bt_addr_le_t address; 60 bt_addr_le_t address; 66 bt_addr_le_t address; 72 bt_addr_le_t address; 78 bt_addr_le_t address; 99 bt_addr_le_t address; [all …]
|
D | btp_vocs.h | 18 bt_addr_le_t address; 30 bt_addr_le_t address; 35 bt_addr_le_t address; 40 bt_addr_le_t address; 46 bt_addr_le_t address; 53 bt_addr_le_t address; 60 bt_addr_le_t address;
|
D | btp_has.h | 18 bt_addr_le_t address; 24 bt_addr_le_t address; 32 bt_addr_le_t address; 38 bt_addr_le_t address; 47 bt_addr_le_t address; 55 bt_addr_le_t address;
|
D | btp_micp.h | 17 bt_addr_le_t address; 22 bt_addr_le_t address; 27 bt_addr_le_t address; 33 bt_addr_le_t address; 46 bt_addr_le_t address;
|
D | btp_csip.h | 18 bt_addr_le_t address; 29 bt_addr_le_t addr[]; 35 bt_addr_le_t addr[]; 41 bt_addr_le_t address; 51 bt_addr_le_t address;
|
D | btp_hap.h | 33 bt_addr_le_t address; 38 bt_addr_le_t address; 44 bt_addr_le_t address; 50 bt_addr_le_t address; 56 bt_addr_le_t address;
|
/Zephyr-latest/tests/bluetooth/host/keys/ |
D | testing_common_defs.h | 16 #define BT_ADDR_LE_1 ((bt_addr_le_t[]){{BT_ADDR_LE_PUBLIC, {{0x0A, 0x89, 0x67, 0x45, 0x23, 0x01}}}}) 17 #define BT_ADDR_LE_2 ((bt_addr_le_t[]){{BT_ADDR_LE_PUBLIC, {{0x0B, 0x89, 0x67, 0x45, 0x23, 0x01}}}}) 18 #define BT_ADDR_LE_3 ((bt_addr_le_t[]){{BT_ADDR_LE_PUBLIC, {{0x0C, 0x89, 0x67, 0x45, 0x23, 0x01}}}}) 19 #define BT_ADDR_LE_4 ((bt_addr_le_t[]){{BT_ADDR_LE_PUBLIC, {{0x0D, 0x89, 0x67, 0x45, 0x23, 0x01}}}}) 20 #define BT_ADDR_LE_5 ((bt_addr_le_t[]){{BT_ADDR_LE_PUBLIC, {{0x0E, 0x89, 0x67, 0x45, 0x23, 0x01}}}}) 24 ((bt_addr_le_t[]){{BT_ADDR_LE_RANDOM, {{0x0A, 0x89, 0x67, 0x45, 0x23, 0x41}}}}) 26 ((bt_addr_le_t[]){{BT_ADDR_LE_RANDOM, {{0x0B, 0x89, 0x67, 0x45, 0x23, 0x41}}}}) 28 ((bt_addr_le_t[]){{BT_ADDR_LE_RANDOM, {{0x0C, 0x89, 0x67, 0x45, 0x23, 0x41}}}}) 30 ((bt_addr_le_t[]){{BT_ADDR_LE_RANDOM, {{0x0D, 0x89, 0x67, 0x45, 0x23, 0x41}}}}) 32 ((bt_addr_le_t[]){{BT_ADDR_LE_RANDOM, {{0x0E, 0x89, 0x67, 0x45, 0x23, 0x41}}}})
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | settings.h | 25 int bt_settings_store(const char *key, uint8_t id, const bt_addr_le_t *addr, const void *value, 27 int bt_settings_delete(const char *key, uint8_t id, const bt_addr_le_t *addr); 34 const bt_addr_le_t *addr, const char *key); 35 int bt_settings_decode_key(const char *key, bt_addr_le_t *addr); 41 int bt_settings_store_sc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len); 42 int bt_settings_delete_sc(uint8_t id, const bt_addr_le_t *addr); 44 int bt_settings_store_cf(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len); 45 int bt_settings_delete_cf(uint8_t id, const bt_addr_le_t *addr); 47 int bt_settings_store_ccc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len); 48 int bt_settings_delete_ccc(uint8_t id, const bt_addr_le_t *addr); [all …]
|
D | addr.c | 19 static inline int create_random_addr(bt_addr_le_t *addr) in create_random_addr() 26 int bt_addr_le_create_nrpa(bt_addr_le_t *addr) in bt_addr_le_create_nrpa() 40 int bt_addr_le_create_static(bt_addr_le_t *addr) in bt_addr_le_create_static() 88 int bt_addr_le_from_str(const char *str, const char *type, bt_addr_le_t *addr) in bt_addr_le_from_str() 112 void bt_addr_le_copy_resolved(bt_addr_le_t *dst, const bt_addr_le_t *src) in bt_addr_le_copy_resolved() 119 bool bt_addr_le_is_resolved(const bt_addr_le_t *addr) in bt_addr_le_is_resolved()
|
D | addr_internal.h | 12 void bt_addr_le_copy_resolved(bt_addr_le_t *dst, const bt_addr_le_t *src); 14 bool bt_addr_le_is_resolved(const bt_addr_le_t *addr);
|
/Zephyr-latest/tests/bluetooth/addr/src/ |
D | test_bt_addr_le_eq.c | 12 bt_addr_le_t a = {.type = 0, .a = {{0, 0, 0, 0, 0, 0}}}; in ZTEST() 13 bt_addr_le_t b = a; in ZTEST() 20 bt_addr_le_t a = {.type = 1, .a = {{1, 2, 3, 4, 5, 6}}}; in ZTEST() 21 bt_addr_le_t b = a; in ZTEST() 28 bt_addr_le_t a = {.type = 0, .a = {{1, 2, 3, 4, 5, 6}}}; in ZTEST() 29 bt_addr_le_t b = a; in ZTEST() 38 bt_addr_le_t a = {.type = 0, .a = {{1, 2, 3, 4, 5, 6}}}; in ZTEST() 39 bt_addr_le_t b = a; in ZTEST() 48 bt_addr_le_t a = {.type = 0, .a = {{1, 2, 3, 4, 5, 6}}}; in ZTEST() 49 bt_addr_le_t b = a; in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | addr.h | 56 } bt_addr_le_t; typedef 61 extern const bt_addr_le_t bt_addr_le_any; 62 extern const bt_addr_le_t bt_addr_le_none; 104 static inline int bt_addr_le_cmp(const bt_addr_le_t *a, const bt_addr_le_t *b) in bt_addr_le_cmp() 117 static inline bool bt_addr_le_eq(const bt_addr_le_t *a, const bt_addr_le_t *b) in bt_addr_le_eq() 137 static inline void bt_addr_le_copy(bt_addr_le_t *dst, const bt_addr_le_t *src) in bt_addr_le_copy() 158 int bt_addr_le_create_nrpa(bt_addr_le_t *addr); 161 int bt_addr_le_create_static(bt_addr_le_t *addr); 170 static inline bool bt_addr_le_is_rpa(const bt_addr_le_t *addr) in bt_addr_le_is_rpa() 188 static inline bool bt_addr_le_is_identity(const bt_addr_le_t *addr) in bt_addr_le_is_identity() [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_get/src/ |
D | main.c | 19 static const bt_addr_le_t *testing_addr_lut[] = {BT_LE_ADDR, BT_STATIC_RANDOM_LE_ADDR_1, 23 static bt_addr_le_t copy_dst_addrs[CONFIG_BT_ID_MAX]; 33 const bt_addr_le_t *src = testing_addr_lut[i]; in fff_reset_rule_before() 34 bt_addr_le_t *dst = &bt_dev.id_addr[bt_dev.id_count++]; in fff_reset_rule_before() 36 memcpy(dst, src, sizeof(bt_addr_le_t)); in fff_reset_rule_before() 40 memcpy(©_dst_addrs[i], BT_ADDR_LE_ANY, sizeof(bt_addr_le_t)); in fff_reset_rule_before() 90 const bt_addr_le_t *src = testing_addr_lut[i]; in ZTEST() 91 bt_addr_le_t *dst = ©_dst_addrs[i]; in ZTEST() 93 zassert_mem_equal(src, dst, sizeof(bt_addr_le_t), in ZTEST() 99 bt_addr_le_t *src = ©_dst_addrs[i]; in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | btp_gap.h | 145 bt_addr_le_t address; 151 bt_addr_le_t address; 167 bt_addr_le_t address; 172 bt_addr_le_t address; 177 bt_addr_le_t address; 183 bt_addr_le_t address; 193 bt_addr_le_t address; 202 bt_addr_le_t address; 211 bt_addr_le_t address; 240 bt_addr_le_t addr[]; [all …]
|
D | btp_gatt.h | 114 bt_addr_le_t address; 119 bt_addr_le_t address; 128 bt_addr_le_t address; 139 bt_addr_le_t address; 150 bt_addr_le_t address; 161 bt_addr_le_t address; 170 bt_addr_le_t address; 181 bt_addr_le_t address; 198 bt_addr_le_t address; 212 bt_addr_le_t address; [all …]
|
/Zephyr-latest/tests/bluetooth/host/id/ |
D | testing_common_defs.h | 11 #define BT_LE_ADDR ((bt_addr_le_t[]){{BT_ADDR_LE_PUBLIC, {{0x0A, 0x89, 0x67, 0x45, 0x23, 0x01}}}}) 15 ((bt_addr_le_t[]){{BT_ADDR_LE_RANDOM, {{0x0A, 0x89, 0x67, 0x45, 0x23, 0xC1}}}}) 17 ((bt_addr_le_t[]){{BT_ADDR_LE_RANDOM, {{0x0B, 0x89, 0x67, 0x45, 0x23, 0xC1}}}}) 21 ((bt_addr_le_t[]){{BT_ADDR_LE_RANDOM, {{0x0A, 0x89, 0x67, 0x45, 0x23, 0x41}}}})
|
/Zephyr-latest/tests/bluetooth/host/id/bt_lookup_id_addr/src/ |
D | main.c | 49 const bt_addr_le_t *addr = BT_RPA_LE_ADDR; in ZTEST() 50 const bt_addr_le_t *returned_addr; in ZTEST() 77 const bt_addr_le_t *addr = BT_RPA_LE_ADDR; in ZTEST() 78 const bt_addr_le_t *returned_addr; in ZTEST() 91 static struct bt_keys *bt_keys_find_irk_custom_fake(uint8_t id, const bt_addr_le_t *addr) in bt_keys_find_irk_custom_fake() 112 const bt_addr_le_t *addr = BT_RPA_LE_ADDR; in ZTEST() 113 const bt_addr_le_t *returned_addr; in ZTEST()
|
/Zephyr-latest/tests/bluetooth/host/conn/mocks/ |
D | addr_internal.c | 11 DEFINE_FAKE_VOID_FUNC(bt_addr_le_copy_resolved, bt_addr_le_t *, const bt_addr_le_t *); 12 DEFINE_FAKE_VALUE_FUNC(bool, bt_addr_le_is_resolved, const bt_addr_le_t *);
|
D | addr_internal.h | 16 DECLARE_FAKE_VOID_FUNC(bt_addr_le_copy_resolved, bt_addr_le_t *, const bt_addr_le_t *); 17 DECLARE_FAKE_VALUE_FUNC(bool, bt_addr_le_is_resolved, const bt_addr_le_t *);
|
/Zephyr-latest/tests/bluetooth/host/id/bt_id_create/src/ |
D | main.c | 30 static int bt_addr_le_create_static_custom_fake(bt_addr_le_t *addr) in bt_addr_le_create_static_custom_fake() 76 zassert_mem_equal(&bt_dev.id_addr[new_id], BT_STATIC_RANDOM_LE_ADDR_1, sizeof(bt_addr_le_t), in ZTEST() 113 zassert_mem_equal(&bt_dev.id_addr[new_id], BT_STATIC_RANDOM_LE_ADDR_2, sizeof(bt_addr_le_t), in ZTEST() 136 bt_addr_le_t addr = bt_addr_le_any; in ZTEST() 149 zassert_mem_equal(&bt_dev.id_addr[new_id], BT_STATIC_RANDOM_LE_ADDR_1, sizeof(bt_addr_le_t), in ZTEST() 151 zassert_mem_equal(&addr, BT_STATIC_RANDOM_LE_ADDR_1, sizeof(bt_addr_le_t), in ZTEST() 201 bt_addr_le_t addr = *BT_STATIC_RANDOM_LE_ADDR_1; in ZTEST() 215 zassert_mem_equal(&bt_dev.id_addr[new_id], BT_STATIC_RANDOM_LE_ADDR_1, sizeof(bt_addr_le_t), in ZTEST() 234 bt_addr_le_t addr = *BT_LE_ADDR; in ZTEST() 252 zassert_mem_equal(&bt_dev.id_addr[new_id], BT_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
|