<?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>Can I call pm_init() at early stage?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53007/can-i-call-pm_init-at-early-stage</link><description>Hi Nordic, 
 In my custom board, I need to access peer data at quite early stage - to determine which board it is. 
 So my question is: Can I call pm_init() (in peer_manager_init() in the examples) at early stage, even before stack_init()? Like this:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Oct 2019 13:27:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53007/can-i-call-pm_init-at-early-stage" /><item><title>RE: Can I call pm_init() at early stage?</title><link>https://devzone.nordicsemi.com/thread/213943?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 13:27:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a270227f-938e-488e-9bfe-e88115e9f2c8</guid><dc:creator>nine-fox</dc:creator><description>&lt;p&gt;Hi Simon, thanks for your confirmation!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I call pm_init() at early stage?</title><link>https://devzone.nordicsemi.com/thread/213915?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 12:40:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d7e3508-c52a-4c57-9963-dc6dab41f7e6</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I don&amp;#39;t see any problems with calling&amp;nbsp;&lt;span&gt;peer_manager_init() before ble_stack_init(). Ideally the libraries should be built&amp;nbsp;without any direct dependencies between them, and I think&amp;nbsp;you will be fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;
&lt;div style="left:335px;top:-6.06818px;"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>