Home
last modified time | relevance | path

Searched refs:bt_le_ext_adv (Results 1 – 25 of 104) sorted by relevance

12345

/Zephyr-latest/subsys/bluetooth/host/
Dadv.h10 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);
Did.h32 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);
Dadv.c175 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-latest/tests/bluetooth/host/id/mocks/
Dadv.h13 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,
Dadv.c11 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-latest/tests/bsim/bluetooth/host/adv/periodic/src/
Dper_adv_advertiser.c87 static void create_per_adv_set(struct bt_le_ext_adv **adv) in create_per_adv_set()
110 static void create_per_adv_set_coded(struct bt_le_ext_adv **adv) in create_per_adv_set_coded()
133 static void create_conn_adv_set(struct bt_le_ext_adv **adv) in create_conn_adv_set()
146 static void start_ext_adv_set(struct bt_le_ext_adv *adv) in start_ext_adv_set()
159 static void start_per_adv_set(struct bt_le_ext_adv *adv) in start_per_adv_set()
173 static void set_per_adv_data(struct bt_le_ext_adv *adv) in set_per_adv_data()
191 static void stop_ext_adv_set(struct bt_le_ext_adv *adv) in stop_ext_adv_set()
205 static void stop_per_adv_set(struct bt_le_ext_adv *adv) in stop_per_adv_set()
219 static void delete_adv_set(struct bt_le_ext_adv *adv) in delete_adv_set()
234 struct bt_le_ext_adv *per_adv; in main_per_adv_advertiser()
[all …]
/Zephyr-latest/tests/bluetooth/host/id/bt_id_set_adv_own_addr/src/
Dtest_suite_invalid_inputs.c48 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()
Dmain.c51 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-latest/tests/bsim/bluetooth/host/adv/extended/src/
Dext_adv_advertiser.c41 static void create_ext_adv_set(struct bt_le_ext_adv **adv, bool connectable) in create_ext_adv_set()
58 static void start_ext_adv_set(struct bt_le_ext_adv *adv) in start_ext_adv_set()
71 static void stop_ext_adv_set(struct bt_le_ext_adv *adv) in stop_ext_adv_set()
85 static void delete_adv_set(struct bt_le_ext_adv *adv) in delete_adv_set()
170 struct bt_le_ext_adv *ext_adv; in main_ext_adv_advertiser()
190 struct bt_le_ext_adv *ext_adv; in adv_connect_and_disconnect_cycle()
212 struct bt_le_ext_adv *ext_adv; in main_ext_conn_adv_advertiser()
236 struct bt_le_ext_adv *ext_adv; in main_ext_conn_adv_advertiser_x5()
/Zephyr-latest/include/zephyr/bluetooth/
Dbluetooth.h52 struct bt_le_ext_adv;
126 void (*sent)(struct bt_le_ext_adv *adv,
138 void (*connected)(struct bt_le_ext_adv *adv,
151 void (*scanned)(struct bt_le_ext_adv *adv,
171 bool (*rpa_expired)(struct bt_le_ext_adv *adv);
184 void (*pawr_data_request)(struct bt_le_ext_adv *adv,
195 void (*pawr_response)(struct bt_le_ext_adv *adv, struct bt_le_per_adv_response_info *info,
1296 struct bt_le_ext_adv **adv);
1335 int bt_le_ext_adv_start(struct bt_le_ext_adv *adv,
1348 int bt_le_ext_adv_stop(struct bt_le_ext_adv *adv);
[all …]
Dhci.h135 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-latest/tests/bluetooth/host/id/bt_le_ext_adv_oob_get_local/src/
Dtest_suite_invalid_inputs.c55 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-latest/tests/bluetooth/host/id/bt_id_set_adv_private_addr/src/
Dtest_suite_invalid_cases.c51 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()
Dmain.c79 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-latest/tests/bluetooth/host/id/bt_id_set_adv_random_addr/src/
Dtest_suite_invalid_cases.c50 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()
Dmain.c46 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-latest/tests/bsim/bluetooth/host/gatt/sc_indicate/src/
Dbs_bt_utils.h62 void create_adv(struct bt_le_ext_adv **adv);
63 void start_adv(struct bt_le_ext_adv *adv);
64 void stop_adv(struct bt_le_ext_adv *adv);
/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/src/
Dperipheral.c11 static void create_adv(struct bt_le_ext_adv **adv) in create_adv()
32 static void start_adv(struct bt_le_ext_adv *adv) in start_adv()
51 static void set_ad_data(struct bt_le_ext_adv *adv) in set_ad_data()
99 struct bt_le_ext_adv *adv = NULL; in test_peripheral()
/Zephyr-latest/tests/bsim/bluetooth/host/adv/long_ad/src/
Dadvertiser.c19 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-latest/tests/bsim/bluetooth/host/security/ccc_update/src/
Dperipheral.c59 static void create_adv(struct bt_le_ext_adv **adv) in create_adv()
79 static void start_adv(struct bt_le_ext_adv *adv) in start_adv()
98 static void stop_adv(struct bt_le_ext_adv *adv) in stop_adv()
165 static void connect_pair_check_subscribtion(struct bt_le_ext_adv *adv) in connect_pair_check_subscribtion()
188 static void connect_wait_unsubscribtion(struct bt_le_ext_adv *adv) in connect_wait_unsubscribtion()
217 static void connect_restore_sec_check_subscribtion(struct bt_le_ext_adv *adv) in connect_restore_sec_check_subscribtion()
298 struct bt_le_ext_adv *adv = NULL; in run_peripheral()
/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/
Dperipheral_ead.c50 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-latest/tests/bsim/bluetooth/host/gatt/ccc_store/src/
Dperipheral.c58 static void create_adv(struct bt_le_ext_adv **adv) in create_adv()
68 static void start_adv(struct bt_le_ext_adv *adv) in start_adv()
87 static void stop_adv(struct bt_le_ext_adv *adv) in stop_adv()
169 static void connect_pair_check_subscribtion(struct bt_le_ext_adv *adv) in connect_pair_check_subscribtion()
194 static void connect_restore_sec_check_subscribtion(struct bt_le_ext_adv *adv) in connect_restore_sec_check_subscribtion()
266 struct bt_le_ext_adv *adv = NULL; in run_peripheral()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_broadcast.c70 static int setup_extended_adv(struct bt_le_ext_adv **adv) in setup_extended_adv()
126 struct bt_le_ext_adv *adv) in setup_extended_adv_data()
177 static int start_extended_adv(struct bt_le_ext_adv *adv) in start_extended_adv()
199 struct bt_le_ext_adv *adv) in broadcast_start()
232 struct bt_le_ext_adv *adv; in cap_initiator_broadcast()
/Zephyr-latest/tests/bluetooth/host/id/bt_id_scan_random_addr_check/src/
Dmain.c114 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-latest/samples/bluetooth/direction_finding_connectionless_tx/src/
Dmain.c23 static void adv_sent_cb(struct bt_le_ext_adv *adv,
30 static struct bt_le_ext_adv *adv_set;
71 static void adv_sent_cb(struct bt_le_ext_adv *adv, in adv_sent_cb()

12345