<?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>LPN : periodic peaks</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52528/lpn-periodic-peaks</link><description>Hello, 
 I am working on LPN node code from the mesh SDK 3.2.0. When I run the example code, I see a current peak at every 2 sec interval. Please check the image attached. 
 
 I tried changing the poll_interval_ms and other parameters as well but these</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Oct 2019 08:00:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52528/lpn-periodic-peaks" /><item><title>RE: LPN : periodic peaks</title><link>https://devzone.nordicsemi.com/thread/213323?ContentTypeID=1</link><pubDate>Fri, 04 Oct 2019 08:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20928a62-35dc-4c2f-8c95-20d3a13a8136</guid><dc:creator>Sameer</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;Yes this works. It solved the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sameer&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN : periodic peaks</title><link>https://devzone.nordicsemi.com/thread/212018?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 10:59:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e25a0cc7-c985-4692-b7e3-5f9c9f196557</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Sameer,&lt;/p&gt;
&lt;p&gt;When the device is provisioned it will still advertise at a given interval with it&amp;#39;s proxy service. The interval of these advertisements are set by:&lt;/p&gt;
&lt;p&gt;MESH_GATT_PROXY_NETWORK_ID_ADV_INT_MS in nrf_mesh_config_core.h. Try to change it to e.g. 3000, and you will see that there are 3 seconds between the spikes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to stop these advertisements, you can try to call proxy_stop(), and it should stop these advertisements.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you do not want to stop the proxy advertisements, there are a few of them you should look into:&lt;/p&gt;
&lt;p&gt;When a device is unprovisioned:&lt;br /&gt;&lt;span&gt;NRF_MESH_PROV_BEARER_GATT_UNPROV_BEACON_INTERVAL_MS controls the advertising intervals.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For a provisioned node:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(Node ID and Network ID advertisements are cycled one after the other. So both intervals should be changed)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;MESH_GATT_PROXY_NODE_IDENTITY_ADV_INT_MS&lt;br /&gt;MESH_GATT_PROXY_NETWORK_ID_ADV_INT_MS&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN : periodic peaks</title><link>https://devzone.nordicsemi.com/thread/211683?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 06:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62ad09c5-1d64-4573-b0b6-17f3a500d732</guid><dc:creator>Sameer</dc:creator><description>&lt;p&gt;Thanks Florian for the detailed analysis.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;I am talking about the experimental LPN application. The poll_interval_ms is being set in&amp;nbsp;mesh_lpn_friend_accept() function and it returns&amp;nbsp;NRF_SUCCESS. I tried different values of&amp;nbsp;&lt;span&gt;poll_interval_ms&amp;nbsp;from 1 sec to few minutes but this 2 sec peak is consistent and is always there. And I am also not sending anything from the LPN while conducting&lt;/span&gt;&amp;nbsp;this experiment.&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/52528/lpn-periodic-peaks/211566"]but it doesn&amp;#39;t look like the polling interval is actually changed.[/quote]
&lt;p&gt;I&amp;nbsp;believe it is changing as I see the polling related logs as per the set value of&amp;nbsp;&lt;span&gt;poll_interval_ms only and not at every 2sec.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sameer&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN : periodic peaks</title><link>https://devzone.nordicsemi.com/thread/211646?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 22:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6535a0eb-ff7f-4316-9c66-08667fed0d8c</guid><dc:creator>hwswti_dev</dc:creator><description>&lt;p&gt;Hello Edvin, hello Sameer,&lt;br /&gt;&lt;br /&gt;I can confirm this behavior and add additional information as I have measured different polling intervals. Please see the measurement below with 30 second polling interval in an established friendship. During each sleep cycle a message for the LPN arrives at the friend node and gets queued up. The polling exchange happens after the 30 seconds of sleep are over and can also be seen in my sniffer. Here is the Power Profiler App Measurement:&lt;/p&gt;
&lt;p&gt;&lt;img alt="LPN_sleep_30_seconds" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/30s_5F00_sleep.png" /&gt;&lt;/p&gt;
&lt;p&gt;However there still is the periodic two second spike in every of my measurements during sleep:&lt;/p&gt;
&lt;p&gt;&lt;img alt="spike_every_2s_during_sleep" src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2s_5F00_Spike.png" /&gt;&lt;/p&gt;
&lt;p&gt;My first guess was it could be a heartbeat message, but that interval seems to be set way higher in health_server.c (&amp;nbsp;#define ATTENTION_TIMER_INTERVAL 1000000u ). It seems to be some sort of GATT proxy advertising for the nRF Mesh App, because I can see the LPN when I try to reconnect to the network in the App, even if it is asleep. Although I saw none of that advertising in the sniffer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have a second issue with the LPN example, which is described here: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42473/mesh-lpn-rx-race-condition/165496#165496"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/42473/mesh-lpn-rx-race-condition/165496#165496&lt;/a&gt; .&lt;/p&gt;
&lt;p&gt;So in the test setup with two light switch servers and one LPN, the friendship is terminated with reason&amp;nbsp;NRF_MESH_EVT_FRIENDSHIP_TERMINATED_REASON_NO_REPLY when 5 or more poll exchanges need to happen during polling. Increasing MESH_LPN_POLL_RETRY_COUNT has also not solved the issue, is there any news on this?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also I want to address another issue. I bought some nRF6707 Power Profiler Kits and was surprised to see that there is no logging function like discussed here &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39488/exporting-data-from-power-profiler-v2-0-0"&gt;devzone.nordicsemi.com/.../exporting-data-from-power-profiler-v2-0-0&lt;/a&gt; since it is mentioned as &amp;#39;Export measurement data for post-processing&amp;#39; in the Product Brief ( &lt;a href="https://www.nordicsemi.com/-/media/Software-and-other-downloads/Product-Briefs/PowerProfilerKit-product-brief.pdf?la=en&amp;amp;hash=81DB9B626015BEB68F135F23A3F8CB9A3804F4BA"&gt;https://www.nordicsemi.com/-/media/Software-and-other-downloads/Product-Briefs/PowerProfilerKit-product-brief.pdf?la=en&amp;amp;hash=81DB9B626015BEB68F135F23A3F8CB9A3804F4BA&lt;/a&gt; ). I tried using version 1.1.0, but when I measuring for an hour the last log entry was at 470 seconds, so something seems to not work properly. Is there an update when logging will be implemented in the Power Profiler App?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Florian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPN : periodic peaks</title><link>https://devzone.nordicsemi.com/thread/211566?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 13:29:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e8d013a-8ff2-4afc-926f-0ca0e7b62e68</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello? Where, and in what project (lpn or the friend node) did you try to change poll_interval_ms? And in what function is that poll_interval_ms used? And what did that function call return?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The spikes in your graph look very much like radio spikes, so you are on the right track, but it doesn&amp;#39;t look like the polling interval is actually changed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>