<?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>Writing data to Central (BLEserial example) at set interval with timer.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34193/writing-data-to-central-bleserial-example-at-set-interval-with-timer</link><description>Hello Everyone, I newbie to BLE world and new to programming. Currently I am following this github repo: https://github.com/sandeepmistry/arduino-BLEPeripheral . I am using nrf51822, S130 SDK11 with arduino 1.8.1. I am trying to write data (battery data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Sep 2019 15:10:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34193/writing-data-to-central-bleserial-example-at-set-interval-with-timer" /><item><title>RE: Writing data to Central (BLEserial example) at set interval with timer.</title><link>https://devzone.nordicsemi.com/thread/212343?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 15:10:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4d5de82-d1b7-4d46-ac6c-a3ff4ecd4395</guid><dc:creator>Miguel</dc:creator><description>&lt;p&gt;I am using NRF51802&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing data to Central (BLEserial example) at set interval with timer.</title><link>https://devzone.nordicsemi.com/thread/212342?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 15:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42474fe8-0239-4649-be16-7dc953b15a48</guid><dc:creator>Miguel</dc:creator><description>&lt;p&gt;&lt;span class="user-name"&gt;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/dhiraj_5f00_gehlot"&gt;Dhiraj&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;Can you post your full code ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="user-name"&gt;I tested here with interrupt timer enable and services scanning stoped to work!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing data to Central (BLEserial example) at set interval with timer.</title><link>https://devzone.nordicsemi.com/thread/150870?ContentTypeID=1</link><pubDate>Sun, 30 Sep 2018 16:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc07d7c9-3c61-48c8-9f30-41f03a718f45</guid><dc:creator>Dhiraj</dc:creator><description>&lt;p&gt;Problem solved.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks alot &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing data to Central (BLEserial example) at set interval with timer.</title><link>https://devzone.nordicsemi.com/thread/131818?ContentTypeID=1</link><pubDate>Mon, 14 May 2018 09:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a8516fc-b45d-401a-bcf7-e2645059e5df</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Most likely the issue is cased by running BLE functions from a high priority interrupt. When using a BLE stack such as the S130 SoftDevice interrupt priorities 0 and 2 are reserved for the SoftDevice, and should not be used by the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Try setting the interrupt priority of the TIMER2 interrupt to 3, and it should work better:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;NVIC_SetPriority(TIMER2_IRQn, 3);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>