<?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>Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11898/bonding-issue-in-sdk-10</link><description>Hello everyone, 
 I am trying to set the security parameters for bonding with PASSKEY (static)format it is getting executed very well(connected and bonded) for the SDK 9 btu when i implemented the same function for the SDK 10 it is only getting connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Feb 2016 12:17:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11898/bonding-issue-in-sdk-10" /><item><title>RE: Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/thread/45087?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 12:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16d21b86-d3a7-4d62-b722-558e6c6f5b2a</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;yes but it isusing sensor simulator for battery service  thats is also using timers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/thread/45086?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 12:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52c78ced-8398-4f4c-9f66-009863ac32f1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please use the ble_app_hrs from the SDK you intend to use as reference. This example does implement battery service with the app timer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/thread/45085?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 10:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb6eb736-eadc-46be-9ab6-2d7874205ebf</guid><dc:creator>karan</dc:creator><description>&lt;p&gt;yes i knew about that but it is not even getting executed for the SDK 9 only the battery timer function will create the problem for the entire program exectuions if i enable the timers_inti();functions in the main .c it is stopping the entire program but if i comment it out then the entire program is gettign executed as per the instruction so soemwhere the battery timer function call is stopping&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/thread/45084?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 10:25:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d27c5d30-14e0-4bd0-a4cf-da6c1e7d72c2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;There are some smaller api changes in the app timer API in SDK 10.0.0. I&amp;#39;d recommend using on of the reference examples, for instance ble_app_hrs, to see how timer instances are initialized.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/thread/45083?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 08:53:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3908970-e357-42ab-bdc6-c3021a0d3e43</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;non actually am trying to add some sort of security along with the services inorder to connect only with the respective devices so thats why i am adding passkey security if there is any other ways to set the passkey something like that device name as a passkey? moreover i tried the same example with the sdk  9 it is workigg fine but wtih SDK 10it is not getting bonded and also i have added the battery service based on the proximity example it is getting executed well only if i comment out this function timers_init(); in this case battery percentage remains 100 because there is something i have to changein the function for the timers&lt;/p&gt;
&lt;p&gt;/**@brief Function for the Timer initialization.
*&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;@details Initializes the timer module. This creates and starts application timers.
*/
static void timers_init(void)
{
uint32_t err_code;&lt;/p&gt;
&lt;p&gt;// Initialize timer module.
APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_MAX_TIMERS, APP_TIMER_OP_QUEUE_SIZE, false);&lt;/p&gt;
&lt;p&gt;// Create battery timer.
err_code = app_timer_create(&amp;amp;m_battery_timer_id,
APP_TIMER_MODE_REPEATED,
battery_level_meas_timeout_handler);
APP_ERROR_CHECK(err_code);
}&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/thread/45082?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 08:38:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f35bd1a2-6b10-4e63-a511-956f9030f53e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Passkey is not a requirement on the services you mentioned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/thread/45081?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2016 08:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9a0446d-9a6a-444c-b2bd-fe37625ad484</guid><dc:creator>MARTIN FR</dc:creator><description>&lt;p&gt;Actually i dont want to use a static passkey but that is the only option i ahve gone through some forums so i comment out those event would it cause any problems for other part of the program execution? like battery service, link loss service ? because am going to add those service along with the passkey&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding Issue in SDK 10</title><link>https://devzone.nordicsemi.com/thread/45080?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2016 14:05:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:513b865b-a746-482c-b7b8-1b3874228d04</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;app_timer_stop() is asserting because the timer is not initialized, but you don&amp;#39;t need to handle this event since you&amp;#39;re using a static passkey. Just comment out the event in the on_ble_evt() handler. Also, SEC_PARAM_MITM should be set to &amp;#39;1&amp;#39; to require passkey for bonding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>