<?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 association problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72624/zigbee-association-problem</link><description>HI, 
 I&amp;#39;m using the zigbee CLI example as coordinator and have another CLI device for reference as router. With my sniffer I can log the association sequence with the cli router and everything works fine. But with my device under development (not using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Mar 2021 08:39:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72624/zigbee-association-problem" /><item><title>RE: ZIGBEE association problem</title><link>https://devzone.nordicsemi.com/thread/300021?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 08:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb4b0559-b628-4d22-b8cf-5c41abf16e61</guid><dc:creator>Hardy Bismark</dc:creator><description>&lt;p&gt;Hi Edvin!&lt;/p&gt;
&lt;p&gt;Yes, it seems so that the ACK was just too slow and I actually did not use the driver library bu compiled the driver to be able to debug. I took in the nrf_802154_precise_ack_timeout.c because of a function needed in there which not exist in nrf_802154_ack_timeout.c. Now I fixed the problem and it worked.&lt;/p&gt;
&lt;p&gt;You don&amp;#39;t need to spend more time with it, thanks anyway.&lt;/p&gt;
&lt;p&gt;BR, Hardy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZIGBEE association problem</title><link>https://devzone.nordicsemi.com/thread/299897?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 16:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f21a6565-55f5-4d51-a691-1d508c03ab14</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Hardy,&lt;/p&gt;
&lt;p&gt;What does the sniffer trace look like in your case? Is it like mine? Can you please try to open it on another computer than it was captured?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Either way, what packet number (since I am not able to display it properly) is the ACK that you are curious about? What ACK is not received properly?&lt;/p&gt;
&lt;p&gt;What device is the coordinator? Is it an nRF? What IEEE stack is that one using?&lt;/p&gt;
&lt;p&gt;Please understand that this is not the typical questions we get, since the 802.15.4 driver is usually handling these kind of things, which is why I am not certain of what delay that is expected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Hardy Bismark"]The original stack responds with an ACK in 544 µs but my stack can only respond with 1045 µs. Now this shouldn&amp;#39;t be a problem anymore.[/quote]
&lt;p&gt;Does that mean that you figured out, and solved the issue? Was it only because the ACK was &amp;quot;too slow&amp;quot;?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZIGBEE association problem</title><link>https://devzone.nordicsemi.com/thread/299824?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 13:56:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85e5262b-6bec-4c06-b703-05a88be0e096</guid><dc:creator>Hardy Bismark</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;now I discovered, that the nrf driver used probably the ...precise_ack_timeout.c I use now the default timeout&lt;/p&gt;
&lt;p&gt;#define NRF_802154_ACK_TIMEOUT_DEFAULT_TIMEOUT 7000&lt;/p&gt;
&lt;p&gt;Now the coordinator receives the ACK from my node.&lt;/p&gt;
&lt;p&gt;The original stack responds with an ACK in 544 &amp;micro;s but my stack can only respond with 1045 &amp;micro;s. Now this shouldn&amp;#39;t be a problem anymore.&lt;/p&gt;
&lt;p&gt;BR, Hardy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZIGBEE association problem</title><link>https://devzone.nordicsemi.com/thread/299763?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 12:05:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24516ad3-e6ac-400e-8ed3-6713dab3b70b</guid><dc:creator>Hardy Bismark</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;since I was testing the original driver with another CLI device, I&amp;#39;m sure it would work. And even I&amp;#39;m using my own driver, I send the ACK in right time with right sequence number.&lt;/p&gt;
&lt;p&gt;My question is why would the coordinator not receive the ACK? Is there a certain time window for the ACK being received? Not too fast, not after timeout? So I&amp;#39;m sending the ACK right after receiving the association response, but the coordinator doesn&amp;#39;t get it. This is the actually problem. The screen shots in the first post shows clearly the different behavior for my custom unit and the reference unit. I might delay the transmission of the ACK and see what&amp;#39;s happen.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t use special keys, just the keys from the instruction on the sniffer documentation pages.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Key: &lt;code&gt;5A:69:67:42:65:65:41:6C:6C:69:61:6E:63:65:30:39&lt;/code&gt;, Byte Order: Normal, Label: ZigbeeAlliance09&lt;/li&gt;
&lt;li&gt;Key: &lt;code&gt;ab:cd:ef:01:23:45:67:89:00:00:00:00:00:00:00:00&lt;/code&gt;, Byte Order: Normal, Label: Nordic Examples&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR, Hardy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZIGBEE association problem</title><link>https://devzone.nordicsemi.com/thread/299747?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 11:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19aaa958-19b9-45ef-ac48-62848e1d2906</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok. Would it be a large job to port to our IEEE 802.15.4 driver, just to check whether the issue with the ACK is coming from the driver that you are using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you using some special encryption key? I can&amp;#39;t decode your sniffer trace. Did you use the nRF Sniffer for 802.15.4 to capture this?&lt;/p&gt;
&lt;p&gt;What does it say in your preferences -&amp;gt; protocols -&amp;gt; zigbeee -&amp;gt; pr-configured keys:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1615807312645v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see the sniffer trace properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZIGBEE association problem</title><link>https://devzone.nordicsemi.com/thread/299321?ContentTypeID=1</link><pubDate>Thu, 11 Mar 2021 14:53:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8535ef4f-93b0-4a82-b238-0750c32da4f6</guid><dc:creator>Hardy Bismark</dc:creator><description>&lt;p&gt;Hi Edvin!&lt;/p&gt;
&lt;p&gt;Yes, the device is a nRF52840. We&amp;#39;re using a 3rd party mesh OS, which is using the softdevice for BLE in a multi-stack configuration. We&amp;#39;re trying to run ZigBee together with this stack. The stack deliverer has supported us with a timeslot API, which makes sure we can use the radio the same way we would use the softdevice. Everything works great actually. Just the coordinator doesn&amp;#39;t get the ACK even it is shown in the sniffer. The pcapng files are attached.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zigbee_5F00_20210310_5F00_-join_5F00_procedure_5F00_fail.pcapng"&gt;devzone.nordicsemi.com/.../zigbee_5F00_20210310_5F00_-join_5F00_procedure_5F00_fail.pcapng&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zigbee_5F00_20210310_5F00_-join_5F00_procedure_5F00_ok.pcapng"&gt;devzone.nordicsemi.com/.../zigbee_5F00_20210310_5F00_-join_5F00_procedure_5F00_ok.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;BR, Hardy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZIGBEE association problem</title><link>https://devzone.nordicsemi.com/thread/299238?ContentTypeID=1</link><pubDate>Thu, 11 Mar 2021 12:25:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4408e1d9-fd0b-44b2-ba08-5c7612dc55e8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Hardy,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]But with my device under development (not using the nRF-IEEE- 802.15.4-radio-driver but another 3rd party radio driver)[/quote]
&lt;p&gt;&amp;nbsp;So is this device under development an nRF? Why is it not using the radio driver from the SDK? Is it an option to test using the nRF-IEEE driver if it is an nRF device? If only for debugging purposes, to check whether the issue is radio driver related or application level related?&lt;/p&gt;
&lt;p&gt;And in case I need to run this by our zigbee team, can you please upload the .pcapng sniffer trace here? If you need to capture a new sniffer trace because the old one isn&amp;#39;t saved, can you please write a short description of the relevant packets?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>