Hi,
For nRF52840 BLE, in the DFU (OTA) example (buttonless OTA):
../nRF5_SDK_15.3.0_59ac345/examples/ble_peripheral/ble_app_buttonless_dfu
How scanning is done? Or where and which function initializes scan parameters? Something similar to
nrf_ble_scan_init_t init_scan;
m_scan.scan_params.window = m_iCommandScanWindow_MS; //MIN_SCAN_WINDOW;
m_scan.scan_params.interval = SCAN_INTERVAL;
m_scan.scan_params.timeout = 0;
m_scan.scan_params.scan_phys = 0 ;
err_code = nrf_ble_scan_init(&m_scan, &init_scan, scan_evt_handler);
Is there any way that I can modify the scanning interval and scanning timeout?
Thank You,
David Zhou