<?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>Threads and BLE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95501/threads-and-ble</link><description>Hello, 
 I&amp;#39;ve been running into some issues while using BLE and threads.\ 
 I have two threads that run every &amp;#39;n&amp;#39; seconds. Each thread suspends itself when it is done doing what it has to do, which is to notify some data to a central device using BLE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jan 2023 13:26:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95501/threads-and-ble" /><item><title>RE: Threads and BLE</title><link>https://devzone.nordicsemi.com/thread/404106?ContentTypeID=1</link><pubDate>Tue, 10 Jan 2023 13:26:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b6bcdc6-f718-4286-a357-bc6e6b075055</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Hector,&lt;/p&gt;
&lt;p&gt;Generally, there should not be any issue making Bluetooth API calls from different threads. There&amp;nbsp;is no&amp;nbsp;bt_svc_notify() in the SDK (Zephyr Bluetooth APIs), though. Is this your own function, or do you mean another (perhaps&amp;nbsp;bt_gatt_notify())?&lt;/p&gt;
&lt;p&gt;Also, what do you see in the log before the reset? If you enable debug logging, you will in many cases find useful information about the fault in the log.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>