<?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>Can we use UART in a ble interrupt ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13569/can-we-use-uart-in-a-ble-interrupt</link><description>I have a ble central device. Sending commands to UART in main() works well. Sending in on_ble_evt() doesn&amp;#39;t work (only the first char).
But I see in your examples that you use UART in ble_nus_c_evt_handler() 
 So when can we use UART and when can we</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 30 Apr 2016 06:02:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13569/can-we-use-uart-in-a-ble-interrupt" /><item><title>RE: Can we use UART in a ble interrupt ?</title><link>https://devzone.nordicsemi.com/thread/51765?ContentTypeID=1</link><pubDate>Sat, 30 Apr 2016 06:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ceb7314-0590-4eca-86ef-2e92f60e9f2e</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;hi
this should work but that&amp;#39;s exactly what uart_fifo is for.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we use UART in a ble interrupt ?</title><link>https://devzone.nordicsemi.com/thread/51764?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2016 13:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb6268eb-5672-4e87-abab-209d44b42de6</guid><dc:creator>wizath</dc:creator><description>&lt;p&gt;You can always use scheduler to queue the data and send it in main loop.&lt;/p&gt;
&lt;p&gt;Mini tutorial @ &lt;a href="https://devzone.nordicsemi.com/question/17526/examples-using-the-scheduler/?answer=17595#post-id-17595"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can we use UART in a ble interrupt ?</title><link>https://devzone.nordicsemi.com/thread/51763?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2016 13:11:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1d820d9-b8c7-4dcd-b879-62117cec3071</guid><dc:creator>Pavan kumar</dc:creator><description>&lt;p&gt;I guess first you need to make sure weather you are using a uart_fifo.c or simple_uart  generally simple_uart will return this problem like just printing the first char&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>