<?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>IV Index update LPN</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58978/iv-index-update-lpn</link><description>Hello, 
 What happens with the LPN firmware if it currently has an IV index of 0 and loses power for an extended period of time. When it gets power, the network that it is on has move all the way to IV index 2. 
 Will it be able to get a friend? 
 Will</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Mar 2020 16:04:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58978/iv-index-update-lpn" /><item><title>RE: IV Index update LPN</title><link>https://devzone.nordicsemi.com/thread/239785?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 16:04:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd433ddc-e8be-471a-894e-daf877d5fb55</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I got the confirmation, there is a definition&amp;nbsp;&lt;br /&gt;MESH_FEATURE_LPN_ACT_AS_REGULAR_NODE_OUT_OF_FRIENDSHIP&lt;br /&gt;If that set to 1, it will act as regular node and the scanner will be executed when the friendship is terminated. Have a look at&amp;nbsp;event_send() in lpn.c . It will enable scanner and the AD_LISTENER will take effective.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;But be careful when using this as it will draw lots of current as a normal mesh node.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IV Index update LPN</title><link>https://devzone.nordicsemi.com/thread/239778?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 15:31:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0175cacd-257e-4370-a766-c44fd0a120dc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I would need to double check with the team, but you can find in the LPN code&amp;nbsp;beacon_packet_in() in beacon.c that process incoming beacons, including the net beacon.&amp;nbsp;&lt;br /&gt;The question is if this function (as declared as&amp;nbsp; handler for AD_LISTENER) will be executed when the LPN lost friendship or not.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IV Index update LPN</title><link>https://devzone.nordicsemi.com/thread/239745?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 13:48:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e52a6cf3-76bd-4817-bf77-3985fd0c4cc0</guid><dc:creator>BubDev</dc:creator><description>&lt;p&gt;I dont think beaconing is enabled in the LPN example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How would the LPN know if it missed an IV index update if it doesn&amp;#39;t have a friend?&lt;/p&gt;
&lt;p&gt;Maybe the LPN example listens for a beacon after it doesn&amp;#39;t get a friend update for more than 96 hours?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IV Index update LPN</title><link>https://devzone.nordicsemi.com/thread/239605?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 18:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83556415-f162-4a1b-9fee-843ce580d171</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;My understanding is that after the IV Index update process is finished, the LPN will not be able to communicate with the friend node and will need to listen for Secure Network beacon to update it. This beacon can be from any node, not just the friend node.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IV Index update LPN</title><link>https://devzone.nordicsemi.com/thread/239601?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 16:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf0a1a9-ee8d-4bb0-9df6-d6b52972237c</guid><dc:creator>BubDev</dc:creator><description>&lt;p&gt;Thanks for the response.&lt;/p&gt;
&lt;p&gt;So what does the current LPN example do?&lt;/p&gt;
&lt;p&gt;Does it listen for a beacon or does it rely on a friend to update it?&lt;/p&gt;
&lt;p&gt;I tested with the example LPN and if it currently has an IV index of 0 it is not able to establish a friendship with any device that has an IV index greater than 1. This means it will never get the IV index update and no longer be able to communicate with devices on the network if it misses 2 IV index updates.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IV Index update LPN</title><link>https://devzone.nordicsemi.com/thread/239599?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 16:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1acb3dd0-1ed9-4321-9b75-cee1d2d4dfe9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Brad,&amp;nbsp;&lt;br /&gt;Please have a look at section 3.10.6 IV Index Recovery procedure in the spec:&amp;nbsp;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/604x289/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b184139e1f3842a480b11eb3c6c9cfb1/pastedimage1584031662002v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;The Low Power Node if losing IV index update would need to listen for at least 5 seconds to catch the Secure Network Beacon. If it couldn&amp;#39;t listen for such long, it should wake up at least once per 96 hours to get the update from the friend before the IV Update procedure finished.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>