<?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>nRF52 example code to transmit periodically</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13697/nrf52-example-code-to-transmit-periodically</link><description>I have a sensor device that needs to transmit every so many seconds. I am looking for a code example to run on nRF52-DK that will do this, sleeping inbetween transmissions. Any suggestions pls? 
 For clarity, I want to use a phone app to receive the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 May 2016 15:49:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13697/nrf52-example-code-to-transmit-periodically" /><item><title>RE: nRF52 example code to transmit periodically</title><link>https://devzone.nordicsemi.com/thread/52351?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 15:49:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0ce9a98-86f1-4f4c-a9c8-3dc0235345a8</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;I would start with the &amp;quot;ble_app_uart&amp;quot; example project in the SDK which will take care of the transmitting part.&lt;/p&gt;
&lt;p&gt;Since its sensor device you will probably need the ADC, you can look at the &amp;quot;saadc&amp;quot; example in the SDK&lt;/p&gt;
&lt;p&gt;And for timing you can take a look at the &amp;quot;simple_timer&amp;quot; example.&lt;/p&gt;
&lt;p&gt;By combining these you can achieve what you need without too much difficulty.&lt;/p&gt;
&lt;p&gt;The API reference is also helpful:
&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Findex.html&amp;amp;cp=4_0_0"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 example code to transmit periodically</title><link>https://devzone.nordicsemi.com/thread/52350?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 15:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:836b614f-83a5-48bc-8fec-3b07548ce6c0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Paul&lt;br /&gt;
Do you have any protocol requirements?
Or put another way, will the sensor talk to a phone or tablet (necessitating the BLE protocol), or will you use nRF52 devices in both ends?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>