| /Zephyr-4.1.0/subsys/bluetooth/host/ |
| D | adv.h | 10 struct bt_le_ext_adv *bt_le_adv_lookup_legacy(void); 13 int bt_le_adv_set_enable(struct bt_le_ext_adv *adv, bool enable); 15 void bt_le_ext_adv_foreach(void (*func)(struct bt_le_ext_adv *adv, void *data), 18 int bt_le_adv_set_enable_ext(struct bt_le_ext_adv *adv, 21 int bt_le_adv_set_enable_legacy(struct bt_le_ext_adv *adv, bool enable); 22 int bt_le_lim_adv_cancel_timeout(struct bt_le_ext_adv *adv);
|
| D | id.h | 32 int bt_id_set_adv_own_addr(struct bt_le_ext_adv *adv, uint32_t options, 39 int bt_id_set_adv_random_addr(struct bt_le_ext_adv *adv, 41 int bt_id_set_adv_private_addr(struct bt_le_ext_adv *adv); 47 void bt_id_adv_limited_stopped(struct bt_le_ext_adv *adv);
|
| D | adv.c | 175 enum adv_name_type get_adv_name_type(const struct bt_le_ext_adv *adv) in get_adv_name_type() 207 static struct bt_le_ext_adv adv_pool[CONFIG_BT_EXT_ADV_MAX_ADV_SET]; 212 uint8_t bt_le_ext_adv_get_index(struct bt_le_ext_adv *adv) in bt_le_ext_adv_get_index() 221 static struct bt_le_ext_adv *adv_new(void) in adv_new() 223 struct bt_le_ext_adv *adv = NULL; in adv_new() 244 static void adv_delete(struct bt_le_ext_adv *adv) in adv_delete() 250 struct bt_le_ext_adv *bt_hci_adv_lookup_handle(uint8_t handle) in bt_hci_adv_lookup_handle() 262 void bt_le_ext_adv_foreach(void (*func)(struct bt_le_ext_adv *adv, void *data), in bt_le_ext_adv_foreach() 310 struct bt_le_ext_adv *bt_le_adv_lookup_legacy(void) in bt_le_adv_lookup_legacy() 319 int bt_le_adv_set_enable_legacy(struct bt_le_ext_adv *adv, bool enable) in bt_le_adv_set_enable_legacy() [all …]
|
| /Zephyr-4.1.0/tests/bluetooth/host/id/mocks/ |
| D | adv.h | 13 typedef void (*bt_le_ext_adv_foreach_cb)(struct bt_le_ext_adv *adv, void *data); 23 DECLARE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable, struct bt_le_ext_adv *, bool); 24 DECLARE_FAKE_VALUE_FUNC(struct bt_le_ext_adv *, bt_le_adv_lookup_legacy); 25 DECLARE_FAKE_VALUE_FUNC(uint8_t, bt_le_ext_adv_get_index, struct bt_le_ext_adv *); 26 DECLARE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable_legacy, struct bt_le_ext_adv *, bool); 27 DECLARE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable_ext, struct bt_le_ext_adv *, bool,
|
| D | adv.c | 11 DEFINE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable, struct bt_le_ext_adv *, bool); 12 DEFINE_FAKE_VALUE_FUNC(struct bt_le_ext_adv *, bt_le_adv_lookup_legacy); 13 DEFINE_FAKE_VALUE_FUNC(uint8_t, bt_le_ext_adv_get_index, struct bt_le_ext_adv *); 14 DEFINE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable_legacy, struct bt_le_ext_adv *, bool); 15 DEFINE_FAKE_VALUE_FUNC(int, bt_le_adv_set_enable_ext, struct bt_le_ext_adv *, bool,
|
| /Zephyr-4.1.0/tests/bsim/bluetooth/host/adv/periodic/src/ |
| D | per_adv_advertiser.c | 89 static void create_per_adv_set(struct bt_le_ext_adv **adv) in create_per_adv_set() 112 static void create_per_adv_set_coded(struct bt_le_ext_adv **adv) in create_per_adv_set_coded() 135 static void create_conn_adv_set(struct bt_le_ext_adv **adv) in create_conn_adv_set() 148 static void start_ext_adv_set(struct bt_le_ext_adv *adv) in start_ext_adv_set() 161 static void start_per_adv_set(struct bt_le_ext_adv *adv) in start_per_adv_set() 175 static void set_per_adv_data(struct bt_le_ext_adv *adv) in set_per_adv_data() 193 static void stop_ext_adv_set(struct bt_le_ext_adv *adv) in stop_ext_adv_set() 207 static void stop_per_adv_set(struct bt_le_ext_adv *adv) in stop_per_adv_set() 221 static void delete_adv_set(struct bt_le_ext_adv *adv) in delete_adv_set() 236 struct bt_le_ext_adv *per_adv; in main_per_adv_advertiser() [all …]
|
| /Zephyr-4.1.0/tests/bsim/bluetooth/host/gatt/sc_indicate/src/ |
| D | bs_bt_utils.h | 26 void create_adv(struct bt_le_ext_adv **adv); 27 void start_adv(struct bt_le_ext_adv *adv); 28 void stop_adv(struct bt_le_ext_adv *adv);
|
| /Zephyr-4.1.0/tests/bluetooth/host/id/bt_id_set_adv_own_addr/src/ |
| D | test_suite_invalid_inputs.c | 48 struct bt_le_ext_adv adv; in ZTEST() 71 struct bt_le_ext_adv adv = {0}; in ZTEST() 102 struct bt_le_ext_adv adv = {0}; in ZTEST() 133 struct bt_le_ext_adv adv = {0}; in ZTEST() 172 struct bt_le_ext_adv adv = {0}; in ZTEST() 206 struct bt_le_ext_adv adv = {0}; in ZTEST()
|
| D | main.c | 51 struct bt_le_ext_adv adv = {0}; in ZTEST() 98 struct bt_le_ext_adv adv = {0}; in ZTEST() 152 struct bt_le_ext_adv adv = {0}; in ZTEST() 194 struct bt_le_ext_adv adv = {0}; in ZTEST() 229 struct bt_le_ext_adv adv = {0}; in ZTEST()
|
| /Zephyr-4.1.0/tests/bsim/bluetooth/host/adv/extended/src/ |
| D | ext_adv_advertiser.c | 37 static void create_ext_adv_set(struct bt_le_ext_adv **adv, bool connectable) in create_ext_adv_set() 54 static void start_ext_adv_set(struct bt_le_ext_adv *adv) in start_ext_adv_set() 67 static void stop_ext_adv_set(struct bt_le_ext_adv *adv) in stop_ext_adv_set() 81 static void delete_adv_set(struct bt_le_ext_adv *adv) in delete_adv_set() 166 struct bt_le_ext_adv *ext_adv; in main_ext_adv_advertiser() 186 struct bt_le_ext_adv *ext_adv; in adv_connect_and_disconnect_cycle() 208 struct bt_le_ext_adv *ext_adv; in main_ext_conn_adv_advertiser() 232 struct bt_le_ext_adv *ext_adv; in main_ext_conn_adv_advertiser_x5()
|
| /Zephyr-4.1.0/include/zephyr/bluetooth/ |
| D | bluetooth.h | 73 struct bt_le_ext_adv; 147 void (*sent)(struct bt_le_ext_adv *adv, 159 void (*connected)(struct bt_le_ext_adv *adv, 172 void (*scanned)(struct bt_le_ext_adv *adv, 192 bool (*rpa_expired)(struct bt_le_ext_adv *adv); 205 void (*pawr_data_request)(struct bt_le_ext_adv *adv, 216 void (*pawr_response)(struct bt_le_ext_adv *adv, struct bt_le_per_adv_response_info *info, 1423 struct bt_le_ext_adv **adv); 1462 int bt_le_ext_adv_start(struct bt_le_ext_adv *adv, 1475 int bt_le_ext_adv_stop(struct bt_le_ext_adv *adv); [all …]
|
| D | hci.h | 135 int bt_hci_get_adv_handle(const struct bt_le_ext_adv *adv, uint8_t *adv_handle); 144 struct bt_le_ext_adv *bt_hci_adv_lookup_handle(uint8_t handle);
|
| /Zephyr-4.1.0/tests/bluetooth/host/id/bt_le_ext_adv_oob_get_local/src/ |
| D | test_suite_invalid_inputs.c | 55 struct bt_le_ext_adv adv = {0}; in ZTEST() 76 struct bt_le_ext_adv adv = {0}; in ZTEST() 103 struct bt_le_ext_adv adv = {0}; in ZTEST() 141 struct bt_le_ext_adv adv = {0}; in ZTEST() 178 struct bt_le_ext_adv adv = {0}; in ZTEST()
|
| /Zephyr-4.1.0/tests/bluetooth/host/id/bt_id_set_adv_private_addr/src/ |
| D | test_suite_invalid_cases.c | 51 struct bt_le_ext_adv adv_param; in ZTEST() 83 struct bt_le_ext_adv adv_param; in ZTEST() 112 struct bt_le_ext_adv adv_param = {0}; in ZTEST() 152 struct bt_le_ext_adv adv_param = {0}; in ZTEST()
|
| D | main.c | 79 struct bt_le_ext_adv adv_param = {0}; in ZTEST() 113 struct bt_le_ext_adv adv_param = {0}; in ZTEST() 156 struct bt_le_ext_adv adv_param = {0}; in ZTEST() 183 struct bt_le_ext_adv adv_param; in ZTEST()
|
| /Zephyr-4.1.0/tests/bluetooth/host/id/bt_id_set_adv_random_addr/src/ |
| D | test_suite_invalid_cases.c | 50 struct bt_le_ext_adv adv_param = {0}; in ZTEST() 89 struct bt_le_ext_adv adv_param = {0}; in ZTEST() 121 struct bt_le_ext_adv adv_param = {0}; in ZTEST()
|
| D | main.c | 46 struct bt_le_ext_adv adv_param = {0}; in ZTEST() 77 struct bt_le_ext_adv adv_param = {0}; in ZTEST() 116 struct bt_le_ext_adv adv_param = {0}; in ZTEST()
|
| /Zephyr-4.1.0/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/src/ |
| D | peripheral.c | 12 static void create_adv(struct bt_le_ext_adv **adv) in create_adv() 33 static void start_adv(struct bt_le_ext_adv *adv) in start_adv() 52 static void set_ad_data(struct bt_le_ext_adv *adv) in set_ad_data() 98 struct bt_le_ext_adv *adv = NULL; in test_peripheral()
|
| /Zephyr-4.1.0/tests/bsim/bluetooth/host/security/ccc_update/src/ |
| D | peripheral.c | 60 static void create_adv(struct bt_le_ext_adv **adv) in create_adv() 80 static void start_adv(struct bt_le_ext_adv *adv) in start_adv() 99 static void stop_adv(struct bt_le_ext_adv *adv) in stop_adv() 166 static void connect_pair_check_subscribtion(struct bt_le_ext_adv *adv) in connect_pair_check_subscribtion() 189 static void connect_wait_unsubscribtion(struct bt_le_ext_adv *adv) in connect_wait_unsubscribtion() 218 static void connect_restore_sec_check_subscribtion(struct bt_le_ext_adv *adv) in connect_restore_sec_check_subscribtion() 295 struct bt_le_ext_adv *adv = NULL; in run_peripheral()
|
| /Zephyr-4.1.0/tests/bsim/bluetooth/host/adv/long_ad/src/ |
| D | advertiser.c | 19 static void create_adv(struct bt_le_ext_adv **adv) in create_adv() 39 static void start_adv(struct bt_le_ext_adv *adv) in start_adv() 89 static int set_ad_data(struct bt_le_ext_adv *adv, const uint8_t *serialized_ad, in set_ad_data() 136 struct bt_le_ext_adv *adv = NULL; in entrypoint_advertiser()
|
| /Zephyr-4.1.0/tests/bsim/bluetooth/host/gatt/ccc_store/src/ |
| D | peripheral.c | 60 static void create_adv(struct bt_le_ext_adv **adv) in create_adv() 70 static void start_adv(struct bt_le_ext_adv *adv) in start_adv() 89 static void stop_adv(struct bt_le_ext_adv *adv) in stop_adv() 171 static void connect_pair_check_subscribtion(struct bt_le_ext_adv *adv) in connect_pair_check_subscribtion() 196 static void connect_restore_sec_check_subscribtion(struct bt_le_ext_adv *adv) in connect_restore_sec_check_subscribtion() 246 struct bt_le_ext_adv *adv = NULL; in run_peripheral()
|
| /Zephyr-4.1.0/samples/bluetooth/encrypted_advertising/peripheral/src/ |
| D | peripheral_ead.c | 50 static int update_ad_data(struct bt_le_ext_adv *adv) in update_ad_data() 108 static int set_ad_data(struct bt_le_ext_adv *adv) in set_ad_data() 113 static bool rpa_expired_cb(struct bt_le_ext_adv *adv) in rpa_expired_cb() 128 static int create_adv(struct bt_le_ext_adv **adv) in create_adv() 143 static int start_adv(struct bt_le_ext_adv *adv) in start_adv() 165 static int stop_and_delete_adv(struct bt_le_ext_adv *adv) in stop_and_delete_adv() 305 struct bt_le_ext_adv *adv = NULL; in run_peripheral_sample()
|
| /Zephyr-4.1.0/samples/bluetooth/cap_initiator/src/ |
| D | cap_initiator_broadcast.c | 71 static int setup_extended_adv(struct bt_le_ext_adv **adv) in setup_extended_adv() 125 struct bt_le_ext_adv *adv) in setup_extended_adv_data() 176 static int start_extended_adv(struct bt_le_ext_adv *adv) in start_extended_adv() 198 struct bt_le_ext_adv *adv) in broadcast_start() 231 struct bt_le_ext_adv *adv; in cap_initiator_broadcast()
|
| /Zephyr-4.1.0/tests/bluetooth/host/id/bt_id_scan_random_addr_check/src/ |
| D | main.c | 114 struct bt_le_ext_adv adv = {0}; in ZTEST() 143 struct bt_le_ext_adv adv = {0}; in ZTEST() 175 struct bt_le_ext_adv adv = {0}; in ZTEST()
|
| /Zephyr-4.1.0/tests/bluetooth/tester/src/btp/ |
| D | btp_gap.h | 451 struct bt_le_ext_adv *tester_gap_ext_adv_get(uint8_t ext_adv_idx); 456 uint32_t *settings, struct bt_le_ext_adv **ext_adv); 457 int tester_gap_stop_ext_adv(struct bt_le_ext_adv *ext_adv); 458 int tester_gap_start_ext_adv(struct bt_le_ext_adv *ext_adv); 459 int tester_gap_padv_configure(struct bt_le_ext_adv *ext_adv, 461 int tester_gap_padv_set_data(struct bt_le_ext_adv *ext_adv, struct bt_data *per_ad, uint8_t ad_len); 462 int tester_gap_padv_start(struct bt_le_ext_adv *ext_adv); 463 int tester_gap_padv_stop(struct bt_le_ext_adv *ext_adv);
|