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

Time before next transmittion

Hi

I remember seeing somewhere a function that will notify a certain amount of time before the next transmittion. 

I need to run a time critical procedure and I don't want it to be interrupted by the BLE. 

Is there any function I can use for that?

Thanks

Parents
  • Hi 

    How long will your time critical procedure last?

    Do you control when the procedure will run, or does this depend on external factors?

    The BLE SoftDevices provide a timeslot API that allows you to request a period in time where you are given full control over all peripherals and are guaranteed not to be interrupted. It sounds like this would be a good fit for your application. 

    The main limitation is that the timeslot request can be denied if the BLE stack has scheduled some activity at the same time. 

    For more information about the timeslot API please refer to this guide on infocenter. 

    Best regards
    Torbjørn

     

  • Hi Torbjorn, and thanks for the fast reply. 

    The procedure is not more than 100us. It is a custom communication protocol with a Sensor.

    I was aware to the time slot API, but I think it is a bit complicated for my needs, and I prefer to have a simpler solution.

    Thanks

Reply Children
Related