<?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>Making nrf cli application softdevice aware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38759/making-nrf-cli-application-softdevice-aware</link><description>I&amp;#39;m attempting to make cli application to load from after the softdevice and based on a command enable/disable the BLE functionality. Is there any simple way to do this? Are there any known challenges to this kind of usage? 
 I have so far done the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Sep 2018 09:27:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38759/making-nrf-cli-application-softdevice-aware" /><item><title>RE: Making nrf cli application softdevice aware</title><link>https://devzone.nordicsemi.com/thread/149975?ContentTypeID=1</link><pubDate>Mon, 24 Sep 2018 09:27:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50507a95-338c-49dd-97fa-e4cc104aa94d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I have gone&amp;nbsp;through the process of adding the softdevice to the CLI project previously, and don&amp;#39;t see anything missing in the steps you outlined. Maybe you can use&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/lib_hardfault.html?cp=4_0_0_3_20"&gt;Hardfault handling&lt;/a&gt;&amp;nbsp;library to determine what triggered it (remember to include both hardfault_handler_gcc.c and&amp;nbsp;hardfault_implementation.c).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making nrf cli application softdevice aware</title><link>https://devzone.nordicsemi.com/thread/149892?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 21:18:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b573197-b1b1-4c89-a921-deb24a225901</guid><dc:creator>Anantha Keshava</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Thanks for the response. I saw the cli not coming up which was why I started debugging. I believe the Hardfault is hit no matter whether I initialize the Softdevice or not.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll attempt the other example suggested by you. I was only hoping not to port all of my other commands I had written on the cli example to another version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making nrf cli application softdevice aware</title><link>https://devzone.nordicsemi.com/thread/149853?ContentTypeID=1</link><pubDate>Fri, 21 Sep 2018 13:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9e58a5-e85f-47ec-aade-3778d8aa7baa</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looks like you have performed the necessary changes already. The hardfault might be explained by the fact that you single step through the code, see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/17/how-can-i-debug-a-softdevice-application"&gt;&amp;quot;How can I debug a softdevice application&amp;quot;&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/ble_sdk_app_interactive.html?cp=4_0_0_4_1_1_1"&gt;Experimental: BLE Interactive Command Line Interface Example&lt;/a&gt;&amp;nbsp;might be a better starting point if you want to create a BLE application with CLI support, or have you tried it already?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Making nrf cli application softdevice aware</title><link>https://devzone.nordicsemi.com/thread/149715?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 22:33:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66de8959-d1c3-42e3-bc8d-0a699fdeaa50</guid><dc:creator>Anantha Keshava</dc:creator><description>&lt;p&gt;Currently when I run this application, I see the application hits hardfault at random places depending on how far I step through and allow to run.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>