/Zephyr-Core-3.7.0/samples/bluetooth/scan_adv/src/ |
D | main.c | 22 static void scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in scan_cb() function 49 err = bt_le_scan_start(&scan_param, scan_cb); in main()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/privacy/legacy/src/ |
D | tester.c | 100 static void scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t type, struct net_buf_simple *ad) in scan_cb() function 131 err = bt_le_scan_start(BT_LE_SCAN_PASSIVE_CONTINUOUS, scan_cb); in tester_procedure()
|
/Zephyr-Core-3.7.0/drivers/wifi/winc1500/ |
D | wifi_winc1500.c | 153 scan_result_cb_t scan_cb; member 679 w1500_data.scan_cb = NULL; in reset_scan_data() 688 if (!w1500_data.scan_cb) { in handle_scan_result() 708 w1500_data.scan_cb(w1500_data.iface, 0, &result); in handle_scan_result() 717 w1500_data.scan_cb(w1500_data.iface, 0, NULL); in handle_scan_result() 726 if (!w1500_data.scan_cb) { in handle_scan_done() 731 w1500_data.scan_cb(w1500_data.iface, -EIO, NULL); in handle_scan_done() 750 w1500_data.scan_cb(w1500_data.iface, 0, NULL); in handle_scan_done() 991 if (w1500_data.scan_cb) { in winc1500_mgmt_scan() 995 w1500_data.scan_cb = cb; in winc1500_mgmt_scan() [all …]
|
/Zephyr-Core-3.7.0/drivers/wifi/esp32/src/ |
D | esp_wifi_drv.c | 60 scan_result_cb_t scan_cb; member 219 if (esp32_data.scan_cb) { in scan_done_handler() 220 esp32_data.scan_cb(esp32_wifi_iface, 0, &res); in scan_done_handler() 234 esp32_data.scan_cb(esp32_wifi_iface, 0, NULL); in scan_done_handler() 235 esp32_data.scan_cb = NULL; in scan_done_handler() 478 if (data->scan_cb != NULL) { in esp32_wifi_scan() 483 data->scan_cb = cb; in esp32_wifi_scan()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | gatt_cli.c | 343 static struct bt_le_scan_cb scan_cb = { variable 349 bt_le_scan_cb_register(&scan_cb); in bt_mesh_gatt_client_init() 354 bt_le_scan_cb_unregister(&scan_cb); in bt_mesh_gatt_client_deinit()
|
D | rpr_srv.c | 1308 static struct bt_le_scan_cb scan_cb = { variable 1327 bt_le_scan_cb_register(&scan_cb); in rpr_srv_init()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/ll/advx/src/ |
D | main.c | 1089 static void scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in scan_cb() function 1335 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() 1360 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() 1391 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() 1432 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() 1450 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() 1474 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() 1521 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() 1576 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() 1627 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main() [all …]
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/privacy/device/src/ |
D | test_undirected_central.c | 206 static struct bt_le_scan_cb scan_cb = { variable 283 bt_le_scan_cb_register(&scan_cb); in test_central()
|
/Zephyr-Core-3.7.0/tests/net/ieee802154/l2/src/ |
D | ieee802154_shell_test.c | 30 static struct net_mgmt_event_callback scan_cb; variable 243 net_mgmt_init_event_callback(&scan_cb, scan_result_cb, NET_EVENT_IEEE802154_SCAN_RESULT); in ZTEST() 244 net_mgmt_add_event_callback(&scan_cb); in ZTEST() 264 net_mgmt_del_event_callback(&scan_cb); in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/ |
D | ieee802154_shell.c | 29 static struct net_mgmt_event_callback scan_cb; variable 243 net_mgmt_init_event_callback(&scan_cb, scan_result_cb, in cmd_ieee802154_scan() 245 net_mgmt_add_event_callback(&scan_cb); in cmd_ieee802154_scan() 297 net_mgmt_del_event_callback(&scan_cb); in cmd_ieee802154_scan()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/ |
D | test_proxy_sol.c | 98 static struct bt_le_scan_cb scan_cb = { variable 107 bt_le_scan_cb_register(&scan_cb); in tester_configure()
|
D | mesh_test.h | 210 int bt_mesh_test_wait_for_packet(bt_le_scan_cb_t scan_cb, struct k_sem *observer_sem,
|
D | mesh_test.c | 569 int bt_mesh_test_wait_for_packet(bt_le_scan_cb_t scan_cb, struct k_sem *observer_sem, uint16_t wait) in bt_mesh_test_wait_for_packet() argument 580 err = bt_le_scan_start(&scan_param, scan_cb); in bt_mesh_test_wait_for_packet()
|
D | test_beacon.c | 380 static bool wait_for_beacon(bt_le_scan_cb_t scan_cb, uint16_t wait, in wait_for_beacon() argument 395 bool received = !bt_mesh_test_wait_for_packet(scan_cb, &observer_sem, wait); in wait_for_beacon()
|
/Zephyr-Core-3.7.0/drivers/wifi/eswifi/ |
D | eswifi_core.c | 229 eswifi->scan_cb(eswifi->iface, -EIO, NULL); in eswifi_scan() 240 eswifi->scan_cb(eswifi->iface, 0, &res); in eswifi_scan() 250 eswifi->scan_cb(eswifi->iface, 0, NULL); in eswifi_scan() 543 eswifi->scan_cb = cb; in eswifi_mgmt_scan()
|
D | eswifi.h | 64 scan_result_cb_t scan_cb; member
|
/Zephyr-Core-3.7.0/drivers/pcie/host/ |
D | shell.c | 344 static bool scan_cb(pcie_bdf_t bdf, pcie_id_t id, void *cb_data) in scan_cb() function 361 .cb = scan_cb, in cmd_pcie_ls()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/src/ |
D | bap_scan_delegator_test.c | 484 static struct bt_le_scan_cb scan_cb = { variable 762 bt_le_scan_cb_register(&scan_cb); in test_main_server_sync_client_rem() 801 bt_le_scan_cb_register(&scan_cb); in test_main_server_sync_server_rem()
|
/Zephyr-Core-3.7.0/drivers/wifi/esp_at/ |
D | esp.c | 411 if (dev->scan_cb) { in MODEM_CMD_DIRECT_DEFINE() 412 dev->scan_cb(dev->net_iface, 0, &res); in MODEM_CMD_DIRECT_DEFINE() 1083 dev->scan_cb(dev->net_iface, 0, NULL); in esp_mgmt_scan_work() 1084 dev->scan_cb = NULL; in esp_mgmt_scan_work() 1095 if (data->scan_cb != NULL) { in esp_mgmt_scan() 1103 data->scan_cb = cb; in esp_mgmt_scan()
|
D | esp.h | 260 scan_result_cb_t scan_cb; member
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/ |
D | bap_broadcast_assistant.c | 878 static struct bt_le_scan_cb scan_cb = { variable 1086 bt_le_scan_cb_register(&scan_cb); in bt_bap_broadcast_assistant_scan_start()
|