This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf51822 gzll used SoftDevice API

I need to do this, A product ble and Gazell should be used. Switch bluetooth or Gazell mode by pressing the button, but ble and Gazell not used the same time. When I switch to Gazell mode Because of there is no initialization ble protocol stack, so that "app_sched_execute" invokes the error.

I hope used the SoftDevice API whether in the ble or Gazell mode. what shall I do?

  1. as follow, it is possible to have Gazell running in the timeslots. can I make the ble not work?

devzone.nordicsemi.com/.../

  • Hi Cesar,

    I don't think app_scheduler.c use any softdevice API call. If there is no event queued that require any call to softdevice API, you should be fine.

    Could you check which error is thrown ?

    Note that if you don't plan to use app scheduler, you can always use a flag to enable or disable the call to app_sched_execute() whether the softdevice is used or not.

    • Yes, you can use Gazell when in timeslot. But for your application I don't think you need to do Gazell with timeslot.
Related