<?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>i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39988/i-want-to-transfer-the-data-for-every-one-minute-how-to-do-this-what-function-to-be-used</link><description>Hi..... 
 i want to transfer the data for every one minute from peripheral device to phone (nrf connect ).. how to declare in the program and what function to be used ? 
 suggest me a idea 
 i am using segger (sdk 12.3 version) . debugging the program</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Nov 2018 14:52:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39988/i-want-to-transfer-the-data-for-every-one-minute-how-to-do-this-what-function-to-be-used" /><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155598?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 14:52:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eca76f7a-68fb-4951-8d83-ac5d174ae07c</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;If you take a look at&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38047/sleep-and-wake-up-using-timer-interrupt"&gt;this&lt;/a&gt;&amp;nbsp;case, you will find an example attached, which is similar to what your goal is. Download the zipped file, unpack it to SDK15.0.0/examples/peripheral (This is the sdk it is tested with). It uses the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__app__timer.html"&gt;Application Timer&lt;/a&gt;&amp;nbsp;library, and turns advertising off and on for every 10 seconds.&lt;/p&gt;
&lt;p&gt;If you are able to do this, you can advance to the next step (look at the function &lt;em&gt;heart_rate_meas_timeout_handler()&amp;nbsp;&lt;/em&gt;in the ble_app_hrs example for inspiration)&lt;/p&gt;
&lt;p&gt;Best regards, Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155533?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 10:31:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f249396-6c72-4827-860e-cc0aa4aee926</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;As @awneil said, you will have to merge things from two different projects. I suggest you start with a BLE example, such as ble_app_hrs if you need to send heart rate data, or the ble_app_uart if you want to send custom data. Then look at the app_timer example, and try to add a timer from this example into the ble_app_uart example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One fall pit that I think I should warn you about is that the app_timer example uses TIMER0, in most SDK versions. This timer is reserved for the softdevice, so switch to TIMER1.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best of luck,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155468?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 07:06:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecd547f6-5cd4-4377-b238-bad88497ab6f</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;yes , but i have used arduino only .&amp;nbsp; i want to modify the heart rate(hts program) in that i want to include the timer. To read the data for every one minute . please help&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155338?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 13:05:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88625458-52a4-49ba-a733-900a1cc7f603</guid><dc:creator>awneil</dc:creator><description>[quote userid="74848" url="~/f/nordic-q-a/39988/i-want-to-transfer-the-data-for-every-one-minute-how-to-do-this-what-function-to-be-used/155335"]how to include the timer in the program[/quote]
&lt;p&gt;Have you&amp;nbsp;studied the Timer &lt;strong&gt;documentation&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;See also:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/merging-two-ble-examples-together"&gt;https://devzone.nordicsemi.com/b/blog/posts/merging-two-ble-examples-together&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote userid="74848" url="~/f/nordic-q-a/39988/i-want-to-transfer-the-data-for-every-one-minute-how-to-do-this-what-function-to-be-used/155335"]how to write a code[/quote]
&lt;p&gt;The same way you&amp;#39;d write code in any other application.&lt;/p&gt;
&lt;p&gt;Do you have any programming experience?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155335?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 12:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21499ec2-5c30-40d9-8e1d-5508203e519b</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;one more , how to include the timer in the program , how to write a code&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155302?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 11:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3421af6d-ee9d-466a-8945-62c2a400c9cb</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;okay i will try and get back to you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155300?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 11:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97db87af-58e8-4648-8fdf-604d28044f39</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Go on - think about it.&lt;/p&gt;
&lt;p&gt;The timer tells you when the minute is up.&lt;/p&gt;
&lt;p&gt;So then you send the data - exactly the same way that you&amp;#39;d send it an any other time.&lt;/p&gt;
&lt;p&gt;Perhaps you should start with one of the BLE examples to see how it sends its data?&lt;/p&gt;
&lt;p&gt;Maybe the UART demo ... ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155293?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 10:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb6d5bb2-a907-45d2-9f2c-a02d01df5aa8</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;simple_timer i gone through ... but i need to transfer the data for every minute , so every minute it should check the peripheral .. can u help me&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155287?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 10:25:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4d1b67d-b639-4501-8b56-7b9215043ff1</guid><dc:creator>ps_anu</dc:creator><description>&lt;p&gt;hi.... awneil&amp;nbsp;&lt;/p&gt;
&lt;p&gt;which examples BLE or peripheral&amp;nbsp;&lt;/p&gt;
&lt;p&gt;simple_timer is not useful . i need to transfer the data for every minute ,so every minute it should check the peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i hope you will suggest a good idea&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155124?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 12:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0f71a98-6866-4844-a879-8d3f0db6019c</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;It sounds like you want some sort of timer in your application. You could draw some inspiration from the simple_timer example in the sdk.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: i want to transfer the data for every one minute. how to do this ? what function to be used ?</title><link>https://devzone.nordicsemi.com/thread/155104?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 12:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6888496a-eea8-496e-b483-964b735a44b1</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Have you looked at the examples in the SDK?&lt;/p&gt;
&lt;p&gt;To repeat something &amp;quot;every minute&amp;quot;, you&amp;#39;re going to need something that tells you when each minute is up.&lt;/p&gt;
&lt;p&gt;So look through the SDK for things which could do that ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>