<?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>NRF51822 - reduce frequency trasmission, string in the trasmission and sleep mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64213/nrf51822---reduce-frequency-trasmission-string-in-the-trasmission-and-sleep-mode</link><description>Hi all, 
 I am using the nRF51822 t develope a trasmission between the chip and my phone. Usually I want to send the data coming from the 8 ADC. 
 I am using the sofdevice s130_nrf51_2.0.1 and the example located in the following folder &amp;quot;nRF5_SDK_12.3</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jul 2020 13:49:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64213/nrf51822---reduce-frequency-trasmission-string-in-the-trasmission-and-sleep-mode" /><item><title>RE: NRF51822 - reduce frequency trasmission, string in the trasmission and sleep mode</title><link>https://devzone.nordicsemi.com/thread/262012?ContentTypeID=1</link><pubDate>Tue, 28 Jul 2020 13:49:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97b44540-16b2-4e04-8a52-47d89f904870</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I want to reduce the frequency of trasmission data (to reduce the power consumption), and I don&amp;#39;t know what is the parameter need to change. I have changed the &amp;#39;APP_ADV_INTERVAL&amp;#39; but nothing is happen. It trasmit every 1 second. Can you help me?[/quote]
&lt;p&gt;This will change your advertising interval, not the connection interval. You can set your peripherals limits by changing defines &amp;quot;MIN_CONN_INTERVAL&amp;quot; and &amp;quot;MAX_CONN_INTERVAL&amp;quot;, but its ultimately up to the central to set a interval the peripheral shall operate with.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s good information related to how bluetooth LE works here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]When I receive the data in my phone I only see the value HEX of the ADC. I&amp;#39;d like to see also the words &amp;#39;ADC value is: 0x00000000000&amp;#39;. Is it possible?[/quote]
&lt;p&gt;&amp;nbsp;If you create an custom application on your phone, yes; that is possible. But, not by using the nRF connect application.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]3) Is there a possibility to wake up the chip ever &amp;#39;x&amp;#39; second, acquire the data, trasmit and return in sleep mode?[/quote]
&lt;p&gt;&amp;nbsp;You can use an app_timer instance that triggers periodically for this. See this guide for detailed info:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/application-timer-tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>