Using the shell application, starting advertisement while the scanner is already running caused the controller to assert. The work which is supposed to set the radio active state to active is not executed before the radio ISR resets the radio active state, causing the assert. This can happen when a newly started role is initialized to setup the radio trx and the radio start code then detects that its hard realtime instant has passed (as time was spent setting up the ticker and ticker then firing thereafter) and hence cancels radio trx. Optionally (without this commit), dynamic calculation of preparation time can be disabled by setting a constant time in the define RADIO_TICKER_PREEMPT_PART_US in ctrl.c to avoid the assert. Change-id: Ib4415ec4b1bfdcc89aa0f3912e5a8fdd2e817fde Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| hal | ||
| hci | ||
| ll | ||
| util | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||