<?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>softdevice ble event handler not being called after connect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6121/softdevice-ble-event-handler-not-being-called-after-connect</link><description>Hi... 
 I started with S130 demo example code. Added a custom services . The problem I am having now is that after I connect ble_evt_dispatch isn&amp;#39;t being called. 
 I have registered for BLE events: 
 err_code = softdevice_ble_evt_handler_set(ble_evt_dispatch</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Mar 2015 12:28:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6121/softdevice-ble-event-handler-not-being-called-after-connect" /><item><title>RE: softdevice ble event handler not being called after connect</title><link>https://devzone.nordicsemi.com/thread/21436?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2015 12:28:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9277abe-cdfd-4013-884c-89fccad2db11</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Sruthiraj: No, I don&amp;#39;t think there is any issue here. But if you use S130 v0.9 you would need to update the API headers to match with this version. The one on github based on S130 v0.5&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice ble event handler not being called after connect</title><link>https://devzone.nordicsemi.com/thread/21435?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2015 03:54:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:166551b5-0de9-41e9-9a04-eb3159ff7f76</guid><dc:creator>sruthiraj koodathil</dc:creator><description>&lt;p&gt;ya i have used the defult example in S130 zip file.&lt;/p&gt;
&lt;p&gt;i have seen the example you suggest earliar. since it is SDK 6.1.0 example we can not use it . if i follow the same method  mentioned in Github example (interrupt method) for softdevice to enable in S130 example, there will be any issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice ble event handler not being called after connect</title><link>https://devzone.nordicsemi.com/thread/21434?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2015 13:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a873bb-8c2d-4313-9f43-cfd2af850af5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Sruthiraj: Which firmware did you use to test ?&lt;/p&gt;
&lt;p&gt;If it the default example provided in the S130 zipfile, we don&amp;#39;t use interrupt driven approach but polling. We read the pending event using sd_ble_evt_get() inside event_handle(). And we call event_ handle when we expect an event.&lt;/p&gt;
&lt;p&gt;I would suggest you to have a look at &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-app-hrs-s130"&gt;this example&lt;/a&gt; where we use the normal approach that the event is pulled out when there is an interrupt from softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>