<?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>when to start a ble service thread and when can i stop it</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103739/when-to-start-a-ble-service-thread-and-when-can-i-stop-it</link><description>hello Nordic 
 i am working with nrf52840, nrf52832 with ncs 2.3.0 
 working with softdevice controler. 
 i wish to avoid thread running on my system when not required to do so. an example of that is a ble service thread i have which, obviously relevant</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Oct 2023 10:40:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103739/when-to-start-a-ble-service-thread-and-when-can-i-stop-it" /><item><title>RE: when to start a ble service thread and when can i stop it</title><link>https://devzone.nordicsemi.com/thread/448792?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2023 10:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd442946-5a1e-496f-ba01-4cec418f7b1c</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user=""] i am not sure if initiating it at &amp;quot;connect&amp;quot; callback and flag to end it gracfuly at disconnect is safe enough.[/quote]
&lt;p&gt;It will be safe to kill the thread when the disconnect event happens.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: when to start a ble service thread and when can i stop it</title><link>https://devzone.nordicsemi.com/thread/447406?ContentTypeID=1</link><pubDate>Mon, 25 Sep 2023 09:22:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be1c273d-37bb-4080-942b-c88f3be89839</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;i did manage something for now but i am not sure its best practice and i am still hoping for some insights&lt;/p&gt;
&lt;p&gt;if you don&amp;#39;t have any on the subject you can close the thread&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: when to start a ble service thread and when can i stop it</title><link>https://devzone.nordicsemi.com/thread/446651?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2023 12:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:345398a3-5c05-4b12-998d-bbd761652acf</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Ziv,&lt;br /&gt;&lt;br /&gt;Sorry for late reply,&amp;nbsp; did you find a solution or do you still need a answer?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>