<?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>Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61739/zigbee-cli-communication-failure</link><description>Hello, I am able to use the Zigbee CLI Agent and send some commands. I am using the zb-cli-wrapper python package to send commands from python. I wrote an application that configures the module as a zigbee coordinator. If it is already configured as such</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jul 2020 12:48:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61739/zigbee-cli-communication-failure" /><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/259911?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 12:48:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdae9898-9306-4165-b33f-f63c14dd1b98</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. We are in the middle of vacation season here in Norway. You can create a private ticket here in Devzone and send your code for review to us.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/258463?ContentTypeID=1</link><pubDate>Sun, 05 Jul 2020 17:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdec8666-bd79-4a1b-a8b9-08a84a0aee3e</guid><dc:creator>DaKa</dc:creator><description>&lt;p&gt;Hello Marjeris,&lt;/p&gt;
&lt;p&gt;I wrote a little python example script that you can run to check if you get the same issue than me. How can I send it to you? I actually need to send you the python package I made in order to make the script work but it is private.&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/256445?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 12:36:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d38c510-2471-415a-974c-2e1bd934fc77</guid><dc:creator>DaKa</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I am actually not using zb-cli-wrapper anymore. I wrote my own serial python module to interface with the BMD340 module. I still work on it so it is a bit hard to say if the problem is there still. I will let you know if the same behavior shows up when I will be able to test it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/256142?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 09:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faf308bd-3543-4aca-baa0-2d6c60bcc65a</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Damien,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. It&amp;#39;s a little bit difficult for me to guess what is going wrong here without more information. Could you please attach:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Your python script (or a modified version of the script that generates the same behavior, you don&amp;#39;t need to include all functionality in your application, just enough so I can reproduce the issue).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This way I can reproduce and debug at my end and be able to help you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/254969?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 10:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e0c34a7-b94a-4127-8477-272a0e883dc1</guid><dc:creator>DaKa</dc:creator><description>&lt;p&gt;Hi, I guess you didn&amp;#39;t see what I replied... Please can you help me?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/254164?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 08:04:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:402ddd8a-7905-4d49-8635-b005db182f6c</guid><dc:creator>DaKa</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I still struggle to find the issue. I am not sure but maybe something goes wrong with threading. The memory is locked by the cli device thread when it handles a new line. But when sending a command using the write methods, the memory is never locked. Could that be that because it is not locked, it mixes stuff and sends a wrong command? I am not in ease with threading so... it is a bit hard for me to understand exactly how it works.&lt;br /&gt;&lt;br /&gt;BR,&lt;br /&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/252910?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2020 07:39:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd3f742f-4384-4f03-9872-6f3dd85c787b</guid><dc:creator>DaKa</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have a sniffer unfortunately.&amp;nbsp;&lt;br /&gt;Following are the logs to see the &amp;quot;strange behaviors&amp;quot; &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f604.svg" title="Smile"&gt;&amp;#x1f604;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;raw log from the newline handler in zb-cli-wrapper:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;07:53:58.039 send: b&amp;#39;log enable info app\r\n&amp;#39;
07:53:58.131 rcvd: b&amp;#39;log enable info app\r\n&amp;#39;
07:53:59.057 send: b&amp;#39;log enable info zigbee.report\r\n&amp;#39;
07:53:59.139 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mlog enable info zigbee.report\r\n&amp;#39;
07:54:00.088 send: b&amp;#39;bdb channel 007FF800\r\n&amp;#39;
07:54:00.147 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb channel 007FF800\r\n&amp;#39;
07:54:00.148 rcvd: b&amp;#39;\x1b[1;31mError: Stack already started\r\r\n&amp;#39;
07:54:00.163 send: b&amp;#39;bdb start\r\n&amp;#39;
07:54:00.243 rcvd: b&amp;#39;\x1b[1;37m\x1b[1;32m&amp;gt; \x1b[1;37mbdb start\r\n&amp;#39;
07:54:00.243 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.253 send: b&amp;#39;zdo short\r\n&amp;#39;
07:54:00.339 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mzdo short\r\n&amp;#39;
07:54:00.340 rcvd: b&amp;#39;0000\r\r\n&amp;#39;
07:54:00.342 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.359 send: b&amp;#39;bdb legacy enable\r\n&amp;#39;
07:54:00.435 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb legacy enable\r\n&amp;#39;
07:54:00.455 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.468 send: b&amp;#39;bdb role \r\n&amp;#39;
07:54:00.547 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb role \r\n&amp;#39;
07:54:00.548 rcvd: b&amp;#39;zc\r\r\n&amp;#39;
07:54:00.548 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.558 send: b&amp;#39;bdb channel\r\n&amp;#39;
07:54:00.643 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb channel\r\n&amp;#39;
07:54:00.644 rcvd: b&amp;#39;Primary channel(s): 11 12 13 14 15 16 17 18 19 20 21 22\r\r\n&amp;#39;
07:54:00.660 rcvd: b&amp;#39;Secondary channel(s): 11 12 13 14 15 16 17 18 19 20 21 22\r\r\n&amp;#39;
07:54:00.661 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.676 send: b&amp;#39;bdb panid \r\n&amp;#39;
07:54:00.723 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37m\x1b[2D\x1b[J\x1b[0m&amp;lt;info&amp;gt; app: Joined network successfully (Extended PAN ID: f4ce365c7c69c2cc, PAN ID: 0xCDA5)\x1b[0m\r\r\n&amp;#39;
07:54:00.739 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb panid \r\n&amp;#39;
07:54:00.740 rcvd: b&amp;#39;CDA5\r\r\n&amp;#39;
07:54:00.740 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.749 send: b&amp;#39;bdb extpanid\r\n&amp;#39;
07:54:00.851 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb extpanid\r\n&amp;#39;
07:54:00.852 rcvd: b&amp;#39;f4ce365c7c69c2cc\r\r\n&amp;#39;
07:54:00.853 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.864 send: b&amp;#39;zdo eui64\r\n&amp;#39;
07:54:00.947 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mzdo eui64\r\n&amp;#39;
07:54:00.948 rcvd: b&amp;#39;f4ce365c7c69c2cc\r\r\n&amp;#39;
07:54:00.949 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.964 send: b&amp;#39;zdo short\r\n&amp;#39;
07:54:01.043 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mzdo short\r\n&amp;#39;
07:54:01.044 rcvd: b&amp;#39;0000\r\r\n&amp;#39;
07:54:01.045 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.069 send: b&amp;#39;zdo mgmt_lqi 0000\r\n&amp;#39;
07:54:01.155 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mzdo mgmt_lqi 0000\r\n&amp;#39;
07:54:01.156 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37m\r\r\n&amp;#39;
07:54:01.157 rcvd: b&amp;#39;[idx] ext_pan_id       ext_addr         short_addr flags permit_join depth lqi\r\r\n&amp;#39;
07:54:01.171 rcvd: b&amp;#39;[  0] f4ce365c7c69c2cc 90fd9ffffe1f6e3a 0x547F     0x95  0           1     108\r\r\n&amp;#39;
07:54:01.172 rcvd: b&amp;#39;\r\r\n&amp;#39;
07:54:01.173 rcvd: b&amp;#39;ZDO request 8 complete\r\r\n&amp;#39;
07:54:01.173 rcvd: b&amp;#39;\r\r\n&amp;#39;
07:54:01.174 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.187 send: b&amp;#39;zdo active_ep 0x547f\r\n&amp;#39;
07:54:01.251 rcvd: b&amp;#39;zdo active_ep 0x547f\r\n&amp;#39;
07:54:01.298 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37m\r\r\n&amp;#39;
07:54:01.300 rcvd: b&amp;#39;src_addr=547F ep=1 \r\r\n&amp;#39;
07:54:01.302 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.316 send: b&amp;#39;zdo simple_desc_req 0x547f 1\r\n&amp;#39;
07:54:01.347 rcvd: b&amp;#39;zdo simple_desc_req 0x547f 1\r\n&amp;#39;
07:54:01.411 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37m\r\r\n&amp;#39;
07:54:01.428 rcvd: b&amp;#39;src_addr=0x547F ep=1 profile_id=0xC05E app_dev_id=0x100 app_dev_ver=0x2 in_clusters=0x0000,0x0003,0x0004,0x0005,0x0006,0x0008,0x0B05,0x1000 out_clusters=0x0005,0x0019,0x0020,0x1000 \r\r\n&amp;#39;
07:54:01.429 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.435 send: b&amp;#39;zdo bind on 90FD9FFFFE1F6E3A 1 F4CE365C7C69C2CC 64 8 547F\r\n&amp;#39;
07:54:01.459 rcvd: b&amp;#39;zdo bind on 90FD9FFFFE1FQable info zigbee.report\r\n&amp;#39;
07:54:01.460 rcvd: b&amp;#39;\x1b[1;31mError: Incorrect number of arguments\r\r\n&amp;#39;
07:54:01.461 rcvd: b&amp;#39;\x1b[1;37m\x1b[1;32m&amp;gt; \x1b[1;37mbdb channel 007FF800\r\n&amp;#39;
07:54:01.463 rcvd: b&amp;#39;\x1b[1;31mError: Stack already started\r\r\n&amp;#39;
07:54:01.464 rcvd: b&amp;#39;\x1b[1;37m\x1b[1;32m&amp;gt; \x1b[1;37mbdb start\r\n&amp;#39;
07:54:01.464 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.476 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mzdo short\r\n&amp;#39;
07:54:01.477 rcvd: b&amp;#39;0000\r\r\n&amp;#39;
07:54:01.478 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.479 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb legacy enable\r\n&amp;#39;
07:54:01.480 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.481 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb rol$\r\n&amp;#39;
07:54:01.484 rcvd: b&amp;#39;\x1b[1;31mPlease specify a subcommand.\r\n&amp;#39;
07:54:01.487 rcvd: b&amp;#39;\x1b[1;37m\x1b[1;32m&amp;gt; \x1b[1;37mbdb channel\r\n&amp;#39;
07:54:01.494 rcvd: b&amp;#39;Primary channel(s): 11 12 13 14 15 16 17 18 19 20 21 22\r\r\n&amp;#39;
07:54:01.495 rcvd: b&amp;#39;Secondary channel(s): 11 12 13 14 15 16 17 18 19 20 21 22\r\r\n&amp;#39;
07:54:01.496 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.498 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mbdb panTd \r\n&amp;#39;
07:54:01.499 rcvd: b&amp;#39;\x1b[1;31mPlease specify a subcommand.\r\n&amp;#39;
07:54:01.507 rcvd: b&amp;#39;\x1b[1;37m\x1b[1;32m&amp;gt; \x1b[1;37mbdb extpanid\r\n&amp;#39;
07:54:01.507 rcvd: b&amp;#39;f4ce365c7c69c2cc\r\r\n&amp;#39;
07:54:01.508 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.509 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mzdo eS64\r\n&amp;#39;
07:54:01.509 rcvd: b&amp;#39;\x1b[1;31mPlease specify a subcommand.\r\n&amp;#39;
07:54:01.512 rcvd: b&amp;#39;\x1b[1;37m\x1b[1;32m&amp;gt; \x1b[1;37mzdo short\r\n&amp;#39;
07:54:01.513 rcvd: b&amp;#39;0000\r\r\n&amp;#39;
07:54:01.513 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.523 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mzdo mgm_lqi 0000\r\n&amp;#39;
07:54:01.524 rcvd: b&amp;#39;\x1b[1;31mPlease specify a subcommand.\r\n&amp;#39;
07:54:01.524 rcvd: b&amp;#39;\x1b[1;37m\x1b[1;32m&amp;gt; \x1b[1;37mzdo active_e 0x547f\r\n&amp;#39;
07:54:01.527 rcvd: b&amp;#39;\x1b[1;31mPlease specify a subcommand.\r\n&amp;#39;
07:54:01.538 rcvd: b&amp;#39;\x1b[1;37m\x1b[1;32m&amp;gt; \x1b[1;37mzdo simple_desc_req 0x547f 1\r\n&amp;#39;
07:54:01.587 rcvd: b&amp;#39;\x1b[1;32m&amp;gt; \x1b[1;37mzdo bind on 90FD9FFFFE1FQable in\r\r\n&amp;#39;
07:54:01.604 rcvd: b&amp;#39;src_addr=0x547F ep=1 profile_id=0xC05E app_dev_id=0x100 app_dev_ver=0x2 in_clusters=0x0000,0x0003,0x0004,0x0005,0x0006,0x0008,0x0B05,0x1000 out_clusters=0x0005,0x0019,0x0020,0x1000 \r\r\n&amp;#39;
07:54:01.605 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.940 rcvd: b&amp;#39;\x1b[34D\x1b[J\x1b[0m&amp;lt;info&amp;gt; app: Joined network successfully (Extended PAN ID: f4ce365c7c69c2cc, PAN ID: 0xCDA5)\x1b[0m\r\r\n&amp;#39;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;same log but without useless stuff:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;07:53:58.039 send: b&amp;#39;log enable info app\r\n&amp;#39;
07:53:58.131 rcvd: b&amp;#39;log enable info app\r\n&amp;#39;
07:53:59.057 send: b&amp;#39;log enable info zigbee.report\r\n&amp;#39;
07:53:59.139 rcvd: b&amp;#39;log enable info zigbee.report\r\n&amp;#39;
07:54:00.088 send: b&amp;#39;bdb channel 007FF800\r\n&amp;#39;
07:54:00.147 rcvd: b&amp;#39;bdb channel 007FF800\r\n&amp;#39;
07:54:00.148 rcvd: b&amp;#39;Error: Stack already started\r\r\n&amp;#39;
07:54:00.163 send: b&amp;#39;bdb start\r\n&amp;#39;
07:54:00.243 rcvd: b&amp;#39;bdb start\r\n&amp;#39;
07:54:00.243 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.253 send: b&amp;#39;zdo short\r\n&amp;#39;
07:54:00.339 rcvd: b&amp;#39;zdo short\r\n&amp;#39;
07:54:00.340 rcvd: b&amp;#39;0000\r\r\n&amp;#39;
07:54:00.342 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.359 send: b&amp;#39;bdb legacy enable\r\n&amp;#39;
07:54:00.435 rcvd: b&amp;#39;bdb legacy enable\r\n&amp;#39;
07:54:00.455 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.468 send: b&amp;#39;bdb role \r\n&amp;#39;
07:54:00.547 rcvd: b&amp;#39;bdb role \r\n&amp;#39;
07:54:00.548 rcvd: b&amp;#39;zc\r\r\n&amp;#39;
07:54:00.548 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.558 send: b&amp;#39;bdb channel\r\n&amp;#39;
07:54:00.643 rcvd: b&amp;#39;bdb channel\r\n&amp;#39;
07:54:00.644 rcvd: b&amp;#39;Primary channel(s): 11 12 13 14 15 16 17 18 19 20 21 22\r\r\n&amp;#39;
07:54:00.660 rcvd: b&amp;#39;Secondary channel(s): 11 12 13 14 15 16 17 18 19 20 21 22\r\r\n&amp;#39;
07:54:00.661 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.676 send: b&amp;#39;bdb panid \r\n&amp;#39;
07:54:00.723 rcvd: b&amp;#39;&amp;lt;info&amp;gt; app: Joined network successfully (Extended PAN ID: f4ce365c7c69c2cc, PAN ID: 0xCDA5)\x1b[0m\r\r\n&amp;#39;
07:54:00.739 rcvd: b&amp;#39;bdb panid \r\n&amp;#39;
07:54:00.740 rcvd: b&amp;#39;CDA5\r\r\n&amp;#39;
07:54:00.740 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.749 send: b&amp;#39;bdb extpanid\r\n&amp;#39;
07:54:00.851 rcvd: b&amp;#39;bdb extpanid\r\n&amp;#39;
07:54:00.852 rcvd: b&amp;#39;f4ce365c7c69c2cc\r\r\n&amp;#39;
07:54:00.853 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.864 send: b&amp;#39;zdo eui64\r\n&amp;#39;
07:54:00.947 rcvd: b&amp;#39;zdo eui64\r\n&amp;#39;
07:54:00.948 rcvd: b&amp;#39;f4ce365c7c69c2cc\r\r\n&amp;#39;
07:54:00.949 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:00.964 send: b&amp;#39;zdo short\r\n&amp;#39;
07:54:01.043 rcvd: b&amp;#39;zdo short\r\n&amp;#39;
07:54:01.044 rcvd: b&amp;#39;0000\r\r\n&amp;#39;
07:54:01.045 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.069 send: b&amp;#39;zdo mgmt_lqi 0000\r\n&amp;#39;
07:54:01.155 rcvd: b&amp;#39;zdo mgmt_lqi 0000\r\n&amp;#39;
07:54:01.156 rcvd: b&amp;#39;\r\r\n&amp;#39;
07:54:01.157 rcvd: b&amp;#39;[idx] ext_pan_id       ext_addr         short_addr flags permit_join depth lqi\r\r\n&amp;#39;
07:54:01.171 rcvd: b&amp;#39;[  0] f4ce365c7c69c2cc 90fd9ffffe1f6e3a 0x547F     0x95  0           1     108\r\r\n&amp;#39;
07:54:01.172 rcvd: b&amp;#39;\r\r\n&amp;#39;
07:54:01.173 rcvd: b&amp;#39;ZDO request 8 complete\r\r\n&amp;#39;
07:54:01.173 rcvd: b&amp;#39;\r\r\n&amp;#39;
07:54:01.174 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.187 send: b&amp;#39;zdo active_ep 0x547f\r\n&amp;#39;
07:54:01.251 rcvd: b&amp;#39;zdo active_ep 0x547f\r\n&amp;#39;
07:54:01.298 rcvd: b&amp;#39;\r\r\n&amp;#39;
07:54:01.300 rcvd: b&amp;#39;src_addr=547F ep=1 \r\r\n&amp;#39;
07:54:01.302 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.316 send: b&amp;#39;zdo simple_desc_req 0x547f 1\r\n&amp;#39;
07:54:01.347 rcvd: b&amp;#39;zdo simple_desc_req 0x547f 1\r\n&amp;#39;
07:54:01.411 rcvd: b&amp;#39;\r\r\n&amp;#39;
07:54:01.428 rcvd: b&amp;#39;src_addr=0x547F ep=1 profile_id=0xC05E app_dev_id=0x100 app_dev_ver=0x2 in_clusters=0x0000,0x0003,0x0004,0x0005,0x0006,0x0008,0x0B05,0x1000 out_clusters=0x0005,0x0019,0x0020,0x1000 \r\r\n&amp;#39;
07:54:01.429 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.435 send: b&amp;#39;zdo bind on 90FD9FFFFE1F6E3A 1 F4CE365C7C69C2CC 64 8 547F\r\n&amp;#39;
07:54:01.459 rcvd: b&amp;#39;zdo bind on 90FD9FFFFE1FQable info zigbee.report\r\n&amp;#39;
07:54:01.460 rcvd: b&amp;#39;Error: Incorrect number of arguments\r\r\n&amp;#39;
07:54:01.461 rcvd: b&amp;#39;bdb channel 007FF800\r\n&amp;#39;
07:54:01.463 rcvd: b&amp;#39;Error: Stack already started\r\r\n&amp;#39;
07:54:01.464 rcvd: b&amp;#39;bdb start\r\n&amp;#39;
07:54:01.464 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.476 rcvd: b&amp;#39;zdo short\r\n&amp;#39;
07:54:01.477 rcvd: b&amp;#39;0000\r\r\n&amp;#39;
07:54:01.478 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.479 rcvd: b&amp;#39;bdb legacy enable\r\n&amp;#39;
07:54:01.480 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.481 rcvd: b&amp;#39;bdb rol$\r\n&amp;#39;
07:54:01.484 rcvd: b&amp;#39;Please specify a subcommand.\r\n&amp;#39;
07:54:01.487 rcvd: b&amp;#39;bdb channel\r\n&amp;#39;
07:54:01.494 rcvd: b&amp;#39;Primary channel(s): 11 12 13 14 15 16 17 18 19 20 21 22\r\r\n&amp;#39;
07:54:01.495 rcvd: b&amp;#39;Secondary channel(s): 11 12 13 14 15 16 17 18 19 20 21 22\r\r\n&amp;#39;
07:54:01.496 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.498 rcvd: b&amp;#39;bdb panTd \r\n&amp;#39;
07:54:01.499 rcvd: b&amp;#39;Please specify a subcommand.\r\n&amp;#39;
07:54:01.507 rcvd: b&amp;#39;bdb extpanid\r\n&amp;#39;
07:54:01.507 rcvd: b&amp;#39;f4ce365c7c69c2cc\r\r\n&amp;#39;
07:54:01.508 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.509 rcvd: b&amp;#39;zdo eS64\r\n&amp;#39;
07:54:01.509 rcvd: b&amp;#39;Please specify a subcommand.\r\n&amp;#39;
07:54:01.512 rcvd: b&amp;#39;zdo short\r\n&amp;#39;
07:54:01.513 rcvd: b&amp;#39;0000\r\r\n&amp;#39;
07:54:01.513 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.523 rcvd: b&amp;#39;zdo mgm_lqi 0000\r\n&amp;#39;
07:54:01.524 rcvd: b&amp;#39;Please specify a subcommand.\r\n&amp;#39;
07:54:01.524 rcvd: b&amp;#39;zdo active_e 0x547f\r\n&amp;#39;
07:54:01.527 rcvd: b&amp;#39;Please specify a subcommand.\r\n&amp;#39;
07:54:01.538 rcvd: b&amp;#39;zdo simple_desc_req 0x547f 1\r\n&amp;#39;
07:54:01.587 rcvd: b&amp;#39;zdo bind on 90FD9FFFFE1FQable in\r\r\n&amp;#39;
07:54:01.604 rcvd: b&amp;#39;src_addr=0x547F ep=1 profile_id=0xC05E app_dev_id=0x100 app_dev_ver=0x2 in_clusters=0x0000,0x0003,0x0004,0x0005,0x0006,0x0008,0x0B05,0x1000 out_clusters=0x0005,0x0019,0x0020,0x1000 \r\r\n&amp;#39;
07:54:01.605 rcvd: b&amp;#39;Done\r\r\n&amp;#39;
07:54:01.940 rcvd: b&amp;#39;&amp;lt;info&amp;gt; app: Joined network successfully (Extended PAN ID: f4ce365c7c69c2cc, PAN ID: 0xCDA5)\x1b[0m\r\r\n&amp;#39;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;We can clearly see that something goes wrong... from the timestamp &amp;quot;07:54:01.435&amp;quot; it goes wild after sending the bind command. And that is not the only example, it also happened for other commands like an attribute read command. So basically, when I send a valid command, the CLI sometimes complains that I sent something wrong even if my command was correct. It looks like it is mixing with commands that I sent before. Do you have any idea what is going on?&lt;/p&gt;
&lt;p&gt;Also, I struggle to connect end devices because of channels I guess. But that is another topic, so I think I might create a new ticket for that later...&lt;/p&gt;
&lt;p&gt;Damien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/252821?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2020 16:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3cfc1d7-9fe3-42f0-9701-fe51a8808b6f</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What kind of &amp;quot;strange behaviors&amp;quot; does the coordinator have? Have you check with a sniffer trace to see that you are able to send the ZCL commands? &lt;br /&gt;Have you seen the readme.md file inside the wrapper folder for documentation on how to send generic commands? &lt;br /&gt;I don&amp;#39;t know if I have any more ideas on what could be failing without having more information. Perhaps you can try to strip the python script of everything that doesn&amp;#39;t involve the communication with the CLI module and see if the problem persists or send me the modified script?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/252148?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 11:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f943573-238e-4175-983a-c61e3ae91b91</guid><dc:creator>DaKa</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using the nRF5 SDK Thread and Zigbee v4.0 and zb-cli-wrapper 3.0 (that I modified because it is not complete).&lt;br /&gt;The python script that uses zb-cli-wrapper is a component of a quite big event based application that implements different protocols. I don&amp;#39;t think posting it here will help since it is quite big and maybe complicated to understand if you don&amp;#39;t know how the application is working.&lt;br /&gt;But what my component is doing is basically:&lt;br /&gt;- Create a network by configuring the zigbee module as coordinator or connect to the CLI if the Zigbee Stack is already running (bdb start).&lt;br /&gt;- Get all the information about the coordinator (panID, ieee, nwk, channel...)&lt;br /&gt;- Get lqi entries (zdo mgmt_lqi) to get the nodes in the network.&lt;br /&gt;- Create node objects for each lqi entry with their infos (nwk, ieee, ...)&lt;br /&gt;- Create endpoint objects for each active endpoint of a node. (zdo active_ep)&lt;br /&gt;- Create cluster objects for each cluster supported by an endpoint. (zdo simple_desc)&lt;br /&gt;- Go through the network to check the device types of the nodes in the network. For example if a thermostat cluster is found, I create an entity that will then use zcl to send commands with zcl cmd...&lt;br /&gt;- Same with attribute reading...&lt;/p&gt;
&lt;p&gt;Creating the network tree containing all these objects works good. But then when I try to send commands, it has strange behaviors sometimes. Also, I use asynchronous programming. I probably do something wrong that makes the CLI on the module side to crash, because sometimes it just doesn&amp;#39;t reply until I reset the module.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee CLI communication failure</title><link>https://devzone.nordicsemi.com/thread/252137?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 10:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b0d8b0f-2b55-4832-a840-f5a9ba8099c9</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Do you think that I am sending commands too fast?[/quote]
&lt;p&gt;I don&amp;#39;t think this should be a problem.&lt;/p&gt;
&lt;p&gt;What SDK version are you using? Can you post the python script you are using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>