<?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>Unknown function at 0xA60</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76744/unknown-function-at-0xa60</link><description>Hello, 
 I am new to the NRF52 SoC and BLE development. I&amp;#39;ve been using the ble_app_template and following along this tutorial to learn more about BLE development. I&amp;#39;m having a problem when attempting to connect using the NRF Connect mobile app to my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 26 Jun 2021 16:14:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76744/unknown-function-at-0xa60" /><item><title>RE: Unknown function at 0xA60</title><link>https://devzone.nordicsemi.com/thread/317352?ContentTypeID=1</link><pubDate>Sat, 26 Jun 2021 16:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a34d5f17-f6ef-4fd0-a278-7e073dee7d44</guid><dc:creator>whoosh</dc:creator><description>&lt;p&gt;Just a heads up, I found someone having the exact same problem as me. A more detailed problem description is that when I attempted to connect using NRF Connect Mobile app, I was unable to connect due to&amp;nbsp;&lt;strong&gt;Error 133 (0x85): Gatt error&lt;/strong&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I realized by tracking local variables that the evt_handler variable was 0x00&amp;nbsp; upon entry into this code. I resolved the issue as described in this previous post:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37815/error-133-0x85-gatt-error-with-custom-service-tutorial"&gt;devzone.nordicsemi.com/.../error-133-0x85-gatt-error-with-custom-service-tutorial&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xA60</title><link>https://devzone.nordicsemi.com/thread/317274?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 14:30:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdddda8c-7a47-443f-9d9c-8bceb8cca8c3</guid><dc:creator>whoosh</dc:creator><description>&lt;p&gt;I am expecting that when I connect to the SoftDevice using the mobile NRF Connect application, it will actually connect and display some of the client data such as Services, Characteristics, etc.. In the current state, the connection does not get established.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll continue to add more logging in my code to better root cause the issue per your suggestion.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xA60</title><link>https://devzone.nordicsemi.com/thread/317264?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 13:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69d5eb1a-4ebb-4073-9898-5a417f859533</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;What do you see that points to an issue? Don&amp;#39;t get me wrong, I am not saying there is no issue in your code (I have no knowledge about it). But the fact that you see the debugger complain about &amp;quot;Unknown function at 0xA60&amp;quot; is not an indication of an issue. And as stated, you cannot step in the code when using a SoftDevice.&lt;/p&gt;
&lt;p&gt;To debug if you see something unexpected I suggest you enable debug logging. If you are using SES, then select the Debug build target and test. In most cases the debug log will show you if an error has been detected. You can also add more logs in your code to see what happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xA60</title><link>https://devzone.nordicsemi.com/thread/317261?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 13:54:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82bdf1ab-3679-409b-9cc4-da9c689446b7</guid><dc:creator>whoosh</dc:creator><description>&lt;p&gt;Hello, thank you for your reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve read this suggestion from similar posts. The issue still persists even when running the NRF52 DK without Segger IDE. In other words, even in the circumstances where I am not stepping through the SoftDevice, I am getting the same problem (on connect, the mobile application just shows a blank client tab).&amp;nbsp; That leads me to believe that this might be an actual issue with the code, but I could be mistaken.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xA60</title><link>https://devzone.nordicsemi.com/thread/317171?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 09:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:475aa87d-54b2-4ac8-be72-a9b80b0d9f62</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The reason the function is unknown is that this is within the MBR, and the MBR and SoftDevice is only provided as binary without debug symbols, so your debugger cannot make sense of it. That is not an error, it is just how it is.&lt;/p&gt;
&lt;p&gt;Stepping while the SoftDevice is enabled is not supported and will cause problems. If you do this while advertising or in a BLE connection the pause will make the SoftDevice assert when it continues. So to do something similar with a SoftDevice you need to use a breakpoint and run to the breakpoint. I you want to continue a bit / step, then you instead need to move the breakpoint and reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unknown function at 0xA60</title><link>https://devzone.nordicsemi.com/thread/317100?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 03:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91f52b96-95b8-449f-9a95-f314d1e19472</guid><dc:creator>whoosh</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Function for handling the Connect event.
 *
 * @param[in]   p_cus       Custom Service structure.
 * @param[in]   p_ble_evt   Event received from the BLE stack.
 */
static void on_connect(ble_cus_t * p_cus, ble_evt_t const * p_ble_evt)
{
    p_cus-&amp;gt;conn_handle = p_ble_evt-&amp;gt;evt.gap_evt.conn_handle;

    ble_cus_evt_t evt;

    printf(&amp;quot;ble_cus.c on_connect entry\r\n&amp;quot;);   
    evt.evt_type = BLE_CUS_EVT_CONNECTED;
    printf(&amp;quot;ble_cus.c: Set event type to BLE_CUS_EVT_CONNECTED\r\n&amp;quot;);
    p_cus-&amp;gt;evt_handler(p_cus, &amp;amp;evt); //PROBLEM HERE
    printf(&amp;quot;ble_cus.c on_connect exit\r\n&amp;quot;);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I was able to narrow down the problem to the following line of code, (line 15) but still need help in understanding what 0xA60 means.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>