<?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>How to add some user shell command into the matter light-bulb demo ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117604/how-to-add-some-user-shell-command-into-the-matter-light-bulb-demo</link><description>Could you tell me the way to add user defined shell command into the matter light-bulb demo ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Dec 2024 12:00:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117604/how-to-add-some-user-shell-command-into-the-matter-light-bulb-demo" /><item><title>RE: How to add some user shell command into the matter light-bulb demo ?</title><link>https://devzone.nordicsemi.com/thread/516498?ContentTypeID=1</link><pubDate>Mon, 30 Dec 2024 12:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cd520e5-5f45-4b0c-a919-ac8655a4a2bf</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Matter Light Switch sample has custom shell commands implemented, you can take inspiration from this: &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/samples/matter/light_switch/src/shell_commands.cpp"&gt;light_switch/src/shell_commands.cpp&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For something more minimal, see the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/subsys/shell/shell_module/README.html#shell-module"&gt;Zephyr custom shell module sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>