Home
last modified time | relevance | path

Searched refs:scan_cb (Results 1 – 21 of 21) sorted by relevance

/Zephyr-Core-3.7.0/samples/bluetooth/scan_adv/src/
Dmain.c22 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/
Dtester.c100 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/
Dwifi_winc1500.c153 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/
Desp_wifi_drv.c60 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/
Dgatt_cli.c343 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()
Drpr_srv.c1308 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/
Dmain.c1089 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/
Dtest_undirected_central.c206 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/
Dieee802154_shell_test.c30 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/
Dieee802154_shell.c29 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/
Dtest_proxy_sol.c98 static struct bt_le_scan_cb scan_cb = { variable
107 bt_le_scan_cb_register(&scan_cb); in tester_configure()
Dmesh_test.h210 int bt_mesh_test_wait_for_packet(bt_le_scan_cb_t scan_cb, struct k_sem *observer_sem,
Dmesh_test.c569 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()
Dtest_beacon.c380 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/
Deswifi_core.c229 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()
Deswifi.h64 scan_result_cb_t scan_cb; member
/Zephyr-Core-3.7.0/drivers/pcie/host/
Dshell.c344 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/
Dbap_scan_delegator_test.c484 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/
Desp.c411 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()
Desp.h260 scan_result_cb_t scan_cb; member
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/
Dbap_broadcast_assistant.c878 static struct bt_le_scan_cb scan_cb = { variable
1086 bt_le_scan_cb_register(&scan_cb); in bt_bap_broadcast_assistant_scan_start()