<?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 NWK Frame Counter persistence</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72028/zigbee-nwk-frame-counter-persistence</link><description>Hello, 
 Is it possible to get more information on how the NWK Frame counter is stored in NVRAM. I can see fragments of code from zb_nrf52_nvram.c I see that it uses nrf_fstorage_write to strore data to nvram. If my understanding is correct, nrf_fstorage_write</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 05 Mar 2021 15:45:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72028/zigbee-nwk-frame-counter-persistence" /><item><title>RE: Zigbee NWK Frame Counter persistence</title><link>https://devzone.nordicsemi.com/thread/298166?ContentTypeID=1</link><pubDate>Fri, 05 Mar 2021 15:45:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5679317-67b9-4020-8cb5-2982205957e9</guid><dc:creator>iharyadi</dc:creator><description>&lt;p&gt;Thank you,&amp;nbsp; I understand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee NWK Frame Counter persistence</title><link>https://devzone.nordicsemi.com/thread/297952?ContentTypeID=1</link><pubDate>Fri, 05 Mar 2021 06:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44d31d79-cd70-44b4-8fa4-7413ab3b012d</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Iman,&lt;/p&gt;
&lt;p&gt;I heard back from the Zigbee team now.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;span&gt;ZB_LAZY_COUNTER_INTERVAL&lt;/span&gt; defines at what increment of the counters, the counter value will be stored in the NVRAM.&lt;/p&gt;
&lt;p&gt;Yes, the Zigbee stack implements flash wear leveling mechanism. A more detailed information on what is stored inside the NVRAM (types of data and their sizes) can be found &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_hw_and_mem.html?cp=7_3_3_6_1#zigbee_hw_and_mem_req"&gt;here&lt;/a&gt;. The response&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48458/zb_nvram_write_dataset-writing-application-data-zigbee/194965#194965"&gt;here&lt;/a&gt;&amp;nbsp;describes how ZBOSS uses the NVRAM (this logic applies to all types of data sets).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee NWK Frame Counter persistence</title><link>https://devzone.nordicsemi.com/thread/296423?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 07:26:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:039557e4-6968-458f-b1c7-d56e18b380de</guid><dc:creator>iharyadi</dc:creator><description>&lt;p&gt;Thank you.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zigbee NWK Frame Counter persistence</title><link>https://devzone.nordicsemi.com/thread/296419?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 07:13:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d20cc23-6b88-411b-94de-0bdef05b1aed</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Iman,&lt;/p&gt;
&lt;p&gt;I have forwarded your questions to our Zigbee team, and I will come back to you when I get a reply from them.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>