Hi, I want to use the BLE stack with an existing software that has a scheduler, I want to achieve a scheduling timeline as in this image
How can I achieve this using the nrf SDK?
Hi, I want to use the BLE stack with an existing software that has a scheduler, I want to achieve a scheduling timeline as in this image
How can I achieve this using the nrf SDK?
Hi,
The Scheduler doesn't have a concept of priorities, events are are always executed in the order they are put into the queue. You would therefore have to add them to the queue in the specific order that you would want to execute the task.
best regards
Jared
But I don't wanna use the event scheduler, I have my own which ,by the way, not even event driven.
I want to use the BLE Stack without using any interrupts (Maybe only one for the radio?). What Api can I use for that?
Is there any escape from the event driven behavior of the SDK?
Hi,
mohma said:But I don't wanna use the event scheduler,
Then i'm not sure if you any alternatives left. The Softdevice is meant to be used with interrupts. A task already running can then be preempted based on the interrupt priority. The scheduler is meant to be used to minimize the time spent in interrupt context.