<?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>Cannot use Serial after BLE stack is initialized</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71393/cannot-use-serial-after-ble-stack-is-initialized</link><description>My device has BLE and I can successfully use any example (for example ble_peripheral/ble_app_bps ) to advertise different services. 
 It also has a serial port from where I can successfully read data using peripheral/serial example. 
 
 However my task</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Feb 2021 12:57:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71393/cannot-use-serial-after-ble-stack-is-initialized" /><item><title>RE: Cannot use Serial after BLE stack is initialized</title><link>https://devzone.nordicsemi.com/thread/293332?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 12:57:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d6d6f8b-517d-4614-82f5-d1399ce67815</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using? I would recommend you to look into using the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_libuarte.html"&gt;libUARTE library&lt;/a&gt; over nrf_serial, if this is included in the SDK version you are using. nrf_serial have been deprecated and removed in SDK 17.0.x, as the libUARTE library has the same features and a lot more development/test coverage.&lt;/p&gt;
&lt;p&gt;If you still want to proceed with nrf_serial, please post code snippets of how you initialize and configure the serial library, and how/where you call the nrf_serial_read function (or preferably post the while project).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>