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

How long timeslot can be request max ?

Hello, I use nrf51822 for my project. I have to collect data via BLE nus from phone, and then some time I need use a GPIO to simulate 7816 protocol, in that time I need 1 second cann't break by SoftDevice , And bluetooth can't disconnect from phone. In this case i think use Timeslot can meet the demands, but how long the timeslot can be request max? Or have any other solution can meet the demands? Thank you response !

  • Hi,

    According to the s130 SoftDevice Specification you can request a timeslot of maximum 100 ms, but it can be successively extended to a maximum of 128 s.

    This will not stop all SoftDevice operation, but it guarantees that the SoftDevice does not use peripherals (including the radio) during the timeslot. Obviously when requesting an extension of the timeslot the SoftDevice will be invoked for a short amount of time for calculating whether the extension should be granted or not.

    Regards, Terje

Related