<?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>Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86925/mesh-lpn-application-timing-out-and-or-terminating</link><description>Hi, 
 I have a custom application that is very much based on the LPN example as well as friend nodes that have custom applications based on the light switch server example. They are running on nrf52840dk rev2 with nrf sdk 17.0.2 and s140 7.2.0 softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Oct 2022 14:27:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86925/mesh-lpn-application-timing-out-and-or-terminating" /><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/389027?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 14:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f1a056c-7ce3-4cbb-96c7-a7fbfed6e32a</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It could be Friend poll, but it could also be advertising from the GATT proxy feature or publishing. GATT proxy is needed if you want it to be possible to configure the node from a smartphone or other device which only has GATT.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/388938?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 09:55:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dc5419d-36a7-4884-9afb-d278f20aae00</guid><dc:creator>Arif@Lynxemi</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/PPK2-THP.png" /&gt;&lt;/p&gt;
&lt;p&gt;We added a 10 uF cap and removed the resistor ladder for the SAADC and managed to get down to this. Very good! Thank you very much for the suggestion. Is there any way to get it down further? The peaks are caused by the friendship polling IIRC, so maybe I should play around with the timings? Right now it&amp;#39;ll last 83~ days on a CR2032&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/388813?ContentTypeID=1</link><pubDate>Fri, 30 Sep 2022 14:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:814280bb-00f7-45e3-b101-9cc2fa63b920</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you zoom in on that current draw plot, I think you will find that the peaks are very narrow spikes of one or two data points. That should be easily mitigated using capacitors, giving less maximum power draw as seen from the batteries.&lt;/p&gt;
&lt;p&gt;The nature of the power draw would be very similar also in nRF Connect SDK, so this would not be a reason for switching. However, there are other reasons for switching, such as the fact the nRF5 SDK is in maintenance mode and new development will happen only in nRF Connect SDK, ref. the &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/388275?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 08:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c3929b6-f5fd-4922-8e85-b67ca79df018</guid><dc:creator>Arif@Lynxemi</dc:creator><description>&lt;p&gt;Hi Terje,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry to get back to you so late. I finally got my hands on a PPK2 and for some reason the REPLY buttons are not showing up properly on this forum. I&amp;#39;m measuring the current on my custom nRF52840 board and I&amp;#39;m only using the TWI and SAADC peripherals, which I only turn on and off every 5 minutes to read data from a sensor. This time I&amp;#39;m running with&amp;nbsp;&lt;span&gt;MESH_FEATURE_LPN_ACT_AS_REGULAR_NODE_OUT_OF_FRIENDSHIP=0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Other definitions of note:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/* The maximum duration to scan for incoming Friend Offers. */
#define FRIEND_REQUEST_TIMEOUT_MS (MESH_LPN_FRIEND_REQUEST_TIMEOUT_MAX_MS) // 1000
/* The upper limit for two subsequent Friend Polls. */
#define POLL_TIMEOUT_MS (SEC_TO_MS(10))
/* The time between LPN sending a request and listening for a response. */
#define RECEIVE_DELAY_MS (100)

mesh_lpn_friend_request_t freq;
freq.friend_criteria.friend_queue_size_min_log = MESH_FRIENDSHIP_MIN_FRIEND_QUEUE_SIZE_16; // 4
freq.friend_criteria.receive_window_factor = MESH_FRIENDSHIP_RECEIVE_WINDOW_FACTOR_1_0; // 0
freq.friend_criteria.rssi_factor = MESH_FRIENDSHIP_RSSI_FACTOR_2_0; // 2
freq.poll_timeout_ms = POLL_TIMEOUT_MS;
freq.receive_delay_ms = RECEIVE_DELAY_MS;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Here&amp;#39;s what idle looks like:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt="Temperature Sensor" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/thp_5F00_sensor_5F00_lpn.png" /&gt;&lt;/p&gt;
&lt;p&gt;It runs much too high for a button cell so we&amp;#39;re deploying them with bigger Li-ions. They&amp;#39;ve been running fine for more than two weeks but we&amp;#39;re concerned about the longevity. Do you think moving to the nRF Connect SDK would see some improvements?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Arif&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/385341?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2022 14:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c02f6f3-5456-44af-8d6d-f6fd98faddf0</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Since the MESH_FEATURE_LPN_ACT_AS_REGULAR_NODE_OUT_OF_FRIENDSHIP means the device will stay in RX when out of friendship, it should mean both that it receives messages and uses more power when not in friendship, yes. Power consumption would be low whenever in friendship, so the power consumption impact depends on how much time is spent outside of friendship. Figuring out and fixing the friendship loss issue could therefore improve power consumption by a lot if a significant time is spent outside of friendship, or if friendship is lost (and reinitiated) often.&lt;/p&gt;
&lt;p&gt;Regarding the MESH_LPN_POLL_RETRY_COUNT, this will work if the friend is often unavailable due to other operations on the friend blocking it from scanning, or if the LPN is prevented from executing polls. If the friend is actually offline, then a high retry count means there is a longer time period for which incoming messages are lost. The reason for the latter, is that during the time between the friend node goes offline and the friendship is terminated, the LPN considers itself still in friendship, so it does not scan for messages but rather depends on the friend to store messages for it. Therefore, high MESH_LPN_POLL_RETRY_TIMEOUT has the drawback of more messages lost at friendship termination. The same will happen for any friendship termination, as the friend will also discard the already received messages when it hasn&amp;#39;t heard back from the LPN and the friendship times out.&lt;/p&gt;
&lt;p&gt;The observation regarding app scheduler is interesting. However I have no suggestions why this change should impact friendship in the way you describe. With app scheduler, less should happen in interrupt context, providing more control for the stack to operate, which should improve overall stack performance. May it be too small buffers related to app scheduler, leading to lost operations and/or lost data, impacting the performance of the device? Are you experiencing errors, asserts, etc, leading to LPN or Friend resetting? That could explain lost friendship.&lt;/p&gt;
&lt;p&gt;It is not quite clear to me if the difference was seen when app scheduler was disabled on LPN, or on Friend, or on both.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/384930?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2022 07:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5818351d-878f-45dd-8be1-266f24462583</guid><dc:creator>Arif@Lynxemi</dc:creator><description>&lt;p&gt;Update 2:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For now, my latest two replies there are where I&amp;#39;m at: with the friendship timing out maybe every 10-20mins. I&amp;#39;ve also set&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;MESH_FEATURE_LPN_ACT_AS_REGULAR_NODE_OUT_OF_FRIENDSHIP = 1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;so that the sensors don&amp;#39;t skip a beat with the periodic publications.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Now the LPN devices work fine,&amp;nbsp;and friend nodes reliably deliver their message when they aren&amp;#39;t timed out so we have an&amp;nbsp;MVP there. My worry is the power consumption of the device now.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/365548?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 09:48:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:381b8466-2b41-486d-941b-02805fe53c58</guid><dc:creator>Arif@Lynxemi</dc:creator><description>&lt;p&gt;Update:&lt;br /&gt;&lt;br /&gt;I tested with the LPN with the example Light Switch Server and its soo much more stable. So the trouble seems to be from my custom applications. The main difference between it and the Light Switch server is the implementation of the app scheduler functionality, so I removed that and there&amp;nbsp;seems to be a massive difference:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;t:      16117&amp;gt;, mesh_app_utils.c,   66, Device UUID (raw): 46E6DC064D414876A02288131A0A76BE
00&amp;gt; &amp;lt;t:      16121&amp;gt;, mesh_app_utils.c,   67, Device UUID : 46E6DC06-4D41-4876-A022-88131A0A76BE
00&amp;gt; &amp;lt;t:     498977&amp;gt;, ble_softdevice_support.c,  104, Successfully updated connection parameters
00&amp;gt; &amp;lt;t:     592856&amp;gt;, ble_softdevice_support.c,  104, Successfully updated connection parameters
00&amp;gt; &amp;lt;t:    1326563&amp;gt;, main.c,  166, Successfully provisioned
00&amp;gt; &amp;lt;t:    1326573&amp;gt;, main.c,  160, Node Address: 0x0027 
00&amp;gt; &amp;lt;t:    1485224&amp;gt;, ble_softdevice_support.c,  104, Successfully updated connection parameters
00&amp;gt; &amp;lt;t:    1576399&amp;gt;, ble_softdevice_support.c,  104, Successfully updated connection parameters
00&amp;gt; &amp;lt;t:    1804529&amp;gt;, config_server.c,  632, dsm_appkey_add(appkey_handle:0 appkey_index:0)
00&amp;gt; &amp;lt;t:    2104592&amp;gt;, config_server.c, 2555, Access  Info:
00&amp;gt;     element_index=1    model_id = C002-493    model_handle=2
00&amp;gt; &amp;lt;t:    2631745&amp;gt;, config_server.c,  303, Get Pub Status: 0
00&amp;gt; &amp;lt;t:    2631749&amp;gt;, config_server.c,  307, Publish Period: 158 Publish Res: 2, Publish Steps: 30
00&amp;gt; &amp;lt;t:    3053449&amp;gt;, thp_sensor_server.c,   27, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:    3104532&amp;gt;, main.c,  215, Received friend offer from 0x0014
00&amp;gt; &amp;lt;t:    3108094&amp;gt;, main.c,  256, Friendship established with: 0x0014
00&amp;gt; &amp;lt;t:    3136064&amp;gt;, main.c,  268, Friendship with 0x0014 terminated. Reason: 2
00&amp;gt; &amp;lt;t:    3136071&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:    3169410&amp;gt;, main.c,  215, Received friend offer from 0x0013
00&amp;gt; &amp;lt;t:    3190584&amp;gt;, main.c,  246, Friend Request timed out
00&amp;gt; &amp;lt;t:    3190589&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:    3196110&amp;gt;, main.c,  215, Received friend offer from 0x0026
00&amp;gt; &amp;lt;t:    3199671&amp;gt;, main.c,  256, Friendship established with: 0x0026
00&amp;gt; &amp;lt;t:    3220611&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    3531194&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    3841777&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    4155886&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    4466469&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    4777052&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    5098213&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    5415848&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    5726431&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    6037014&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    6347597&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    6665232&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    6975815&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    7293450&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    7604033&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    7914616&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    8225200&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    8535783&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    8849892&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    9160475&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    9471058&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:    9781641&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   10092224&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   10402807&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   10713390&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   11038077&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   11348660&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   11659243&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   11969826&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   12280409&amp;gt;, main.c,  242, Friend poll procedure complete&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;0x14 is the custom application with app scheduler and 0x26 is one without. So it seems that the app scheduler is causing problems with the friendship procedure. Is there a workaround?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/365517?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 07:32:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:596ae304-6614-45b4-bfd5-95268b0b6996</guid><dc:creator>Arif@Lynxemi</dc:creator><description>&lt;p&gt;I have set up a way for the Provisioner to send a message to the LPN after configuration. I have also set&amp;nbsp;&lt;span&gt;MESH_LPN_POLL_RETRY_COUNT&amp;nbsp;to 15 as suggested in this link:&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/68610/friendship-terminated-reason-2-how-to-adjust-the-friendship-setting-to-have-a-solid-connection"&gt;Friendship Terminated reason 2, How to adjust the friendship setting to have a solid connection - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s slightly more stable but when it finally establishes a friendship it still times out every 20-30 seconds:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;t:   15001333&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   15006851&amp;gt;, main.c,  215, Received friend offer from 0x0011
00&amp;gt; &amp;lt;t:   15010412&amp;gt;, main.c,  256, Friendship established with: 0x0011
00&amp;gt; &amp;lt;t:   15027827&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   15338410&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   15648993&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   15804171&amp;gt;, thp_sensor.c,  230, 27.51, 63.49, 0.00, 481
00&amp;gt; &amp;lt;t:   15841747&amp;gt;, main.c,  268, Friendship with 0x0011 terminated. Reason: 2
00&amp;gt; &amp;lt;t:   15841776&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   15936632&amp;gt;, main.c,  215, Received friend offer from 0x0014
00&amp;gt; &amp;lt;t:   15957806&amp;gt;, main.c,  246, Friend Request timed out
00&amp;gt; &amp;lt;t:   15957811&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   15963330&amp;gt;, main.c,  215, Received friend offer from 0x0010
00&amp;gt; &amp;lt;t:   15984504&amp;gt;, main.c,  246, Friend Request timed out
00&amp;gt; &amp;lt;t:   15984509&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   16026156&amp;gt;, main.c,  215, Received friend offer from 0x0010
00&amp;gt; &amp;lt;t:   16029717&amp;gt;, main.c,  256, Friendship established with: 0x0010
00&amp;gt; &amp;lt;t:   16043605&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:   16371801&amp;gt;, main.c,  268, Friendship with 0x0010 terminated. Reason: 2
00&amp;gt; &amp;lt;t:   16371807&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   16377325&amp;gt;, main.c,  215, Received friend offer from 0x0012
00&amp;gt; &amp;lt;t:   16398499&amp;gt;, main.c,  246, Friend Request timed out
00&amp;gt; &amp;lt;t:   16398504&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   16404022&amp;gt;, main.c,  215, Received friend offer from 0x0013
00&amp;gt; &amp;lt;t:   16425196&amp;gt;, main.c,  246, Friend Request timed out
00&amp;gt; &amp;lt;t:   16425202&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   16459584&amp;gt;, main.c,  215, Received friend offer from 0x0012
00&amp;gt; &amp;lt;t:   16480758&amp;gt;, main.c,  246, Friend Request timed out
00&amp;gt; &amp;lt;t:   16480763&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   16516914&amp;gt;, main.c,  215, Received friend offer from 0x0011
00&amp;gt; &amp;lt;t:   16538002&amp;gt;, main.c,  246, Friend Request timed out
00&amp;gt; &amp;lt;t:   16538007&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   16574158&amp;gt;, main.c,  215, Received friend offer from 0x0012
00&amp;gt; &amp;lt;t:   16595245&amp;gt;, main.c,  246, Friend Request timed out
00&amp;gt; &amp;lt;t:   16595250&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   16600769&amp;gt;, main.c,  215, Received friend offer from 0x0011
00&amp;gt; &amp;lt;t:   16604331&amp;gt;, main.c,  256, Friendship established with: 0x0011
00&amp;gt; &amp;lt;t:   16632306&amp;gt;, main.c,  268, Friendship with 0x0011 terminated. Reason: 2
00&amp;gt; &amp;lt;t:   16632313&amp;gt;, main.c,   98, Initiating the friendship establishment procedure.
00&amp;gt; &amp;lt;t:   16690303&amp;gt;, main.c,  215, Received friend offer from 0x0014
00&amp;gt; &amp;lt;t:   16700917&amp;gt;, main.c,  256, Friendship established with: 0x0014
00&amp;gt; &amp;lt;t:   16725377&amp;gt;, main.c,  242, Friend poll procedure complete
00&amp;gt; &amp;lt;t:     276358&amp;gt;, main.c,  268, Friendship with 0x0014 terminated. Reason: 2&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/365150?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 11:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b43d02e3-e88f-4424-be33-3e744dc529d7</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There&amp;#39;s no standardized way to trigger a friend request remotely, although one ide could be to have the LPN feature disabled by default, and start sending friend requests once the LPN feature is enabled through configuration. That way, the provisioner can configure everything it wants first, then enable LPN as the final configuration.&lt;/p&gt;
&lt;p&gt;Alternatively use a timer, so that if no new configurations are received within a certain time-out the configuration is considered done.&lt;/p&gt;
&lt;p&gt;Or wait with requesting friendships until the GATT connection to the provisioner has terminated (assuming a GATT device such as a smartphone as provisioner.)&lt;/p&gt;
&lt;p&gt;Using a button for triggering friendship is of course also an option.&lt;/p&gt;
&lt;p&gt;(PS: Your link was to a different page, but I assume you were referring to the &amp;quot;LPN life cycle&amp;quot; section under &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v5.0.0%2Fmd_doc_user_guide_modules_lpn_concept.html"&gt;Low Power node feature&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/364134?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 08:27:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdaac647-9098-4c8f-bd4c-3c65d7397ea7</guid><dc:creator>Arif@Lynxemi</dc:creator><description>&lt;p&gt;Happy Easter hols!&lt;/p&gt;
&lt;p&gt;I see, so one possible solution is for the provisioner to send a message to the LPN when it is in the &amp;quot;Normal operation(continuous scan)&amp;quot; mode? See the&amp;nbsp;&lt;a title="Typical LPN Lifecycle" href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_sdk%2Fstruct%2Fsdk_mesh_latest.html"&gt;Typical LPN Lifecycle&lt;/a&gt;. That message will just initiate the friendship process and nothing else. Alternatively I have to produce devices with pushbuttons that will do the same thing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh LPN application timing out and/or terminating</title><link>https://devzone.nordicsemi.com/thread/363169?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2022 11:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dc18f5e-e8bd-4dbe-bbd0-30560b870a76</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You might be initiating the friendship establishment procedure a bit too early, yes. The node provisioning and configuration is done in two parts. First you have the provisioning, which includes the device into the network. Then you have the configuration of the device, which involves sharing app keys, setting node configurations, configure the models on the device, and so on. I suspect somehting might go wrong if initiating a friendship concurrently with the provisioner configuring the device.&lt;/p&gt;
&lt;p&gt;You get the provisioning_complete_cb callback when provisioning is complete, but you still have configuration to do. There is no similar callback after configuration is finished, since it is up to the provisioner what settings to configure (and what settings to leave at default values), and so it is impossible for the device to tell that the configuration is complete.&lt;/p&gt;
&lt;p&gt;Please note that we are entering Easter vacation in Norway. You may have to wait until next week for answers to any follow-up questions.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>