<?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>peer manager initialization stucked</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65791/peer-manager-initialization-stucked</link><description>I had a BLE central application and need to migrate now to peer_manager to have the LESC security. 
 I am using as a reference the Experimental: LE Secure Connections Multirole Example example. 
 Application compiles ok, but it gets stucked in peer manager</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Sep 2020 09:25:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65791/peer-manager-initialization-stucked" /><item><title>RE: peer manager initialization stucked</title><link>https://devzone.nordicsemi.com/thread/269803?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 09:25:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a9d05e6-adb3-4d39-8331-09773495a3e1</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;Update:&lt;/p&gt;
&lt;p&gt;I realized that it gets stucked inside pm_init() if i call the&amp;nbsp;app_timer_create() before&amp;nbsp;peer_manager_init().&amp;nbsp;&lt;br /&gt;Once that i set all timers after the peer_manager_init() application runs ok.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer manager initialization stucked</title><link>https://devzone.nordicsemi.com/thread/269463?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 16:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d861e68-98f4-4746-800c-70b5f6bb9374</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are you able to share your project so I can try to debug it here? I think it will be difficult for me to find out what the problem is otherwise.&amp;nbsp; I will of course make this thread private if neccessary.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer manager initialization stucked</title><link>https://devzone.nordicsemi.com/thread/269366?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 12:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c558dabc-89c9-4b71-b867-23912df2078d</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;I don&amp;#39;t have a CPU register in Eclipse.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And yes,&amp;nbsp;&lt;span&gt;Eclipse does build with&amp;nbsp;the SDK makefiles and linker scripts, otherwise i believe&amp;nbsp;the program will not compile.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; And this stucking part only appears when i have LESC enabled in the peer:manager_init(). &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Without that the system can bond properly and application starts correctly.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any other idea of what could be causing this stopping or&amp;nbsp;never returning function?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Basically what i did was integrating the peer_manager to the NUS central example. Then i enabled the LESC to have encrypted&amp;nbsp;communications and MITM protection.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer manager initialization stucked</title><link>https://devzone.nordicsemi.com/thread/268983?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 12:46:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ddbda27-9bb6-4899-8eb3-e9746d0c8c86</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The log does not show the CPU register content when the program is stuck inside sm_init(). Do you have a CPU register view in Eclipse? Also, does Eclipse build with our SDK makefiles and linker scripts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer manager initialization stucked</title><link>https://devzone.nordicsemi.com/thread/268963?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 12:07:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05c15372-2927-4809-88db-542a47856f3b</guid><dc:creator>User1321</dc:creator><description>&lt;p&gt;i use a gcc project with Eclipse IDE. SDKI 15.3&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/eclipse_5F00_console.txt"&gt;devzone.nordicsemi.com/.../eclipse_5F00_console.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: peer manager initialization stucked</title><link>https://devzone.nordicsemi.com/thread/268942?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 11:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3463605e-47d0-409e-8de9-ea2f07f2ab80</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I don&amp;#39;t think I have seen problems with the program getting stuck inside sm_init() before. Can you post a screenshot of the CPU registers when it&amp;#39;s stuck? Also, which SDK version and IDE/toolchain is it that you are working with?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>