<?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>Timer Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42202/timer-issue</link><description>Hi, 
 
 I am using &amp;quot;ble_app_uart&amp;quot; code and added battery service to it as custom changes. 
 I want to update battery level at every 3 seconds. 
 Code is working fine and starts broadcast &amp;amp; advertise and service information but when I call/enable timer_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jan 2019 05:52:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42202/timer-issue" /><item><title>RE: Timer Issue</title><link>https://devzone.nordicsemi.com/thread/164409?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 05:52:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a36e4d1d-eed1-4890-ad8b-ea6b0dc0196e</guid><dc:creator>sachin.singh</dc:creator><description>&lt;p&gt;Hi picben,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank You So Much it Works ...!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Timer Issue</title><link>https://devzone.nordicsemi.com/thread/164222?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 11:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13698e90-ac04-498f-8fff-ca1059955cad</guid><dc:creator>picben</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think you need to define your timer instance using the APP_TIMER_DEF macro. It will statically allocate some data block along with the app_timer_id_t object. You can try replacing&amp;nbsp;the timer definition&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static app_timer_id_t                   m_battery_timer_id;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;by:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;APP_TIMER_DEF(m_battery_timer_id);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and see if it helps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>