<?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>Analyzing CLI project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90544/analyzing-cli-project</link><description>Hi, 
 I have built and tested the CLI sample project on nRF52840 DK as well as a custom module. Now I want to extract the parts used for thread commissioning from it. I tried reverse-engineering the project, but I couldn&amp;#39;t go very far. The main() function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Aug 2022 11:24:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90544/analyzing-cli-project" /><item><title>RE: Analyzing CLI project</title><link>https://devzone.nordicsemi.com/thread/380350?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 11:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:967254e1-fbc1-4715-936a-51a229d89eda</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have a look at&lt;/p&gt;
&lt;p&gt;&lt;a title="https://openthread.io/reference" href="https://openthread.io/reference" rel="noopener noreferrer" target="_blank"&gt;https://openthread.io/reference&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a title="https://openthread.io/codelabs/openthread-apis#0" href="https://openthread.io/codelabs/openthread-apis#0" rel="noopener noreferrer" target="_blank"&gt;https://openthread.io/codelabs/openthread-apis#0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Basically, each CLI command is tied to an OpenThread API call&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Analyzing CLI project</title><link>https://devzone.nordicsemi.com/thread/379619?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 06:33:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8add1bd9-2bcf-4325-8b45-858fc6808b6c</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;Many thanks for your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. I do understand about preceding the commands with &amp;#39;ot&amp;#39;. That is like application level. What I want is like back end. How the commands are executed under the hood of CLI program. My requirement is to come up with a simple program which handles the commissioning part by itself. So I am trying to lift the code sections from CLI instead of developing everything from scratch.&lt;/p&gt;
&lt;p&gt;2. I have looked into this, but this is again explanation of the commands and the result in application level isnt it? As I mentioned before, I am after the inner working of the CLI program.&lt;/p&gt;
&lt;p&gt;I tried using Debug mode to trace the program execution path.&amp;nbsp;Still it seems a long way to do it like this.&lt;/p&gt;
&lt;p&gt;I am thinking that the coap_client/server projects may be more useful for me for this task. What is your opinion?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Analyzing CLI project</title><link>https://devzone.nordicsemi.com/thread/379548?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 13:15:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5e0ce33-1979-4173-b547-cee67b959c96</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. OpenThread CLI is integrated into the Zephyr shell. To indicate a Thread command, the&amp;nbsp;&lt;code&gt;&lt;span&gt;ot&lt;/span&gt;&lt;/code&gt;&amp;nbsp;keyword needs to precede the command.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Have a look at &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_thread_commissioning.html"&gt;OpenThread commissioning&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>