Home
last modified time | relevance | path

Searched refs:le_addr (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/samples/bluetooth/central_past/src/
Dmain.c61 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
74 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
79 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
94 printk("Connecting to %s\n", le_addr); in scan_recv()
206 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
208 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
212 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb()
221 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
223 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
226 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb()
[all …]
/Zephyr-latest/samples/bluetooth/peripheral_past/src/
Dmain.c21 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
29 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
35 bt_le_per_adv_sync_get_index(sync), le_addr, info->interval, in sync_cb()
44 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
46 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
49 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb()
58 char le_addr[BT_ADDR_LE_STR_LEN]; in recv_cb() local
61 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in recv_cb()
65 "data: %s\n", bt_le_per_adv_sync_get_index(sync), le_addr, in recv_cb()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dkeys_br.c101 bt_addr_le_t le_addr; in bt_keys_link_key_clear() local
103 le_addr.type = BT_ADDR_LE_PUBLIC; in bt_keys_link_key_clear()
104 bt_addr_copy(&le_addr.a, &link_key->addr); in bt_keys_link_key_clear()
106 bt_settings_delete_link_key(&le_addr); in bt_keys_link_key_clear()
136 bt_addr_le_t le_addr; in bt_keys_link_key_store() local
138 le_addr.type = BT_ADDR_LE_PUBLIC; in bt_keys_link_key_store()
139 bt_addr_copy(&le_addr.a, &link_key->addr); in bt_keys_link_key_store()
141 err = bt_settings_store_link_key(&le_addr, link_key->storage_start, in bt_keys_link_key_store()
174 bt_addr_le_t le_addr; in link_key_set() local
191 err = bt_settings_decode_key(name, &le_addr); in link_key_set()
[all …]
/Zephyr-latest/samples/bluetooth/periodic_sync/src/
Dmain.c77 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
88 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
92 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
133 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
135 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
139 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb()
148 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
150 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
153 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb()
162 char le_addr[BT_ADDR_LE_STR_LEN]; in recv_cb() local
[all …]
/Zephyr-latest/samples/bluetooth/iso_receive/src/
Dmain.c97 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
104 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
108 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
135 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
137 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
141 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb()
150 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
152 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
155 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb()
165 char le_addr[BT_ADDR_LE_STR_LEN]; in recv_cb() local
[all …]
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/src/
Dmain.c161 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
163 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
167 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb()
176 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
178 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
181 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb()
196 char le_addr[BT_ADDR_LE_STR_LEN]; in recv_cb() local
198 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in recv_cb()
203 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb()
235 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/adv/periodic/src/
Dper_adv_sync.c113 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
115 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
119 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb()
128 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
130 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
133 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb()
142 char le_addr[BT_ADDR_LE_STR_LEN]; in recv_cb() local
149 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in recv_cb()
151 bt_le_per_adv_sync_get_index(recv_sync), le_addr); in recv_cb()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_broadcast_assistant_test.c88 char le_addr[BT_ADDR_LE_STR_LEN]; in bap_broadcast_assistant_scan_cb() local
90 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in bap_broadcast_assistant_scan_cb()
93 le_addr, broadcast_id, info->interval * 5 / 4, in bap_broadcast_assistant_scan_cb()
118 char le_addr[BT_ADDR_LE_STR_LEN]; in bap_broadcast_assistant_recv_state_cb() local
133 bt_addr_le_to_str(&state->addr, le_addr, sizeof(le_addr)); in bap_broadcast_assistant_recv_state_cb()
136 state->src_id, le_addr, state->adv_sid, state->pa_sync_state, state->encrypt_state, in bap_broadcast_assistant_recv_state_cb()
297 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
299 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
303 bt_le_per_adv_sync_get_index(sync), le_addr, info->interval, in sync_cb()
312 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
[all …]
Dtmap_client_test.c103 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
110 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
111 printk("[DEVICE]: %s, ", le_addr); in scan_recv()
Dcap_commander_test.c283 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_check_and_sync_broadcast() local
311 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_check_and_sync_broadcast()
314 le_addr, info->sid); in scan_check_and_sync_broadcast()
443 char le_addr[BT_ADDR_LE_STR_LEN]; in bap_broadcast_assistant_recv_state_cb() local
457 bt_addr_le_to_str(&state->addr, le_addr, sizeof(le_addr)); in bap_broadcast_assistant_recv_state_cb()
461 state->src_id, le_addr, state->adv_sid, state->pa_sync_state, state->encrypt_state, in bap_broadcast_assistant_recv_state_cb()
Dbap_broadcast_sink_test.c288 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_check_and_sync_broadcast() local
315 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_check_and_sync_broadcast()
318 le_addr, info->sid); in scan_check_and_sync_broadcast()
Dcap_acceptor_test.c207 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_check_and_sync_broadcast() local
234 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_check_and_sync_broadcast()
237 le_addr, info->sid); in scan_check_and_sync_broadcast()
/Zephyr-latest/samples/bluetooth/periodic_sync_conn/src/
Dmain.c29 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
32 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
33 printk("Synced to %s with %d subevents\n", le_addr, info->num_subevents); in sync_cb()
50 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
52 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
/Zephyr-latest/samples/bluetooth/observer/src/
Dobserver.c56 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
68 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
73 le_addr, info->adv_type, info->tx_power, info->rssi, in scan_recv()
/Zephyr-latest/samples/bluetooth/periodic_sync_rsp/src/
Dmain.c32 char le_addr[BT_ADDR_LE_STR_LEN]; in sync_cb() local
35 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in sync_cb()
36 printk("Synced to %s with %d subevents\n", le_addr, info->num_subevents); in sync_cb()
58 char le_addr[BT_ADDR_LE_STR_LEN]; in term_cb() local
60 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in term_cb()
/Zephyr-latest/tests/bsim/bluetooth/ll/bis/src/
Dtest_bis.c601 char le_addr[BT_ADDR_LE_STR_LEN]; in pa_sync_cb() local
603 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in pa_sync_cb()
607 bt_le_per_adv_sync_get_index(sync), le_addr, in pa_sync_cb()
616 char le_addr[BT_ADDR_LE_STR_LEN]; in pa_terminated_cb() local
618 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in pa_terminated_cb()
621 bt_le_per_adv_sync_get_index(sync), le_addr); in pa_terminated_cb()
636 char le_addr[BT_ADDR_LE_STR_LEN]; in pa_recv_cb() local
638 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in pa_recv_cb()
642 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in pa_recv_cb()
662 char le_addr[BT_ADDR_LE_STR_LEN]; in pa_biginfo_cb() local
[all …]
Dtest_past.c243 char le_addr[BT_ADDR_LE_STR_LEN]; in pa_sync_cb() local
247 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in pa_sync_cb()
251 bt_le_per_adv_sync_get_index(sync), le_addr, in pa_sync_cb()
264 char le_addr[BT_ADDR_LE_STR_LEN]; in pa_terminated_cb() local
266 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in pa_terminated_cb()
269 bt_le_per_adv_sync_get_index(sync), le_addr); in pa_terminated_cb()
334 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
341 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
345 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dmain.c205 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
215 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
216 printk("[DEVICE]: %s, ", le_addr); in scan_recv()
/Zephyr-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c1093 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_cb() local
1095 bt_addr_le_to_str(addr, le_addr, sizeof(le_addr)); in scan_cb()
1096 printk("%s: type = 0x%x, addr = %s\n", __func__, adv_type, le_addr); in scan_cb()
1176 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
1183 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
1187 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()
1248 char le_addr[BT_ADDR_LE_STR_LEN]; in per_adv_sync_sync_cb() local
1250 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in per_adv_sync_sync_cb()
1254 bt_le_per_adv_sync_get_index(sync), le_addr, in per_adv_sync_sync_cb()
1264 char le_addr[BT_ADDR_LE_STR_LEN]; in per_adv_sync_terminated_cb() local
[all …]
/Zephyr-latest/samples/bluetooth/iso_broadcast_benchmark/src/
Dreceiver.c82 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
102 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
105 le_addr, info->rssi); in scan_recv()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_broadcast_assistant.c107 char le_addr[BT_ADDR_LE_STR_LEN]; in bap_broadcast_assistant_scan_cb() local
109 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in bap_broadcast_assistant_scan_cb()
113 le_addr, broadcast_id, BT_GAP_PER_ADV_INTERVAL_TO_MS(info->interval), in bap_broadcast_assistant_scan_cb()
133 char le_addr[BT_ADDR_LE_STR_LEN]; in bap_broadcast_assistant_recv_state_cb() local
142 bt_addr_le_to_str(&state->addr, le_addr, sizeof(le_addr)); in bap_broadcast_assistant_recv_state_cb()
149 state->src_id, le_addr, state->adv_sid, state->broadcast_id, in bap_broadcast_assistant_recv_state_cb()
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/
Dcap_acceptor_broadcast.c583 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_check_and_sync_broadcast() local
606 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_check_and_sync_broadcast()
609 le_addr, info->sid); in scan_check_and_sync_broadcast()
/Zephyr-latest/subsys/bluetooth/host/shell/
Dbt.c512 char le_addr[BT_ADDR_LE_STR_LEN] = {0}; in passes_scan_filter() local
514 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in passes_scan_filter()
516 if (!is_substring(scan_filter.addr, le_addr)) { in passes_scan_filter()
539 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
555 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
561 le_addr, info->adv_type, info->rssi, name, in scan_recv()
1185 char le_addr[BT_ADDR_LE_STR_LEN]; in per_adv_sync_sync_cb() local
1188 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in per_adv_sync_sync_cb()
1196 bt_le_per_adv_sync_get_index(sync), le_addr, in per_adv_sync_sync_cb()
1215 char le_addr[BT_ADDR_LE_STR_LEN]; in per_adv_sync_terminated_cb() local
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.c562 char le_addr[BT_ADDR_LE_STR_LEN]; in baa_check() local
586 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in baa_check()
589 broadcast_id, le_addr, info->sid, info->interval); in baa_check()
1285 char le_addr[BT_ADDR_LE_STR_LEN]; in bap_broadcast_assistant_scan_cb() local
1287 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in bap_broadcast_assistant_scan_cb()
1289 le_addr, broadcast_id, BT_GAP_PER_ADV_INTERVAL_TO_MS(info->interval), in bap_broadcast_assistant_scan_cb()
/Zephyr-latest/tests/bsim/bluetooth/ll/cis/src/
Dmain.c127 char le_addr[BT_ADDR_LE_STR_LEN]; in scan_recv() local
134 bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr)); in scan_recv()
138 le_addr, info->adv_type, info->tx_power, info->rssi, name, in scan_recv()

12