<?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>Sending values to Mobile App via UART profile every 200 msec</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53510/sending-values-to-mobile-app-via-uart-profile-every-200-msec</link><description>Hi, 
 We are working on a project based on nrf51822. We have an application that needs to send 2 byte values to the mobile app every 200 milliseconds accurately(ideally 5 values every second). 
 we are using application timers for this purpose with 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Oct 2019 08:49:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53510/sending-values-to-mobile-app-via-uart-profile-every-200-msec" /><item><title>RE: Sending values to Mobile App via UART profile every 200 msec</title><link>https://devzone.nordicsemi.com/thread/216312?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2019 08:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85b85d3b-7e6f-44dd-a5b2-c4192c804ba4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;1. It doesn&amp;#39;t. However the data will be buffered by the softdevice and sent on the next available connection interval. I was assuming here that the connection parameters were lower than &amp;gt;200ms, maybe the actual interval was as high as 1second, which could explain your behaviour. If that is not the case, then you need to look at the accuracy of the LFCLK you have and the configured tolerance.&lt;/p&gt;
&lt;p&gt;2. You may get an estimate of power consumption here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/power"&gt;https://devzone.nordicsemi.com/nordic/power&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;3. Yes, the peripheral device may request thew connection parameters&amp;nbsp;while in a connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending values to Mobile App via UART profile every 200 msec</title><link>https://devzone.nordicsemi.com/thread/216265?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2019 04:58:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:705dc308-23b2-49ba-829d-98fe51a0149f</guid><dc:creator>KrishNa</dc:creator><description>&lt;p&gt;Thanks for the quick reply Kenneth.&lt;/p&gt;
&lt;p&gt;Just few questions,&lt;/p&gt;
&lt;p&gt;1. How does the connection parameters impact the accuracy of application timers?&lt;/p&gt;
&lt;p&gt;2. By changing so, what will be the impact in terms of power consumption. Is there any drawback using the 200 msec connection parameters?&lt;/p&gt;
&lt;p&gt;3. Can i change the connection parameters dynamically when the application is running?&lt;/p&gt;
&lt;p&gt;Waiting for your reply. Thanks in advance.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Krish&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending values to Mobile App via UART profile every 200 msec</title><link>https://devzone.nordicsemi.com/thread/216136?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2019 11:32:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f2fe334-e786-4aab-bd6e-d6b6baa894da</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Make sure to set the connection interval to &amp;lt;200ms, for instance:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define MIN_CONN_INTERVAL MSEC_TO_UNITS(100, UNIT_1_25_MS)
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(200, UNIT_1_25_MS)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Also include&amp;nbsp;conn_params_init() such that the connection interval may be updated if it after connection is higher than &amp;gt;200ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>