<?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 I  use UART in BLE service ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/337/can-i-use-uart-in-ble-service</link><description>Hello everyone , can i use UART which is not a services or characteristic in bluetooth low energy . It will result in some question or bad effection?
By the way . why I cannot use sd_nvic_EnableIRQ(UART0_IRQn) function instead NVIC_EnableIRQ(UART0_IRQn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Aug 2013 08:46:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/337/can-i-use-uart-in-ble-service" /><item><title>RE: Can I  use UART in BLE service ?</title><link>https://devzone.nordicsemi.com/thread/1765?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2013 08:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8ca9992-c81c-4ced-9a74-52e158db8985</guid><dc:creator>Adavid</dc:creator><description>&lt;p&gt;OK ...thanks a lot for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I  use UART in BLE service ?</title><link>https://devzone.nordicsemi.com/thread/1764?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2013 08:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:313d5153-bd98-41de-b92d-9c4b944f1426</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;I&amp;#39;m having a little trouble understanding exactly what you ask about, but there isn&amp;#39;t any major problems with using UART while in a BLE connection. However, what you need to be aware of is the fact that the CPU is blocked for each connection event, and this can possibly cause lost bytes on the UART interface if hardware flow control is not used, or if the other end keeps sending bytes after RTS has been raised.&lt;/p&gt;
&lt;p&gt;As for the sd_* API functions, these are only usable while the softdevice is enabled. These should most definitely be usable from a Bluetooth service. Do you see them returning any error codes if they don&amp;#39;t work? As with all softdevice API functions, you should make sure to store the error code, and verify that it succeeds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>