<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Terminating timeslot prematurely</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42169/terminating-timeslot-prematurely</link><description>Hi, 
 
 
 My app requests a timeslot in various conditions - sometimes the timeslot needed is long, sometimes short (unknown a priory) so it asks for the longest possible timeslot. 
 Is there a way to terminate an ongoing timeslot prematurely (when it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Jan 2019 13:22:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42169/terminating-timeslot-prematurely" /><item><title>RE: Terminating timeslot prematurely</title><link>https://devzone.nordicsemi.com/thread/164269?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 13:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4ddf21a-b05a-4c4d-b2c7-95f68e9001a8</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="27169" url="~/f/nordic-q-a/42169/terminating-timeslot-prematurely"]Is there a way to terminate an ongoing timeslot prematurely (when it is still ongoing)[/quote]
&lt;p&gt;Yes, that should be possible. Trigger the signal handler by setting e.g.&amp;nbsp;NVIC_SetPendingIRQ(TIMER0_IRQn), set some local variable and in the&amp;nbsp;&lt;span&gt;NRF_RADIO_CALLBACK_SIGNAL_TYPE_TIMER0, check if the local variable is set and set the callback to NRF_RADIO_SIGNAL_CALLBACK_ACTION_END to end the timeslot.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>