<?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>Send message via UART without CLI overhead??</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79437/send-message-via-uart-without-cli-overhead</link><description>Hello, 
 
 I have been building an application using the CLI and I am thankful for the CLI example and how well it works. I am wondering is it possible to use the CLI but then also just send messages via UART that don&amp;#39;t contain all of the usual CLI overhead</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Sep 2021 12:58:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79437/send-message-via-uart-without-cli-overhead" /><item><title>RE: Send message via UART without CLI overhead??</title><link>https://devzone.nordicsemi.com/thread/330675?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 12:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60e2b7ac-5f2c-4b89-84d0-a4910baf3b8c</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just to make sure I understand your use-case: you want to keep the CLI-functionality in the application, but additionally you want UART communication without the CLI overhead information?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can either enable a second UART instance to use for communication. Or you can&amp;nbsp;enable CLI over RTT, which the CLI sample already supports, and then use the available UART instance for direct communication.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, it sounds like you might just want to add new CLI commands, which you can do by modifying the CLI library.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not that familiar with the nRF5 SDK CLI Library, but if you want assistance in adding new CLI commands, let me know and I will redirect you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send message via UART without CLI overhead??</title><link>https://devzone.nordicsemi.com/thread/330318?ContentTypeID=1</link><pubDate>Mon, 20 Sep 2021 14:22:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e52f8332-b774-425c-ab9a-c4fc4e53dfd6</guid><dc:creator>jablackann</dc:creator><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you please share what if all methods are available?&amp;nbsp; It would be great to know which different options are available for the different versions of the CLI.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send message via UART without CLI overhead??</title><link>https://devzone.nordicsemi.com/thread/329491?ContentTypeID=1</link><pubDate>Tue, 14 Sep 2021 15:18:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffa20745-e1cc-4545-a8d7-7f2d63fac018</guid><dc:creator>jablackann</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We used the example found in SDK 17.0.2 which is located in examples-&amp;gt;peripheral-&amp;gt;cli-&amp;gt;pca10040.&amp;nbsp; Do you need any other info?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Send message via UART without CLI overhead??</title><link>https://devzone.nordicsemi.com/thread/329489?ContentTypeID=1</link><pubDate>Tue, 14 Sep 2021 15:05:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d838d0a-9b60-4394-bf90-0c4e12982fea</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I am just wondering if it is possible to use the CLI as normal but then also send messages out the UART without the extra CLI starting text.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;Yes, this is absolutely possible. If it&amp;#39;s easy to implement depends on how it&amp;#39;s configured now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you point me to the CLI example you have based your application on?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>