Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/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-latest/drivers/wifi/winc1500/
Dwifi_winc1500.c153 scan_result_cb_t scan_cb; member
678 w1500_data.scan_cb = NULL; in reset_scan_data()
687 if (!w1500_data.scan_cb) { in handle_scan_result()
707 w1500_data.scan_cb(w1500_data.iface, 0, &result); in handle_scan_result()
716 w1500_data.scan_cb(w1500_data.iface, 0, NULL); in handle_scan_result()
725 if (!w1500_data.scan_cb) { in handle_scan_done()
730 w1500_data.scan_cb(w1500_data.iface, -EIO, NULL); in handle_scan_done()
749 w1500_data.scan_cb(w1500_data.iface, 0, NULL); in handle_scan_done()
989 if (w1500_data.scan_cb) { in winc1500_mgmt_scan()
993 w1500_data.scan_cb = cb; in winc1500_mgmt_scan()
[all …]
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.h71 scan_result_cb_t scan_cb; member
Dnxp_wifi_drv.c707 if (g_mlan.scan_cb) { in nxp_wifi_process_results()
708 g_mlan.scan_cb(g_mlan.netif, 0, &res); in nxp_wifi_process_results()
717 if (g_mlan.scan_cb) { in nxp_wifi_process_results()
718 g_mlan.scan_cb(g_mlan.netif, 0, NULL); in nxp_wifi_process_results()
721 g_mlan.scan_cb = NULL; in nxp_wifi_process_results()
744 if (g_mlan.scan_cb != NULL) { in nxp_wifi_scan()
749 g_mlan.scan_cb = cb; in nxp_wifi_scan()
759 g_mlan.scan_cb = NULL; in nxp_wifi_scan()
808 g_mlan.scan_cb = NULL; in nxp_wifi_scan()
819 g_mlan.scan_cb = NULL; in nxp_wifi_scan()
/Zephyr-latest/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-latest/tests/bsim/bluetooth/ll/advx/src/
Dmain.c1090 static void scan_cb(const bt_addr_le_t *addr, int8_t rssi, uint8_t adv_type, in scan_cb() function
1336 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
1361 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
1392 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
1433 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
1451 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
1475 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
1522 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
1577 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
1628 err = bt_le_scan_start(&scan_param, scan_cb); in test_scanx_main()
[all …]
/Zephyr-latest/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-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c73 scan_result_cb_t scan_cb; member
276 if (esp32_data.scan_cb) { in scan_done_handler()
277 esp32_data.scan_cb(esp32_wifi_iface, 0, &res); in scan_done_handler()
291 esp32_data.scan_cb(esp32_wifi_iface, 0, NULL); in scan_done_handler()
292 esp32_data.scan_cb = NULL; in scan_done_handler()
600 if (data->scan_cb != NULL) { in esp32_wifi_scan()
605 data->scan_cb = cb; in esp32_wifi_scan()
/Zephyr-latest/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-latest/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-latest/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.h211 int bt_mesh_test_wait_for_packet(bt_le_scan_cb_t scan_cb, struct k_sem *observer_sem,
Dmesh_test.c582 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
593 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-latest/drivers/wifi/eswifi/
Deswifi_core.c231 eswifi->scan_cb(eswifi->iface, -EIO, NULL); in eswifi_scan()
242 eswifi->scan_cb(eswifi->iface, 0, &res); in eswifi_scan()
252 eswifi->scan_cb(eswifi->iface, 0, NULL); in eswifi_scan()
545 eswifi->scan_cb = cb; in eswifi_mgmt_scan()
Deswifi.h64 scan_result_cb_t scan_cb; member
/Zephyr-latest/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-latest/tests/bsim/bluetooth/audio/src/
Dbap_scan_delegator_test.c478 static struct bt_le_scan_cb scan_cb = { variable
766 bt_le_scan_cb_register(&scan_cb); in test_main_server_sync_client_rem()
805 bt_le_scan_cb_register(&scan_cb); in test_main_server_sync_server_rem()
/Zephyr-latest/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()
1091 dev->scan_cb(dev->net_iface, 0, NULL); in esp_mgmt_scan_work()
1092 dev->scan_cb = NULL; in esp_mgmt_scan_work()
1103 if (data->scan_cb != NULL) { in esp_mgmt_scan()
1111 data->scan_cb = cb; in esp_mgmt_scan()
Desp.h260 scan_result_cb_t scan_cb; member
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_broadcast_assistant.c916 static struct bt_le_scan_cb scan_cb = { variable
1147 bt_le_scan_cb_register(&scan_cb); in bt_bap_broadcast_assistant_scan_start()