<?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>Zephyr shell: Need to implement commands start with &amp;quot;:&amp;quot; prefix</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126738/zephyr-shell-need-to-implement-commands-start-with-prefix</link><description>nRF54L15 - NCS 3.02 - Toolchain 3.02 
 I&amp;#39;m exploring using the Zephyr Shell to replace my old legacy CLI interpreter which hooks onto a uart callback. I can set up custom commands but have hit a snag: 
 My legacy command line uses a prefix e.g. &amp;quot;:Cxxxx</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Jan 2026 08:17:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126738/zephyr-shell-need-to-implement-commands-start-with-prefix" /><item><title>RE: Zephyr shell: Need to implement commands start with ":" prefix</title><link>https://devzone.nordicsemi.com/thread/559858?ContentTypeID=1</link><pubDate>Thu, 29 Jan 2026 08:17:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a70a45c-0b69-4e68-9095-dff34f989acd</guid><dc:creator>Samruddhi Jadhav</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No problem. Please don&amp;#39;t hesitate to reach out if there are any more questions.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Samruddhi&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr shell: Need to implement commands start with ":" prefix</title><link>https://devzone.nordicsemi.com/thread/559804?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2026 15:11:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f7be79-319c-4360-ae88-ec4d501909bc</guid><dc:creator>Nick_RA</dc:creator><description>&lt;p&gt;I can&amp;#39;t change the format, but&amp;nbsp;&lt;span&gt;shell_set_bypass() looks like it does exactly what I want, thanks.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr shell: Need to implement commands start with ":" prefix</title><link>https://devzone.nordicsemi.com/thread/559788?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2026 13:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909e432f-0de2-4f6a-9802-9691b45061a9</guid><dc:creator>Samruddhi Jadhav</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Zephyr doesn&amp;#39;t allow or support commands with symbols like &amp;quot; : &amp;quot;. It only accepts normal letters/numbers. I can suggest a few solutions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) You might want to try to change from :Cxxxx to cmd Cxxxx or c Cxxxx.&lt;/p&gt;
&lt;p&gt;2) Try using &amp;quot;bypass mode&amp;quot; which basically tells Zephyr to temporarily stop interpreting commands and send all UART characters to your own parser. You get to keep your format of :Cxxxx. Zephyr provides shell_set_bypass() for this. By using standard shell command like legacy on / legacy off, you can enter/exit this mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Samruddhi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>