<?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 does not call the registered callback</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12115/softdevice-does-not-call-the-registered-callback</link><description>I am using the following code during stack initialization:
// Register with the SoftDevice handler module for BLE events.
err_code = softdevice_ble_evt_handler_set(ble_evt_dispatch); 
 On starting advertising, I can see my board on the nRF MCP app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Apr 2017 06:49:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12115/softdevice-does-not-call-the-registered-callback" /><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45836?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2017 06:49:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbb970dc-83f7-4803-84bc-f5f4bf445411</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;it is exact same problem you have Marcel? same sdk and softdevice versions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45835?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2017 10:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04938350-3eb4-4038-b7cf-2e1432bd09be</guid><dc:creator>Marcel</dc:creator><description>&lt;p&gt;It has been a year now, but is there a solution to this? I have the same probleme :\&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45834?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2016 12:05:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffe3e149-497e-4117-9fa8-41448f2b3baf</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The RAM base address is defined by the settings in your sd_softdevice_enable. Since some of the features are runtime configurable, please read the migration documents which explains very clearly of what RAM base setting you need to use.&lt;/p&gt;
&lt;p&gt;Migration document can be found in the zip file &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/51479/5/87477078"&gt;here&lt;/a&gt;. In migration document it give you an example how to find the RAM base address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45833?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2016 15:07:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fe94b2c-1143-4893-bb45-41fcf618585a</guid><dc:creator>gaurav banyal</dc:creator><description>&lt;p&gt;After further investigation I found out that it is dependent of RAM usage settings. When I change the base address for the APP to a greater value, it works fine.
Now, I want to know what is the right value of the IRAM1 &amp;quot;start&amp;quot; address. All examples in the SDK use the address 0x20001D80 but the S132 documentation suggests that APP_RAM_BASE should be min 0x200022D8 when S132 is used. Which one is correct and why? BTW, for me it works when the IRAM1 start address is set to 0x200022D8 in the project settings in Keil. The value 0x20001D80  that is used by the example projects is not mentioned anywhere in the documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45828?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2016 10:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3d448aa-273d-4cf8-a400-fa6a07e68a34</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am nordic employee and I have an NDA when you share information with me. So it is still ok to send me proprietary information. Ill send you pvt msg on more info. I am suspecting some thing is wrong in your proprietary code, so ripping it off might hide the problem.&lt;/p&gt;
&lt;p&gt;I would try to debug and step into the function softdevice_sys_evt_handler_set to see if the sys handler has been successfully set inside softdevice. And after that I will set a breakpoint in softdevice_handler.c: SOFTDEVICE_EVT_IRQHandler to see if this is getting called at all or not? if not then we should figure out if there are any other higher priority tasks in your proprietary protocol which is starving this task.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45827?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2016 09:47:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b5d9a9e-da51-4938-85d9-943223512684</guid><dc:creator>gaurav banyal</dc:creator><description>&lt;p&gt;I can send you my .c file with proprietary information removed. Would not be able to send the whole project as it already contains a lot of proprietary information. Will that help? How do I send it to you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45826?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2016 09:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bc03564-5c50-4c5d-a46f-8cb8a35eb71c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Then it should be some thing in your source code. Are you sure there are no failures (errors returned by any function)?. Are you checking all error returns and handling them ? I would be interested to get your project and see this myself. Is that possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45832?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2016 09:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e4520e2-e4e3-49c8-a3f6-b0d68736e9ca</guid><dc:creator>gaurav banyal</dc:creator><description>&lt;p&gt;NordicSDK\nRF5_SDK_11.0.0-2.alpha_bc3f6a0\examples\ble_peripheral\ble_app_hrs\pca10036\s132
Works perfectly on the development board. I have copied this to my source code and removed the simulation code. Not much changes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45831?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2016 09:20:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0cd7606-2ecb-4f20-94c8-477222084946</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;which example you say is not working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45830?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2016 09:17:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b614992e-1c8b-4610-8b85-e0def29d01c5</guid><dc:creator>gaurav banyal</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;Thanks for your response. I am using nRF5_SDK_11.0.0-2.alpha_bc3f6a0 and s132_nrf52_2.0.0-7.alpha_softdevice.hex. I am testing this both with breakpoints and serial port prints. Another fun fact is that the example HRM application from the same SDK runs fine on the PCA10036 development board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice does not call the registered callback</title><link>https://devzone.nordicsemi.com/thread/45829?ContentTypeID=1</link><pubDate>Thu, 25 Feb 2016 09:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:408e9ba1-3870-4c6f-8bfb-eda11ea489c2</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;That is not possible. Which SDK and SD version are you using? I can run a quick test. Also are you testing this by breakpoints or serial port prints?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>