<?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>CLI with RTT Show all commands</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80476/cli-with-rtt-show-all-commands</link><description>Using SDK 17 
 There must be a way to show all commands in RTT without needing the tab to work right? 
 Ive been digging through the code but don&amp;#39;t see where the magic happens. 
 I assume I&amp;#39;d need to add a top level &amp;#39;Help&amp;#39; command for this to work? 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Oct 2021 19:02:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80476/cli-with-rtt-show-all-commands" /><item><title>RE: CLI with RTT Show all commands</title><link>https://devzone.nordicsemi.com/thread/333593?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 19:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5e09284-6ae7-4f24-bd74-4af9be1b2eae</guid><dc:creator>Keith V</dc:creator><description>&lt;p&gt;apparently you have to have echo turned on, or it skips it, per line 5 above.&lt;/p&gt;
&lt;p&gt;I still think there should be a better default&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI with RTT Show all commands</title><link>https://devzone.nordicsemi.com/thread/333581?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 15:53:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e967613-8a6e-4d78-8f38-be62c27121c2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I think you somehow is not sending a tab (&amp;#39;\t&amp;#39;), this should be handled in nrf_cli.c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;                switch (data)
                {
                    ...
                    case &amp;#39;\t&amp;#39;:                          /* TAB */
                        if (cli_flag_echo_is_set(p_cli))
                        {
                            cli_tab_handle(p_cli);
                        }
                        break;
                    ...
                }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Maybe you can set a breakpoint in&amp;nbsp;switch(data) to see what value you are actually typing when pressing tab?&lt;br /&gt;&lt;a href="https://www.asciitable.com"&gt;https://www.asciitable.com&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI with RTT Show all commands</title><link>https://devzone.nordicsemi.com/thread/333567?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 14:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33da1b9c-e887-4b90-a27a-87a466f3d7e5</guid><dc:creator>Keith V</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2604.PuTTY.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI with RTT Show all commands</title><link>https://devzone.nordicsemi.com/thread/333565?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 14:43:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57bc5567-4472-432a-a909-d917bc3d97fb</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Do you have a screenshot?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI with RTT Show all commands</title><link>https://devzone.nordicsemi.com/thread/333563?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 14:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44cf5f13-5042-4414-a4bb-b1cd271bf35b</guid><dc:creator>Keith V</dc:creator><description>&lt;p&gt;I have done that, unfortunately it doesn&amp;#39;t actually work. Putty displays ^I and nothing else happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI with RTT Show all commands</title><link>https://devzone.nordicsemi.com/thread/333458?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 10:55:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f67126e9-9554-4175-81b2-9b684010de65</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]There must be a way to show all commands in RTT without needing the tab to work right?[/quote]
&lt;p&gt;I assume you mean CLI commands, unfortunately there is no such command. So you need to follow:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/cli_example.html#cli_example_testing"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/cli_example.html#cli_example_testing&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CLI with RTT Show all commands</title><link>https://devzone.nordicsemi.com/thread/333324?ContentTypeID=1</link><pubDate>Fri, 08 Oct 2021 20:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61567cae-93b7-40c6-b526-f8a641bb8b67</guid><dc:creator>YngoSensei</dc:creator><description>&lt;p&gt;&lt;a href="https://wiki.segger.com/RTT#RTT_Communication"&gt;https://wiki.segger.com/RTT#RTT_Communication&lt;/a&gt;&lt;br /&gt;これは役に立つかな?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>