<?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>RPL is full</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98067/rpl-is-full</link><description>Hi, 
 I&amp;#39;m using the light mesh sample with the switch sample. I&amp;#39;ve noticed that the switch device got this error very often. This error only disappears after resetting the whole node via the mobile app. 
 
 what does this error mean and how can I solve</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Mar 2023 13:24:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98067/rpl-is-full" /><item><title>RE: RPL is full</title><link>https://devzone.nordicsemi.com/thread/418328?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 13:24:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:220e751d-eba8-401d-be4c-dd6f9c80d912</guid><dc:creator>Elfving</dc:creator><description>[quote user="Mustafaq"]Is there any relation between increasing&amp;nbsp;CONFIG_BT_MESH_CRPL and the number of LPN devices?[/quote]
&lt;p&gt;I do not believe so. What makes you say that?&lt;/p&gt;
[quote user="Mustafaq"]Do I need to increase&amp;nbsp;CONFIG_BT_MESH_CRPL every time I attach a new node to the network?[/quote]
&lt;p&gt;It depends on if this node needs to communicate with all of the others. You can think of this config as the maximum amount of nodes in the network, given that they all communicate with each other. This is often not the case, but it depends on your network. So if you give it a high number now that you think would fit your network well, then you&amp;#39;ll never have to bother editing it again. The max is&amp;nbsp;&lt;span&gt;65535.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RPL is full</title><link>https://devzone.nordicsemi.com/thread/418313?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 12:45:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2a760bd-f534-4875-81f5-3f20f73574e7</guid><dc:creator>Mustafa</dc:creator><description>&lt;p&gt;Hey Elving,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After increasing the&amp;nbsp;&lt;span&gt;CONFIG_BT_MESH_CRPL to 100, I cannot reproduce the issue with full replay. (at least until now).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there any relation between increasing&amp;nbsp;CONFIG_BT_MESH_CRPL and the number of LPN devices? Do I need to increase&amp;nbsp;CONFIG_BT_MESH_CRPL every time I attach a new node to the network?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RPL is full</title><link>https://devzone.nordicsemi.com/thread/418284?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 12:00:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f91b10ea-d444-4545-bc7d-87fa859edd6a</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Ah I see. So this could potentially lead to another related issue, but I am not sure as to how it could lead to the replay list being full in the light switch.&lt;/p&gt;
&lt;p&gt;So when you recover and reprovision one of the light nodes &lt;strong&gt;with the same address as before&lt;/strong&gt;, it wouldn&amp;#39;t be able to send anything to the rest of the network. That is because of the replay protection list of the other nodes which keeps track of the number of the last previously sent message, of the node in question. If the other nodes know that the last message it sent was #50, and then it sends #1,&amp;nbsp;the other nodes will discard this message.&amp;nbsp;They will&amp;nbsp;in fact discard all other messages of the newly provisioned node until it sends #51. That is why you should reprovision the node with a new address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This still seems to be a completely separate problem from the full replay list though.. at least I am not seeing the connection yet. try increasing&amp;nbsp;CONFIG_BT_MESH_CRPL.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RPL is full</title><link>https://devzone.nordicsemi.com/thread/417867?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 11:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc62c8a7-9a41-40c3-964f-93079b3874bc</guid><dc:creator>Mustafa</dc:creator><description>&lt;p&gt;Hey Elfving,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks again for your advice. Currently, this issue occurs mainly when I reset a light node and after that, I reprovision the same light node with the same address which was used before the reprovisioning. then this issue appears.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I will check&amp;nbsp;&amp;nbsp;&lt;span&gt;CONFIG_BT_MESH_CRPL as u suggested.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RPL is full</title><link>https://devzone.nordicsemi.com/thread/417853?ContentTypeID=1</link><pubDate>Tue, 28 Mar 2023 11:04:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27517487-dbda-4f2a-b84d-8cb3fbc433b3</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I meant was that this is not an issue you should expect to see, in a normal network, though even if you do it is fixable. I am not saying that recovering is the go-to way to fix this error if it occurs in the future. Recovering was just a suggestion to see what it would take for the issue to go away.&lt;/p&gt;
&lt;p&gt;You could for instance see this issue if have a network where all nodes in the network are communicating, and need to keep each others sequence numbers, as opposed to just the ones close-by. If that was the case, this issue could be fixed by increasing&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_MESH_CRPL"&gt;CONFIG_BT_MESH_CRPL - &lt;/a&gt;&lt;em&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_BT_MESH_CRPL"&gt;Maximum capacity of the replay protection list&lt;/a&gt;.&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
[quote user="Mustafaq"]&lt;p&gt;the problem is that when the switch device got this attach. then it stuck there and ignores all other devices and stops receiving all publishing messages till reset the whole node and re-provisione it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I see. I thought this was occurring with just 1 light and 1 switch. But if you have a network of multiple devices it might be that you should increase&amp;nbsp;CONFIG_BT_MESH_CRPL. Try that.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RPL is full</title><link>https://devzone.nordicsemi.com/thread/417661?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2023 12:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77ea8432-b45b-4239-9b79-167740eabbea</guid><dc:creator>Mustafa</dc:creator><description>&lt;p&gt;Hello Elving,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My weekend went well and hope the same for you thanks!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Actually my second question I believe was not clear. what I meant is if this issue occurs. can we (somehow) make some changes to the code to be able to ignore this error without the need to apply the recover process on the device?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the problem is that when the switch device got this attach. then it stuck there and ignores all other devices and stops receiving all publishing messages till reset the whole node and re-provisione it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&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: RPL is full</title><link>https://devzone.nordicsemi.com/thread/417586?ContentTypeID=1</link><pubDate>Mon, 27 Mar 2023 07:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a118c0aa-70e4-41d3-9434-bc347a1e6790</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello, and hope you&amp;#39;ve had a good weekend!&lt;/p&gt;
[quote user="Mustafaq"]My application is based on a Light sample (so there is a custom modification).&amp;nbsp;[/quote]
&lt;p&gt;I see. That is fine, but it would be interesting to see if this is occurring for you on the default sample as well. Just to make sure that we need to have a look at the modifications.&lt;/p&gt;
[quote user="Mustafaq"]In case the light server publishes messages periodically to the switch device (client light). is it possible to recover the switch device (client device) without needing to reset or recover this device?[/quote]
&lt;p&gt;Yeah you could recover one without recovering the other.&lt;/p&gt;
&lt;p&gt;I just wanted to test if this happened if they were just recovered, but I guess you could also try only recovering the one showing the error, and see how soon it happened again after recovering and re-provisioning it. &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RPL is full</title><link>https://devzone.nordicsemi.com/thread/417474?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 15:17:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6d518a8-300b-4fc4-ab34-a812e657ceff</guid><dc:creator>Mustafa</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;My application is based on a Light sample (so there is a custom modification).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the application is based on the Light server sending periodic messages to the light client device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the light server uses NRF52840&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t&amp;nbsp;test a recover command yet. I will test it and come back to you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In case the light server publishes messages periodically to the switch device (client light). is it possible to recover the switch device (client device) without needing to reset or recover this device?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RPL is full</title><link>https://devzone.nordicsemi.com/thread/417452?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 14:15:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea76709a-9039-4ee0-9136-4bc9e7277ccf</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Has it been sending messages for long? You&amp;#39;re saying that this a completely unmodified sample? And the light sample does not get this issue? What device are you using on the other side?&lt;/p&gt;
&lt;p&gt;Are you also seeing it when recovering the two devices before flashing them (using &amp;quot;nrfjprog --recover&amp;quot;) just to make sure there is nothing left of a previous settings partition?&lt;/p&gt;
&lt;p&gt;What it means is that the Mesh Replay List of every sequence number from every node is exhausted. The nodes in Mesh has this to guard against replay attacks. For a better understanding of this, see section 3.8.8 in Mesh Profile Spec.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>