Hello,
We have an application based on ble_app_blinky that is actively scanning for advertised packets but does not attempt to connect. We have a second application based on usbd_ble_uart that will broadcast (BLE advertising) small packets of data that are received over USB.
To change our advertised packets, we use sd_ble_gap_adv_set_configure(). We follow this with a call to nrf_delay_ms(500) to ensure the broadcaster has advertised for at least half a second before changing the packet data again. Unfortunately, this is too slow for us to use realistically, so we want to speed up the rate at which we call sd_ble_gap_adv_set_configure(). However, dropping nrf_delay_ms to 250ms is too fast and the Blinky-based application will miss packets despite setting the scan interval and scan window to 20ms.
Is there a way to improve this? Again, we want a way to rapidly change advertised packets and for the receiver not to miss any of them. This is sort of a beacon-type application.
Thank you!
Note: we are developing using nRF5 SDK 15.0.0 on the nRF52840 with SoftDevice 140. Segger ES is the dev environment.
