<?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>Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80603/connection-parameters-in-nrf-ble</link><description>want to know how can i judge that the variation is caused in the connection interval, connection supervision timeout, slave latency once i have flashed ble_app_template code in nrf52832 s132.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Dec 2021 10:41:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80603/connection-parameters-in-nrf-ble" /><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/342514?ContentTypeID=1</link><pubDate>Wed, 08 Dec 2021 10:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58f64fb2-0950-45cc-890d-1d23d0e39fbc</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Please go through all the conditions that would trigger a link termination by your application, and see if any of these may be triggered unexpectedly as a result of the changed connection interval.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/342368?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 14:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dadc63e1-e92c-4446-a123-2daf2724a2a6</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;&amp;nbsp;i havent changed anything except the Connection Interval values, i am not getting why this is hampering&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/342159?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 16:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be55431-66e5-4789-b086-21935a6fe608</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Please note that we do not provide support in the forum during the weekend.&lt;/p&gt;
[quote user="RIDHIMA"]i found that increasing CI reduces power consumption but&amp;nbsp;[/quote]
&lt;p&gt;This is correct, because it will lead to much more infrequent use of the RADIO peripheral, which in turn saves power.&lt;/p&gt;
[quote user="RIDHIMA"]i am sharing you the wireshark traces:[/quote]
&lt;p&gt;Thank you for providing the traces. I do not immediately see anything abnormal in the traces - the connections are terminated by either the peripheral or the central in either cases, with no error. Everything seems nominal.&lt;br /&gt;&lt;br /&gt;This makes me suspect that it is a application layer logical issue that is causing this. What could cause either the peripheral or the central to terminate the connection? Are they both programmed to terminate the connection when certain conditions are met, such as no data being sent for a specific period, or similar?&lt;br /&gt;Both instances have a period of empty packets leading up to the connection termination.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/341974?ContentTypeID=1</link><pubDate>Mon, 06 Dec 2021 06:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77790030-a928-480c-b52a-ee6ebc7d28dc</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/karl-ylvisaker"&gt;Karl Ylvisaker&lt;/a&gt; pls administer the above issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/341911?ContentTypeID=1</link><pubDate>Fri, 03 Dec 2021 14:15:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b68d3657-9777-429c-9c50-b78c82089a1f</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;Hello Karl,&lt;/p&gt;
&lt;p&gt;My code works as:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;press button&lt;/p&gt;
&lt;p&gt;device advertise with name BTLog&lt;/p&gt;
&lt;p&gt;Then i connect on nrf connect app on mobile&lt;/p&gt;
&lt;p&gt;i press a button and put device in data logging mode with flash storage and temperature sensor interfaced&lt;/p&gt;
&lt;p&gt;then after logging i press button again to make the device sleep&lt;/p&gt;
&lt;p&gt;then again press button to readvertise&lt;/p&gt;
&lt;p&gt;the from the service created i get the logged data using notification&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i face issue in setting connection parameters :&lt;/p&gt;
&lt;p&gt;i found that increasing CI reduces power consumption but&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1st is for 7.5-100ms connection interval which accounts for more than 20 logs&lt;/p&gt;
&lt;p&gt;2nd is for&amp;nbsp;&lt;span&gt;&amp;nbsp;1000-1000ms&amp;nbsp;connection interval&amp;nbsp;which only&amp;nbsp; 4 logs&lt;/span&gt;&lt;span&gt;&amp;nbsp;after which i dont get logs&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i am sharing you the wireshark traces:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7.5_2D00_100ms-file.pcapng"&gt;devzone.nordicsemi.com/.../7.5_2D00_100ms-file.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1000_2D00_1000ms.pcapng"&gt;devzone.nordicsemi.com/.../1000_2D00_1000ms.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1000_2D00_1000ms-file.csv"&gt;devzone.nordicsemi.com/.../1000_2D00_1000ms-file.csv&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7.5_2D00_100ms.csv"&gt;devzone.nordicsemi.com/.../7.5_2D00_100ms.csv&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7.5_2D00_100ms-file.txt"&gt;devzone.nordicsemi.com/.../7.5_2D00_100ms-file.txt&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1000_2D00_1000ms.txt"&gt;devzone.nordicsemi.com/.../1000_2D00_1000ms.txt&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&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: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/340011?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 10:40:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b1007c6-f2f5-4df5-8f06-811ea1d85451</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;You could share it using the&amp;nbsp;&lt;em&gt;Insert -&amp;gt; Image/Video/file&amp;nbsp;&lt;/em&gt;option. Please also address my other questions.&lt;br /&gt;&lt;br /&gt;Please share the .pcapng file, as generated by Wireshark.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/340009?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 10:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9255bdab-4927-416d-8a77-86a2b47fc960</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;for sniffer trace i have a csv file how to share it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/340002?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 10:19:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:508c88be-097d-4cf2-a506-f9e9e1eb4097</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user="RIDHIMA"]what is the problem i am getting is that as i set 7.5-100ms i am able to get multiple logs but when i set to 1000-1000ms i get only 16 logs and after that my device stops logging[/quote]
&lt;p&gt;I know this already, you have said this before, but it seems that you might be ignoring my comments about the sniffer trace and debug session.&lt;br /&gt;Could you share the whole sniffer trace with me here, so I may take a look? Please provide the trace for both the working and the non-working scenario.&lt;br /&gt;Have you used a debug session to verify whether the program counter is getting stuck anywhere in the 16 log cases?&lt;br /&gt;I have theorized before that it might be due to a buffer overflow or buildup when you change the connection interval to 1000 ms, since the buffers will be emptied much more infrequently with this connection interval.&lt;br /&gt;&lt;br /&gt;Furthermore, what I asked in my previous comment was;&amp;nbsp;&lt;em&gt;what&amp;nbsp;&lt;/em&gt;did you try to communicate with the screenshot of the single packet? What was it that you would like me to take a look at in this packet?&lt;br /&gt;&lt;br /&gt;Please elaborate on your issues, address my questions, and be as specific as possible - so that we together may resolve your issues more quickly.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/339901?ContentTypeID=1</link><pubDate>Sat, 20 Nov 2021 08:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10743867-f47c-4f58-88fc-ab223282cc86</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;karl what is the problem i am getting is that as i set 7.5-100ms i am able to get multiple logs but when i set to 1000-1000ms i get only 16 logs and after that my device stops logging&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/339854?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 14:37:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79ddf4ed-8605-4c7c-91b2-9d1c8caa8616</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;This looks like a screenshot of a single, random packet.&lt;br /&gt;Please elaborate &lt;em&gt;thoroughly&lt;/em&gt; on what you are trying to communicate.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/339697?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 15:32:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ff26b31-d3f4-4a76-bca9-95b638c4ed97</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/557358.Capture.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/339652?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 13:16:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95e2a9d9-48b0-4cc2-ab30-b17911ff0b1b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Thanks for providing the logs.&lt;br /&gt;Please also address the rest of my questions from my previous comments.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/339629?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 12:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8636a15-88e3-4085-a958-0035ef46bfe4</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;17:26:10.658 -&amp;gt; &amp;lt;info&amp;gt; app: BeforeFivesec

17:26:10.658 -&amp;gt; &amp;lt;info&amp;gt; app_timer: RTC: initialized.

17:26:10.658 -&amp;gt; &amp;lt;info&amp;gt; app: hello ble

17:26:10.658 -&amp;gt; &amp;lt;info&amp;gt; app: Before enter into sleep mode

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: After enter into sleep mode

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Alarm status : 0

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Upper threshold : 30

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Lower threshold : 20

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Type C : 1

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Starting delay in sec. : 0

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Interval delay in sec.: 10

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Data EF4015

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Data3 15

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Data2 40

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Data1 EF

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Data0 0

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter4 10 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: log counter value : 16 

17:26:10.705 -&amp;gt; &amp;lt;info&amp;gt; app: Newpasskey12:123456

17:26:10.752 -&amp;gt; &amp;lt;info&amp;gt; app: Fast advertising

17:26:10.752 -&amp;gt; &amp;lt;info&amp;gt; app: start advertising

17:26:10.752 -&amp;gt; &amp;lt;info&amp;gt; app: Application started in Advertising Mode.

17:26:10.752 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time service client started.

17:26:16.257 -&amp;gt; &amp;lt;info&amp;gt; app: Device Connected

17:26:16.257 -&amp;gt; &amp;lt;info&amp;gt; app: Connected.

17:26:16.914 -&amp;gt; &amp;lt;info&amp;gt; ble_cts_c: Current Time Service discovered at peer.

17:26:16.914 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time Service discovered on server.

17:26:17.009 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time received.

17:26:17.009 -&amp;gt; &amp;lt;info&amp;gt; app: 11/16/21-17:26:24

17:26:30.180 -&amp;gt; &amp;lt;info&amp;gt; app: passkeynew:123456

17:26:30.180 -&amp;gt; &amp;lt;info&amp;gt; app: passkeynew1:123456

17:26:30.180 -&amp;gt; &amp;lt;info&amp;gt; app: comaprision successful

17:27:05.129 -&amp;gt; &amp;lt;info&amp;gt; app: BeforeFivesec

17:27:05.129 -&amp;gt; &amp;lt;info&amp;gt; app: Data logging Mode.

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Bluetooth deactivated.

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Fast advertising

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Device Disconnected

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Disconnect Complete.

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Disconnected.

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: defaualtpasskey ******

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Memory Initialization done.

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Temp Logging started hi.

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Timer started hi.

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: Initial timer finished!

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:27:05

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 0 23

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: reading 1 done

17:27:05.176 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 1 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:27:15.809 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:27:16

17:27:15.809 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 23 23

17:27:15.809 -&amp;gt; &amp;lt;info&amp;gt; app: reading 2 done

17:27:15.809 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 2 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:27:25.810 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:27:26

17:27:25.810 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 46 23

17:27:25.810 -&amp;gt; &amp;lt;info&amp;gt; app: reading 3 done

17:27:25.810 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 3 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:27:35.800 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:27:36

17:27:35.800 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 69 23

17:27:35.800 -&amp;gt; &amp;lt;info&amp;gt; app: reading 4 done

17:27:35.800 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 4 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:27:45.787 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:27:46

17:27:45.787 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 92 23

17:27:45.834 -&amp;gt; &amp;lt;info&amp;gt; app: reading 5 done

17:27:45.834 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 5 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:27:55.823 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:27:56

17:27:55.823 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 115 23

17:27:55.823 -&amp;gt; &amp;lt;info&amp;gt; app: reading 6 done

17:27:55.823 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 6 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:28:05.811 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.75-11/16/21-17:28:06

17:28:05.811 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 138 23

17:28:05.811 -&amp;gt; &amp;lt;info&amp;gt; app: reading 7 done

17:28:05.811 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 7 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:28:15.801 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:28:16

17:28:15.801 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 161 23

17:28:15.801 -&amp;gt; &amp;lt;info&amp;gt; app: reading 8 done

17:28:15.801 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 8 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:28:25.789 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:28:26

17:28:25.789 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 184 23

17:28:25.789 -&amp;gt; &amp;lt;info&amp;gt; app: reading 9 done

17:28:25.789 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 9 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:28:35.807 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.88-11/16/21-17:28:36

17:28:35.807 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 207 23

17:28:35.807 -&amp;gt; &amp;lt;info&amp;gt; app: reading 10 done

17:28:35.807 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 A temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:28:45.788 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.75-11/16/21-17:28:46

17:28:45.788 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 230 23

17:28:45.835 -&amp;gt; &amp;lt;info&amp;gt; app: reading 11 done

17:28:45.835 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 B temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:28:55.799 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.75-11/16/21-17:28:56

17:28:55.799 -&amp;gt; &amp;lt;info&amp;gt; app: reading 12 done

17:28:55.799 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 C temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:29:05.819 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-17:29:06

17:29:05.819 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 20 23

17:29:05.819 -&amp;gt; &amp;lt;info&amp;gt; app: reading 13 done

17:29:05.819 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 D temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:29:15.791 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-17:29:16

17:29:15.791 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 43 23

17:29:15.791 -&amp;gt; &amp;lt;info&amp;gt; app: reading 14 done

17:29:15.791 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 E temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:29:25.826 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-17:29:26

17:29:25.826 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 66 23

17:29:25.826 -&amp;gt; &amp;lt;info&amp;gt; app: reading 15 done

17:29:25.826 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 F temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:29:35.783 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-17:29:36

17:29:35.830 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 89 23

17:29:35.830 -&amp;gt; &amp;lt;info&amp;gt; app: reading 16 done

17:29:35.830 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 10 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:29:45.819 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-17:29:46

17:29:45.819 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 112 23

17:29:45.819 -&amp;gt; &amp;lt;info&amp;gt; app: reading 17 done

17:29:45.819 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 11 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:29:55.804 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-17:29:56

17:29:55.804 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 135 23

17:29:55.804 -&amp;gt; &amp;lt;info&amp;gt; app: reading 18 done

17:29:55.804 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 12 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:30:05.819 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-17:30:06

17:30:05.819 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 158 23

17:30:05.819 -&amp;gt; &amp;lt;info&amp;gt; app: reading 19 done

17:30:05.819 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 13 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:30:15.813 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-17:30:16

17:30:15.813 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 181 23

17:30:15.813 -&amp;gt; &amp;lt;info&amp;gt; app: reading 20 done

17:30:15.813 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 14 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:30:25.820 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-17:30:26

17:30:25.820 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 204 23

17:30:25.820 -&amp;gt; &amp;lt;info&amp;gt; app: reading 21 done

17:30:25.820 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 15 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:30:35.790 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-17:30:36

17:30:35.790 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 227 23

17:30:35.790 -&amp;gt; &amp;lt;info&amp;gt; app: reading 22 done

17:30:35.790 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 16 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:30:45.824 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-17:30:46

17:30:45.824 -&amp;gt; &amp;lt;info&amp;gt; app: reading 23 done

17:30:45.824 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 17 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:30:55.814 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-17:30:56

17:30:55.814 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 2 17 23

17:30:55.814 -&amp;gt; &amp;lt;info&amp;gt; app: reading 24 done

17:30:55.814 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 18 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:31:05.816 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-17:31:06

17:31:05.816 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 2 40 23

17:31:05.816 -&amp;gt; &amp;lt;info&amp;gt; app: reading 25 done

17:31:05.816 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 19 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:31:21.150 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 26.00-11/16/21-17:31:22

17:31:21.150 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 2 63 23

17:31:21.199 -&amp;gt; &amp;lt;info&amp;gt; app: reading 26 done

17:31:21.199 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 1A temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:31:25.793 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.75-11/16/21-17:31:26

17:31:25.793 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 2 86 23

17:31:25.793 -&amp;gt; &amp;lt;info&amp;gt; app: reading 27 done

17:31:25.793 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 1B temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

17:31:35.814 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.75-11/16/21-17:31:36

17:31:35.814 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 2 109 23

17:31:35.814 -&amp;gt; &amp;lt;info&amp;gt; app: reading 28 done

17:31:35.814 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 1C temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Case of multiple logs with CI: 7.5-100ms&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Case of&amp;nbsp;getting only 16&amp;nbsp; logs with CI: 1000-1000ms: after 16 logs not able to get log&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: BeforeFivesec

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app_timer: RTC: initialized.

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: hello ble

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Before enter into sleep mode

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: After enter into sleep mode

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Alarm status : 0

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Upper threshold : 30

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Lower threshold : 20

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Type C : 1

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Starting delay in sec. : 0

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Interval delay in sec.: 10

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Data EF4015

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Data3 15

12:47:30.329 -&amp;gt; &amp;lt;info&amp;gt; app: Data2 40

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: Data1 EF

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: Data0 0

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter4 3 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: log counter value : 3 

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: Newpasskey12:123456

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: Fast advertising

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: start advertising

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: Application started in Advertising Mode.

12:47:30.376 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time service client started.

12:48:10.486 -&amp;gt; &amp;lt;info&amp;gt; app: Device Connected

12:48:10.486 -&amp;gt; &amp;lt;info&amp;gt; app: Connected.

12:48:11.282 -&amp;gt; &amp;lt;info&amp;gt; ble_cts_c: Current Time Service discovered at peer.

12:48:11.282 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time Service discovered on server.

12:48:11.282 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time received.

12:48:11.282 -&amp;gt; &amp;lt;info&amp;gt; app: 11/16/21-12:48:53

12:48:36.287 -&amp;gt; &amp;lt;info&amp;gt; app: passkeynew:123456

12:48:36.287 -&amp;gt; &amp;lt;info&amp;gt; app: passkeynew1:123456

12:48:36.287 -&amp;gt; &amp;lt;info&amp;gt; app: comaprision successful

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: BeforeFivesec

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Data logging Mode.

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Bluetooth deactivated.

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Memory Initialization done.

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Fast advertising

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Device Disconnected

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Disconnect Complete.

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Disconnected.

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: defaualtpasskey ******

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Temp Logging started hi.

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Timer started hi.

12:49:11.552 -&amp;gt; &amp;lt;info&amp;gt; app: Initial timer finished!

12:49:11.598 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.75-11/16/21-12:49:12

12:49:11.598 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 0 23

12:49:11.598 -&amp;gt; &amp;lt;info&amp;gt; app: reading 1 done

12:49:11.598 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 1 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:49:22.178 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:49:22

12:49:22.178 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 23 23

12:49:22.225 -&amp;gt; &amp;lt;info&amp;gt; app: reading 2 done

12:49:22.225 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 2 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:49:32.181 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:49:32

12:49:32.181 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 46 23

12:49:32.228 -&amp;gt; &amp;lt;info&amp;gt; app: reading 3 done

12:49:32.228 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 3 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:49:42.218 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:49:42

12:49:42.218 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 69 23

12:49:42.218 -&amp;gt; &amp;lt;info&amp;gt; app: reading 4 done

12:49:42.218 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 4 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:49:52.210 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-12:49:52

12:49:52.210 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 92 23

12:49:52.210 -&amp;gt; &amp;lt;info&amp;gt; app: reading 5 done

12:49:52.210 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 5 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:50:02.208 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:50:02

12:50:02.208 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 115 23

12:50:02.208 -&amp;gt; &amp;lt;info&amp;gt; app: reading 6 done

12:50:02.208 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 6 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:50:12.213 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-12:50:12

12:50:12.213 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 138 23

12:50:12.213 -&amp;gt; &amp;lt;info&amp;gt; app: reading 7 done

12:50:12.213 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 7 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:50:22.203 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-12:50:22

12:50:22.203 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 161 23

12:50:22.203 -&amp;gt; &amp;lt;info&amp;gt; app: reading 8 done

12:50:22.203 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 8 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:50:32.197 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:50:32

12:50:32.197 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 184 23

12:50:32.197 -&amp;gt; &amp;lt;info&amp;gt; app: reading 9 done

12:50:32.197 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 9 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:50:42.199 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:50:42

12:50:42.199 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 207 23

12:50:42.199 -&amp;gt; &amp;lt;info&amp;gt; app: reading 10 done

12:50:42.199 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 A temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:50:52.188 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.50-11/16/21-12:50:52

12:50:52.188 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 0 230 23

12:50:52.188 -&amp;gt; &amp;lt;info&amp;gt; app: reading 11 done

12:50:52.235 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 B temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:51:02.193 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:51:02

12:51:02.193 -&amp;gt; &amp;lt;info&amp;gt; app: reading 12 done

12:51:02.193 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 C temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:51:12.203 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:51:12

12:51:12.203 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 20 23

12:51:12.203 -&amp;gt; &amp;lt;info&amp;gt; app: reading 13 done

12:51:12.203 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 D temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:51:22.216 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:51:22

12:51:22.216 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 43 23

12:51:22.216 -&amp;gt; &amp;lt;info&amp;gt; app: reading 14 done

12:51:22.216 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 E temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:51:32.177 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.75-11/16/21-12:51:32

12:51:32.177 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 66 23

12:51:32.224 -&amp;gt; &amp;lt;info&amp;gt; app: reading 15 done

12:51:32.224 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 F temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:51:42.216 -&amp;gt; &amp;lt;info&amp;gt; app: data_to_send 25.63-11/16/21-12:51:42

12:51:42.216 -&amp;gt; &amp;lt;info&amp;gt; app: temp_write_page temp_write_offset bytes_to_write 1 89 23

12:51:42.216 -&amp;gt; &amp;lt;info&amp;gt; app: reading 16 done

12:51:42.216 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter0 10 temporarylogcounter1 0 temporarylogcounter2  0 temporarylogcounter3 0

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: BeforeFivesec

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app_timer: RTC: initialized.

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: hello ble

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Before enter into sleep mode

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: After enter into sleep mode

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Alarm status : 0

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Upper threshold : 30

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Lower threshold : 20

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Type C : 1

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Starting delay in sec. : 0

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Interval delay in sec.: 10

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Data EF4015

12:52:05.716 -&amp;gt; &amp;lt;info&amp;gt; app: Data3 15

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: Data2 40

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: Data1 EF

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: Data0 0

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: temporarylogcounter4 10 temporarylogcounter3 0 temporarylogcounter2  0 temporarylogcounter1 0

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: log counter value : 16 

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: Newpasskey12:123456

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: Fast advertising

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: start advertising

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: Application started in Advertising Mode.

12:52:05.763 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time service client started.

12:52:32.666 -&amp;gt; &amp;lt;info&amp;gt; app: Device Connected

12:52:32.666 -&amp;gt; &amp;lt;info&amp;gt; app: Connected.

12:52:33.414 -&amp;gt; &amp;lt;info&amp;gt; ble_cts_c: Current Time Service discovered at peer.

12:52:33.414 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time Service discovered on server.

12:52:33.414 -&amp;gt; &amp;lt;info&amp;gt; app: Current Time received.

12:52:33.414 -&amp;gt; &amp;lt;info&amp;gt; app: 11/16/21-12:53:02

12:52:47.276 -&amp;gt; &amp;lt;info&amp;gt; app: passkeynew:123456

12:52:47.276 -&amp;gt; &amp;lt;info&amp;gt; app: passkeynew1:123456

12:52:47.276 -&amp;gt; &amp;lt;info&amp;gt; app: comaprision successful

12:53:01.240 -&amp;gt; &amp;lt;info&amp;gt; app: Logging started!

12:53:01.380 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 0 23

12:53:01.380 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 23 23

12:53:01.380 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 46 23

12:53:01.380 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 69 23

12:53:01.380 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 92 23

12:53:02.270 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 92 23

12:53:02.270 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 115 23

12:53:02.270 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 138 23

12:53:02.270 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 138 23

12:53:02.318 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 161 23

12:53:02.318 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23

12:53:02.318 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23

12:53:03.253 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 184 23

12:53:03.300 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 207 23

12:53:03.300 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 230 23

12:53:03.300 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   0 230 23

12:53:03.300 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23

12:53:03.300 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23

12:53:04.278 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   1 20 23

12:53:04.278 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   1 43 23

12:53:04.278 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   1 66 23

12:53:04.278 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   1 66 23

12:53:05.261 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   1 66 23

12:53:05.261 -&amp;gt; &amp;lt;info&amp;gt; app: tempread temp_read_page temp_read_offset bytes_to_read   1 89 23

12:53:05.261 -&amp;gt; &amp;lt;info&amp;gt; app: ***All Readings have been sent.!!!***

12:53:22.263 -&amp;gt; &amp;lt;info&amp;gt; app: Fast advertising

12:53:22.263 -&amp;gt; &amp;lt;info&amp;gt; app: Device Disconnected

12:53:22.263 -&amp;gt; &amp;lt;info&amp;gt; app: Disconnect Complete.

12:53:22.263 -&amp;gt; &amp;lt;info&amp;gt; app: Disconnected.

12:53:22.263 -&amp;gt; &amp;lt;info&amp;gt; app: defaualtpasskey ******

&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338980?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 10:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00635efc-bb05-4dd5-839d-c50f293d0f25</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Please share logs using the&amp;nbsp;&lt;em&gt;Insert -&amp;gt; Code -&amp;gt; Text&amp;nbsp;&lt;/em&gt;option rather than sharing screenshots of the logs. Proper formatting drastically increases readability and thus makes debugging easier.&lt;br /&gt;Please also show me the log for the scenario in which the application seemingly stops after 16 logs.&lt;br /&gt;Have you run a debugging session and checked out if the program counter gets stuck anywhere following the 16&amp;#39;th logging?&lt;br /&gt;&lt;br /&gt;Please see my previous comment about the sniffer.&lt;br /&gt;Could you capture a sniffer trace of these two scenarios in addition to the logs?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338904?ContentTypeID=1</link><pubDate>Mon, 15 Nov 2021 05:53:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffdd481a-ab58-41e8-9725-6bff5599dfb6</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;Karl pls look into at earliest&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338867?ContentTypeID=1</link><pubDate>Sat, 13 Nov 2021 06:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b57a9b5-85a6-4ce7-a98e-72b7b080f739</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/376862.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;with above configuration i get many log values and logging continues:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/qqqq.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/qqqqqq.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/qqqqqqqqq.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;but with&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/zzzz.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;after 16 logs nothing happens and logs stop without any error but in power profiler i saw that logging stopped after 16 values&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3-mins-values.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;no value after 16 logs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338798?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 13:15:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3afed15d-654d-4635-bdc1-e2a553efdc2d</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="RIDHIMA"]&lt;p&gt;&lt;span&gt;ans: as suggested by you i had set :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)&amp;nbsp;&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and next time as:&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Setting the peripheral&amp;#39;s preference is&amp;nbsp;&lt;em&gt;not&lt;/em&gt; equal to verifying what connection interval that is actually being used. As mentioned the peripheral may only &lt;em&gt;request&amp;nbsp;&lt;/em&gt;an update of the parameters. It does not have any decision making powers over the central.&amp;nbsp;&lt;br /&gt;To verify which connection parameters are used you will either have to have the logger of the peripheral or central output the used connection parameters and updates or use the nRF Sniffer tool to see which interval is actually being used.&lt;/p&gt;
[quote user="RIDHIMA"]&lt;p&gt;&lt;span&gt;and next time as:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(4000, UNIT_1_25_MS) /**&amp;lt; Minimum acceptable connection interval (0.5 seconds). */&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(4000, UNIT_1_25_MS) /**&amp;lt; Maximum acceptable connection interval (1 second). */&lt;br /&gt;#define SLAVE_LATENCY 1 /**&amp;lt; Slave latency. */&lt;br /&gt;#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(16010, UNIT_10_MS) /**&amp;lt; Connection supervisory time-out (4 seconds). */&lt;/p&gt;
&lt;p&gt;&lt;span&gt;then i got only 16 logs which rendered sleep afterwards.&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Is there anything else unexpected that happens?&lt;br /&gt;Does the device reset? Does anything unexpected appear in the logs you are seeing? Does the central device log anything unexpected?&lt;br /&gt;Saying that you suddenly only see 16 logs does not provide me with any information to debug with.&lt;br /&gt;&lt;br /&gt;I am not sure we will be getting anywhere with this until we see a sniffer trace. Could you capture a sniffer trace of these two scenarios, and upload the traces along with the peripheral&amp;#39;s logs?&lt;br /&gt;It is hard for me to suggest anything at all from your current description of the issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338778?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 12:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:329c0547-a5f7-40c6-abd1-407aba5c9365</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;&lt;span&gt;Could you also elaborate how you verified that the connection interval was actually 1000 and 4000 ms?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ans: as suggested by you i had set :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)&amp;nbsp;&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and next time as:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(4000, UNIT_1_25_MS) /**&amp;lt; Minimum acceptable connection interval (0.5 seconds). */&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(4000, UNIT_1_25_MS) /**&amp;lt; Maximum acceptable connection interval (1 second). */&lt;br /&gt;#define SLAVE_LATENCY 1 /**&amp;lt; Slave latency. */&lt;br /&gt;#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(16010, UNIT_10_MS) /**&amp;lt; Connection supervisory time-out (4 seconds). */&lt;/p&gt;
&lt;p&gt;&lt;span&gt;then i got only 16 logs which rendered sleep afterwards.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However with Connection Interval as:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(7.5, UNIT_1_25_MS)&amp;nbsp;&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(100, UNIT_1_25_MS)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;device did not fall to sleep and gave logs continuously&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338762?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 11:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60eff12b-1c83-4b0b-8e43-7d930cc834e9</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="RIDHIMA"]1).&amp;nbsp; &amp;#39;same issue&amp;#39; : is the issue i described in&amp;nbsp;my previous comment, where the button press does not produce the expected logs when&amp;nbsp;&amp;nbsp;connection interval was 1000.[/quote]
&lt;p&gt;Thank you for specifying.&lt;/p&gt;
[quote user="RIDHIMA"]&lt;p&gt;&lt;span&gt;2). when i had set to 7.5-100ms the current between logs was&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="font-weight:400;"&gt;556.76 &lt;/span&gt;&lt;span style="font-weight:400;"&gt;µA&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;but when&amp;nbsp;&lt;span&gt;connection interval was 1000ms it increased to&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="font-weight:400;"&gt;685.85 &lt;/span&gt;&lt;span style="font-weight:400;"&gt;µA&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="font-weight:400;"&gt;why is the current between logs increasing?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;It is hard for me to speculate about this without seeing the current code.&lt;br /&gt;However, this might be another symptom of the issue you are seeing with the missing / less-than-expected logging. I suggest that we focus on resolving this issue first, so that we potentially does not spend time debugging a symptom that may go away when we resolve the root issue.&lt;/p&gt;
[quote user="RIDHIMA"]3). i didnt get what is the overflow you meant bcz with 7.5-100ms i am able to get many logs but not with&amp;nbsp;changing&amp;nbsp;interval to 1000ms&amp;nbsp;[/quote]
&lt;p&gt;What I meant is that there might be an overflow in your buffers if you change the connection interval from 7.5 ms to 1000 ms unless you have taken specific actions to accommodate for the increase in time between transfers.&lt;br /&gt;For example, if you have a sensor you are reading from every 15 ms, that would mean 1 buffered packet between every other connection event. If you then change to 1000 ms connection interval, you will suddenly buffer 67 packets between each connection event. If the connection interval is the only thing that you have changed, there might be issues with the buffers overflowing when you make this change.&lt;br /&gt;Again, this is just speculations on my part, since I have not actually seen the code in its current state.&lt;br /&gt;&lt;br /&gt;Please also see my other previous questions:&lt;/p&gt;
[quote user="Karl Ylvisaker"]Could you also elaborate how you verified that the connection interval was actually 1000 and 4000 ms?[/quote][quote user="Karl Ylvisaker"]Is there any errors occurring when you use the 1000 ms connection interval? Does the device reset unexpectedly?[/quote]
&lt;p&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338680?ContentTypeID=1</link><pubDate>Fri, 12 Nov 2021 05:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ddbf82b-897e-4884-9951-918c11889a26</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;&lt;span&gt;1).&amp;nbsp; &amp;#39;same issue&amp;#39; : is the issue i described in&amp;nbsp;my previous comment, where the button press does not produce the expected logs when&amp;nbsp;&amp;nbsp;connection interval was 1000.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2). when i had set to 7.5-100ms the current between logs was&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="font-weight:400;"&gt;556.76 &lt;/span&gt;&lt;span style="font-weight:400;"&gt;&amp;micro;A&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;but when&amp;nbsp;&lt;span&gt;connection interval was 1000ms it increased to&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="font-weight:400;"&gt;685.85 &lt;/span&gt;&lt;span style="font-weight:400;"&gt;&amp;micro;A&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="font-weight:400;"&gt;why is the current between logs increasing?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span style="font-weight:400;"&gt;3). i didnt get what is the overflow you meant bcz with 7.5-100ms i am able to get many logs but not with&amp;nbsp;changing&amp;nbsp;interval to 1000ms&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338620?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 14:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:471f75f8-6ec6-45c9-9859-27d293ad20f0</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Please be specific - which issue do you refer to when you say &amp;#39;same issue&amp;#39;?&lt;br /&gt;Is it the issue you described in your previous comment, where the buttonpress does not produce the expected logs, or is it the issue you had before with being unable to set the desired connection parameters? The former sounds like an application logic issue, and the latter sounds like a configuration issue.&lt;br /&gt;&lt;br /&gt;Could you also elaborate how you verified that the connection interval was actually 1000 and 4000 ms?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338506?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 09:23:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e17fcbe4-5381-426d-9c5f-dca0bc76c1e1</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;yes i have verified this infact i also did with&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(4000, UNIT_1_25_MS) /**&amp;lt; Minimum acceptable connection interval (0.5 seconds). */&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(4000, UNIT_1_25_MS) /**&amp;lt; Maximum acceptable connection interval (1 second). */&lt;br /&gt;#define SLAVE_LATENCY 1 /**&amp;lt; Slave latency. */&lt;br /&gt;#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(16010, UNIT_10_MS) /**&amp;lt; Connection supervisory time-out&amp;nbsp;&lt;/p&gt;
&lt;p&gt;as told by you. still it is giving same issue&lt;/p&gt;
&lt;p&gt;but with values as 7.5-100 ms it works fine&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338505?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 09:21:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26d7d9f8-5b0f-4e45-a731-dd1eceab9414</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;It is hard for me to say anything about what might be going on here, from your description alone. Is there any errors occurring when you use the 1000 ms connection interval? Does the device reset unexpectedly?&lt;br /&gt;I would think that you might get buffer overflows etc when increasing the connection interval by this much, if you have not also made changes to your sensor-data buffer sizes.&lt;br /&gt;Have you verified that the connection interval being used is actually 1000 ms?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/338491?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 08:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2a14900-42cc-4a0d-9f9f-08d6ba37bfcd</guid><dc:creator>Ridhi</dc:creator><description>&lt;p&gt;Hello Karl&lt;/p&gt;
&lt;p&gt;I have a ble nrf52832 dev kit. I have interfaced flash and temp sensor STTS with it. I am using it for temp data logging. I have intially set the connection parameters as:&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(7.5, UNIT_1_25_MS)&amp;nbsp;&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(100, UNIT_1_25_MS)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define SLAVE_LATENCY 0&amp;nbsp;&lt;br /&gt;#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(9000, UNIT_10_MS) /&lt;br /&gt;#define FIRST_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(5000)&amp;nbsp;&lt;br /&gt;#define NEXT_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(3000) /&lt;br /&gt;#define MAX_CONN_PARAMS_UPDATE_COUNT 3&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I press a button&amp;nbsp; my device advertsises&lt;/p&gt;
&lt;p&gt;then i connect using nrf connect app&lt;/p&gt;
&lt;p&gt;.Created a custom service ,&lt;/p&gt;
&lt;p&gt;press button&amp;nbsp; deevice goes to logging mode and gives abot 20 logs for 10 mins say.&lt;/p&gt;
&lt;p&gt;then i again press button to put device in sleep mode&lt;/p&gt;
&lt;p&gt;then again press button to re advertise and connect on app&lt;/p&gt;
&lt;p&gt;then enable notification of the created service and then read the temp logs.&lt;/p&gt;
&lt;p&gt;with above connection parameters i am able to get the logs but when i set the values for power optimization as:&lt;/p&gt;
&lt;p&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)&amp;nbsp;&lt;br /&gt;#define MAX_CONN_INTERVAL MSEC_TO_UNITS(1000, UNIT_1_25_MS)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define SLAVE_LATENCY 0&amp;nbsp;&lt;br /&gt;#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(9000, UNIT_10_MS) /&lt;br /&gt;#define FIRST_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(5000)&amp;nbsp;&lt;br /&gt;#define NEXT_CONN_PARAMS_UPDATE_DELAY APP_TIMER_TICKS(3000) /&lt;br /&gt;#define MAX_CONN_PARAMS_UPDATE_COUNT 3&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i am only able to get 4 logs just for 1 min and then my system is going to sleep state instead of giving logs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Connection parameters in nrf ble</title><link>https://devzone.nordicsemi.com/thread/336337?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 07:39:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db6fef15-7165-4f53-8858-075347db91f2</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="RIDHIMA"]i have slave latency of&amp;nbsp;0 say, in nordic blinky code there are two services:&amp;nbsp; button and led. how will pheripheral know that it has no data to send so it sets the slave latency.[/quote]
&lt;p&gt;I am sorry to hear that, RIDHIMA. Please do not hesitate to ask if any part of my answer should be unclear, so that I may elaborate.&lt;/p&gt;
[quote user="RIDHIMA"]say i have nordic blinky code and i set the supervision timeout as 4 secs. i am not getting what and how this we can see its effect on nrf connect app.&amp;nbsp;[/quote]
&lt;p&gt;The simplest explanation of the connection supervision timeout is: &amp;quot;It is how long will the device attempt to contact a peer that has stopped responding&amp;quot;&lt;br /&gt;So, if you have 4 s supervision timeout on your peripheral, and you are in connection with a nRF Connect central. If the central stops responding to the peripheral (they both expect to exchange a packet at least for once every connection interval) such as if it leaves the area, or goes into an elevator or similar, they will both still try to communicate with each other for each passing connection interval - in hopes that they will hear from each other again, and continue the connection. The connection supervision timeout tells them how long they should keep trying to reach the peer that is no longer responding.&lt;br /&gt;When a connection is terminated the devices will usually go back into either scanning or advertising so that they can find a new connection. This will not happen until the connection supervision timeout has expired., because both devices still consider the connection as working so long as it has not expired (even though they do not hear anything from their peer).&lt;/p&gt;
[quote user="RIDHIMA"]how will pheripheral know that it has no data to send so it sets the slave latency.[/quote]
&lt;p&gt;The peripheral can know this by checking the contents of the packet it intends to send in the upcoming connection event.&lt;br /&gt;If the packet is empty and the slave latency is &amp;gt; 0 it can skip the upcomming connection event. If the packet is non-empty (contains data) it should transmit during the event.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>