<?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>Openthred Commissioner CLI commands Invalid</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102143/openthred-commissioner-cli-commands-invalid</link><description>Hello, 
 I&amp;#39;m following this link https://openthread.io/guides/build/commissioning to test Openthread&amp;#39;s on-mesh commissioning using the CLI. But the &amp;#39;ot commissioner star&amp;#39; on any other commissioner cli commands is turning out to be invalid. I get an &amp;#39;Error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Jul 2023 14:53:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102143/openthred-commissioner-cli-commands-invalid" /><item><title>RE: Openthred Commissioner CLI commands Invalid</title><link>https://devzone.nordicsemi.com/thread/438340?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 14:53:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd232e0c-15b7-4aec-9420-dcadbd69edad</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using nRF Connect SDK v4.2.1 and the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/nrf/samples/openthread/cli/README.html"&gt;Thread CLI&lt;/a&gt; sample. I have not made any changes to the sample, so it is identical to the one in the SDK: &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.4.1/samples/openthread/cli"&gt;https://github.com/nrfconnect/sdk-nrf/tree/v2.4.1/samples/openthread/cli&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Can you share the exact commands you are using and log?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Openthred Commissioner CLI commands Invalid</title><link>https://devzone.nordicsemi.com/thread/438217?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 10:23:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97249d96-34ab-442e-a075-e561ac9b92b9</guid><dc:creator>MrsIoT</dc:creator><description>&lt;p&gt;I had&amp;nbsp;&lt;span&gt;CONFIG_OPENTHREAD_COMMISSIONER enabled when it did not work. Will it possible to see your proj.conf file? Maybe I have something else that is wrong there. In addition, just wanted to give some background regarding the hardware; I&amp;#39;m using the NRF52840 dk as the commissioner device and a Xiao Ble as the joiner (the joiner works).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Lastly it would be helpful to see which cli project you are using or how your src code looks if any?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Openthred Commissioner CLI commands Invalid</title><link>https://devzone.nordicsemi.com/thread/438194?ContentTypeID=1</link><pubDate>Wed, 26 Jul 2023 09:19:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:febc917c-99b5-4c69-a653-8e2555a7f8e8</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Rafay,&lt;/p&gt;
&lt;p&gt;Do you mean that commissioner was already enabled when it did not work, or that you have enabled it now?&lt;/p&gt;
&lt;p&gt;I just tested the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.1/nrf/samples/openthread/cli/README.html"&gt;Thread CLI&lt;/a&gt; sample following the guide you linked, and I could not reproduce your issue:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$ ot dataset init new
Done
uart:~$ ot dataset
Active Timestamp: 1
Channel: 15
Channel Mask: 0x07fff800
Ext PAN ID: 4384295236d261b4
Mesh Local Prefix: fdbb:569e:ca59:471c::/64
Network Key: 9060bd9c1146535ee87a8747788b05cd
Network Name: OpenThread-9809
PAN ID: 0x9809
PSKc: add6ea6b31bbb0c97a92e1d80f144171
Security Policy: 672 onrc
Done
uart:~$ ot dataset commit active
Done
uart:~$ ot ifconfig up
Done
uart:~$ ot thread start
Done
uart:~$ ot state
leader
Done
uart:~$ ot commissioner start
Commissioner: petitioning
Done
Commissioner: active&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_OPENTHREAD_COMMISSIONER is enabled by default in the Thread CLI sample.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Openthred Commissioner CLI commands Invalid</title><link>https://devzone.nordicsemi.com/thread/438120?ContentTypeID=1</link><pubDate>Tue, 25 Jul 2023 16:12:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffb78fec-eb0b-46f3-b2e3-60e7f7121923</guid><dc:creator>MrsIoT</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The commissioner functionality was enabled.&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Rafay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Openthred Commissioner CLI commands Invalid</title><link>https://devzone.nordicsemi.com/thread/437787?ContentTypeID=1</link><pubDate>Mon, 24 Jul 2023 07:18:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28eb1083-c815-4feb-b943-33055ff2f574</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I suspect that commissioner functionality is not enabled. Please try setting this in prj.conf to enable commissioner:&lt;/p&gt;
&lt;p&gt;CONFIG_OPENTHREAD_COMMISSIONER=y&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>