<?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>NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107678/nrf52840-zigbee-cli-agent-router-problem</link><description>Hi Nordic Team 
 hardware: nrf52840 DK 
 SDK version: nrf5_sdk_for_thread_and_zigbee_v4.2.0_af27f76 
 I&amp;#39;m using nrf5_sdk_for_thread_and_zigbee_v4.2.0_af27f76\examples\zigbee\experimental\cli\cli_agent_router 
 First I set the role of the board to ZC,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jan 2024 12:27:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107678/nrf52840-zigbee-cli-agent-router-problem" /><item><title>RE: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465989?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 12:27:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41bd2f9c-7d79-4c02-b86e-7788995c62c6</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I missed the second question in your previous message, thanks for pointing it out!&lt;/p&gt;
&lt;p&gt;Using shell, you can send a groupcast with &lt;code&gt;zcl cmd&lt;/code&gt; by setting the dst_addr to the group address and the endpoint to 0.&lt;br /&gt;For example to send the Off command::&lt;/p&gt;
&lt;p&gt;&lt;code&gt;zcl cmd 0xaaaa 0 0x0006 0x00&lt;/code&gt;&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: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465983?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 12:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14326a5b-63c4-41c5-8e97-4b526b4c2f1f</guid><dc:creator>PiKa PiKa</dc:creator><description>&lt;p&gt;HI&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have ordered 52840 dongle but it will take a day or two to get it. I will provide sniffer log at that time. Before that, can we discuss question two first? What command should I give to control the on/off、color、level of the group?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465932?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 09:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ece6043d-ddb0-4815-828e-bcae5ebbabd0</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you testing with our light bulb sample or with a third party light bulb?&lt;/p&gt;
&lt;p&gt;Can you collect a sniffer log of this and upload it here as a pcap file? If you have an additional nRF52840 DK or dongle you can use our &lt;a href="https://infocenter.nordicsemi.com/topic/ug_sniffer_802154/UG/sniffer_802154/intro_802154.html"&gt;nRF Sniffer for 802.15.4&lt;/a&gt;. Make sure to start the sniffer before the coordinator starts the network or share the network key so I can decrypt the packets.&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: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465839?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 14:36:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:192d9fb1-fecb-42e3-a24c-c6648e0ded86</guid><dc:creator>PiKa PiKa</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks it&amp;#39;s work&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;I have a few more questions about the zcl command&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;After I set the level of the zigbee light, I wanted to read the level of the &lt;span&gt;zigbee light&amp;nbsp;&lt;/span&gt;through zcl ​​arrt read, but the value read back was always 0.Below are my cmd and responses&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$zcl attr read 0xaf26 2 0x0008 0x0104 0x0000
uart:~$ID: 0 Type: 20 Value: 0
uart:~$Done&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;I added the fixture to a group 0xaaaa&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$zcl groups add 0xaf26 2 0xaaaa
uart:~$Response command received, group: 0xaaaa, status: 0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;But I don&amp;#39;t know how to control the group (on/off, level, color)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465777?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 11:46:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb44a8b2-89ea-46d3-aa00-561e42551339</guid><dc:creator>jemalkorra</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To turn off &lt;/span&gt;&lt;code&gt;LOG_INF&lt;/code&gt;&lt;span&gt; when using the&amp;nbsp;zigbee_app_utils. You can add&amp;nbsp;&lt;/span&gt;&lt;code&gt;CONFIG_ZIGBEE_APP_UTILS_LOG_LEVEL_OFF=y&lt;/code&gt;&lt;span&gt; to your &lt;/span&gt;&lt;code&gt;prj.conf&lt;/code&gt;&lt;span&gt; file. There are more options like:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_APP_UTILS_LOG_LEVEL&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_APP_UTILS_LOG_LEVEL_DBG Debug&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_APP_UTILS_LOG_LEVEL_ERR Error&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_APP_UTILS_LOG_LEVEL_INF Info&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_APP_UTILS_LOG_LEVEL_OFF Off&lt;/p&gt;
&lt;p&gt;CONFIG_ZIGBEE_APP_UTILS_LOG_LEVEL_WRN Warning&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465743?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 10:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8508e33-c877-459d-a7f1-ad54f62bc829</guid><dc:creator>PiKa PiKa</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;This example is the function I want.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I would like to ask how I can turn off LOG_INF&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;for example when i sent the cmd &amp;quot;bdb start&amp;quot;&lt;/p&gt;
&lt;p&gt;it will display&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;bdb start
Done
[00:33:17.094,055] &amp;lt;inf&amp;gt; zigbee_app_utils: Unimplemented signal (signal: 54, status: 0)
[00:33:17.096,679] &amp;lt;inf&amp;gt; zigbee_app_utils: Joined network successfully (Extended PAN ID: f4ce368d999682a4, PAN ID: 0xc241)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;but i only want to display&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;pre class="ui-code" data-mode="text"&gt;bdb start
Done&lt;/pre&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465730?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 09:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbd57f80-7af4-4ba7-a4fd-588ec7d51123</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, as long as you do not erase or disable NVRAM. It should be enabled by default in the sample, but if not you can enable it with the command &lt;code&gt;nvram enable&lt;/code&gt;.&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: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465646?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 15:35:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e220cdef-6476-4d49-8d4c-7732b80b4890</guid><dc:creator>PiKa PiKa</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Can Zigbee shell sample from&amp;nbsp;&lt;span&gt;nRF Connect SDK&lt;/span&gt; persistently store network data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 zigbee cli agent router problem</title><link>https://devzone.nordicsemi.com/thread/465575?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 13:15:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85f5748f-c0e6-424b-b2ca-2ad1fe514841</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]But when I powered on the board again, I found that I could not control the zigbee light that had been added to the network.[/quote]
&lt;p&gt;Are you power cycling the CLI agent or the light? The CLI agent does not store network data persistently, so if you power cycle the device, the network data will be erased.&lt;/p&gt;
&lt;p&gt;Please note that the nRF5 SDK for Thread and Zigbee is deprecated. For new projects, use &lt;a href="https://www.nordicsemi.com/Products/Development-software/nrf-connect-sdk"&gt;nRF Connect SDK&lt;/a&gt;. The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/nrf/samples/zigbee/shell/README.html"&gt;Zigbee shell&lt;/a&gt; sample in nRF Connect SDK works similarly to the CLI Agent example in nRF5 SDK.&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>