<?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>SIG Mesh LPN automatically re-select FRIEND node.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63881/sig-mesh-lpn-automatically-re-select-friend-node</link><description>Hi, everyone 
 
 A LPN ( Node-LP ) had selected one of nodes as its friend ( Node-F0 ), if Node-F0 is taken away, will the Node-LP automatically reselect other node as its friend?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Jul 2020 02:53:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63881/sig-mesh-lpn-automatically-re-select-friend-node" /><item><title>RE: SIG Mesh LPN automatically re-select FRIEND node.</title><link>https://devzone.nordicsemi.com/thread/261097?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 02:53:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45114ae3-3baf-4589-beb9-11d640484fe8</guid><dc:creator>jhc</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SIG Mesh LPN automatically re-select FRIEND node.</title><link>https://devzone.nordicsemi.com/thread/260594?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 13:29:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c0a9b15-646e-4f7b-b525-0be107105b1f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jhc,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If the friend node is taken away the friendship will be timed out after a period of time. You will receive&amp;nbsp;&lt;span&gt;NRF_MESH_EVT_FRIENDSHIP_TERMINATED event when that happens.&amp;nbsp;&lt;br /&gt;After that you can choose to re-initialize friendship again (with other nodes) by calling mesh_lpn_friend_request(). Please have a look at&amp;nbsp;initiate_friendship() function in our LPN example.&amp;nbsp;&lt;br /&gt;Note that you may need to wait for a period of time before you call&amp;nbsp;mesh_lpn_friend_request() after you receive&amp;nbsp;NRF_MESH_EVT_FRIENDSHIP_TERMINATED&amp;nbsp; event. If you call it in the same event, you may receive&amp;nbsp;NRF_ERROR_INVALID_STATE error.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>