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

Radio Timeslot API s132 v5.0.0

Hi, I need to use the radio timeslot api in my application. I'm using nrf52 ,SDK 14.0.0 and softdevice version 5.0.0 . I've gone through the tutorial for setting up timeslot api. But was not able to follow some things as it is intended for SDK 11. I'm trying to set up the timeslot with ble_app_uart example, unable to locate the sys_evt_dispatch function as mentioned in the tutorial.

Could I get some help for using the timeslot api on the SDK 14.0.0 with sd 5.0.0

Parents
  • There have been changes to the SoftDevice handler library.

    In SDK 14.x you need to use the NRF_SDH_SOC_OBSERVER macro. Similar to:

    /* Define a nrf_sdh_soc event observer to receive SoftDevice system events. */ NRF_SDH_SOC_OBSERVER(m_sys_obs, 0, nrf_fstorage_sys_evt_handler, NULL);

    Let me know if you get into trouble.

  • So you can set the advertising timeout to 1 second. When you get a timeout you alternate between non connectable beacon and connectable advertising. So you have one second with non connectable beacon, then one second with connectable advertising, and so on. Will this work for you?

    You can have less than one second by using a timer. When the timer expires restart advertising and alternate between connectable beacon and connectable advertising.

    Timeslot gives you complete control over each single advertising packet.

    You will have to figure out what kind of requirements you have.

Reply
  • So you can set the advertising timeout to 1 second. When you get a timeout you alternate between non connectable beacon and connectable advertising. So you have one second with non connectable beacon, then one second with connectable advertising, and so on. Will this work for you?

    You can have less than one second by using a timer. When the timer expires restart advertising and alternate between connectable beacon and connectable advertising.

    Timeslot gives you complete control over each single advertising packet.

    You will have to figure out what kind of requirements you have.

Children
No Data
Related