<?xml-stylesheet type="text/xsl" href="https://test-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/"><channel><title>Migrating to Peer Manager</title><link>/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><description>The tutorial has been updated for SDK v11, which contains the production-ready release of Peer Manager. The original tutorial can be found on this page, below the updated tutorial.
#Migrating to Peer Manager (SDK v11)#
This version of the Peer Mana</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Thu, 06 Jan 2022 09:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user98446</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span style="vertical-align:inherit;"&gt;&lt;span style="vertical-align:inherit;"&gt;SDK15.3，设备默认可以配对多少部手机？&lt;/span&gt;&lt;span style="vertical-align:inherit;"&gt;如果满了会被覆盖吗？&lt;/span&gt;&lt;span style="vertical-align:inherit;"&gt;仍然返回配对失败。&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Fri, 12 Nov 2021 12:41:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user28192</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello,&lt;br /&gt;I&amp;#39;m witrh SDK 17.0.2 and softdevice S140, following this guide give error about the nrf_ble_lesc file, altough is included into the project is not referred, wjat are the settings to do inside the sdk_config.h to get it working? Open the file into the SES editor give all the code grayed out as the #if NRF_MODULE_ENABLED(NRF_BLE_LESC) was not satisfied but inside the sdk_config.h file there is no trace about NRF_BLE_LESC key, I&amp;#39;ve only PM_LESC_ENABLED set to 1.&lt;br /&gt;Scanning all the SDK files for the&amp;nbsp;NRF_BLE_LESC&amp;nbsp; label give no entry so what have to do now?&lt;/p&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Wed, 26 Aug 2020 18:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user92189</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I am not seeing fstorage.h anywhere in my SDK.&amp;nbsp; I am on version 17.&amp;nbsp; I do see:&lt;/p&gt;
&lt;pre&gt;nrf_fstorage.h&lt;/pre&gt;&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Sat, 11 Feb 2017 11:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user18046</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just to add one comment on #sajin comment...
I re-burnt the SD132 on nRF52 DK and it started working good.
I am not sure why it was not working before.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Sat, 11 Feb 2017 11:33:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user18046</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello,
I am using SDK 11.0 and trying to migrate from DM to PM.
While following the tutorial; I managed to compile successfully but when I try to connect my mobile phone with nRF52 DK, I get the following error EVT &amp;quot;PM_EVT_PEER_DATA_UPDATE_FAILED&amp;quot;.&lt;/p&gt;
&lt;p&gt;Here is the sequence of my main function.&lt;/p&gt;
&lt;pre&gt;ret_code_t err_code;
bool erase_bonds;

 err_code = NRF_LOG_INIT();
APP_ERROR_CHECK(err_code);

NRF_LOG_PRINTF(&amp;quot;D App\r\n&amp;quot;);

// Initialize.
//timers_init();
 APP_TIMER_INIT(APP_TIMER_PRESCALER, APP_TIMER_OP_QUEUE_SIZE, NULL);
  buttons_leds_init(&amp;amp;erase_bonds);
	 if (erase_bonds)
{
    NRF_LOG_PRINTF(&amp;quot;Bonds erased!\r\n&amp;quot;);
}

ble_stack_init();
//device_manager_init(erase_bonds);
peer_manager_init(erase_bonds);
//db_discovery_init();
	
gap_params_init();
conn_params_init();
services_init();
advertising_init();

// Start execution.
application_timers_start();
err_code = ble_advertising_start(BLE_ADV_MODE_FAST);
APP_ERROR_CHECK(err_code);
&lt;/pre&gt;
&lt;p&gt;Please help&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Tue, 17 Jan 2017 07:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user16454</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;m using sdk12.2 which works perfectly ,but the bonding only takes place at first time when the softdevice is burned. When i forgot the device and bond it again it will not bond and get rejection error from nrf52&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Mon, 08 Aug 2016 14:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user14317</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Does anyone could perform DFU using peer manager?&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Wed, 13 Jul 2016 11:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user14646</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This guide doesn&amp;#39;t mention using the FS_REGISTER_CFG as part of the fstorage initialisation.  Is this an oversight, or because this initialisation is not required?&lt;/p&gt;
&lt;p&gt;The &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/lib_fstorage.html?cp=6_0_0_3_31"&gt;fstorage docs&lt;/a&gt; don&amp;#39;t go into enough detail to work out what to do with FS_REGISTER_CFG -- particularly what to set the num_pages attribute of the fst_config_t struct.  They also don&amp;#39;t state whether the FS_REGISTER_CFG call is required at all.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Sun, 27 Mar 2016 04:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user12904</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello, I am trying to migrate from device manager to peer manager using the latest SDK 11.  The documentations have not caught up yet.  For example, you said to call pm_ble_evt_handler() in ble_evt_dispatch(), but there is no such function.  Instead, there is the sm_ble_evt_handler(), or the smd_ble_evt_handler().  sm_ble_evt_handler() is basically a wrapper around smd_ble_evt_handler, but I have not yet found an explanation of the SDK 11 peer manager API.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Tue, 19 Jan 2016 02:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user5573</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks Einar for this guide.&lt;/p&gt;
&lt;p&gt;I tried the nRF52 HRS example of &lt;strong&gt;nRF5_SDK_11.0.0-2\examples\ble_peripheral\ble_app_hrs\pca10040\s132&lt;/strong&gt;, which worked well. Besides the updates you listed above, I also removed pstorage (header and code) from the project. The only update needed is in &lt;strong&gt;components\ble\ble_advertising\ble_advertising.c&lt;/strong&gt;, that we do not need to check pstorage access status in &lt;strong&gt;ble_advertising_start()&lt;/strong&gt; any more.&lt;/p&gt;
&lt;p&gt;Memory footprint changes&lt;/p&gt;
&lt;p&gt;---- Original code using Periheral Device Manager&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;Total RO  Size (Code + RO Data)                20228 (  19.75kB)
Total RW  Size (RW Data + ZI Data)             10888 (  10.63kB)
Total ROM Size (Code + RO Data + RW Data)      20256 (  19.78kB)
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;---- Updated code using Peer Manager&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;Total RO  Size (Code + RO Data)                30060 (  29.36kB)
Total RW  Size (RW Data + ZI Data)             11568 (  11.30kB)
Total ROM Size (Code + RO Data + RW Data)      30104 (  29.40kB)
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Wed, 13 Jan 2016 18:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user6277</dc:creator><slash:comments>0</slash:comments><description>&lt;blockquote&gt;
&lt;p&gt;While it isn&amp;#39;t as straightforward&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Here to comment that it is actually very straightforward, especially in Mars, to which the most recent GCC tutorials have been updated. Previously you needed to go into the Eclipse Plugins folder, add processor definitions, etc. Now, it&amp;#39;s just&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Add new software&lt;/li&gt;
&lt;li&gt;Import project&lt;/li&gt;
&lt;li&gt;Add code parse options&lt;/li&gt;
&lt;li&gt;Add makefile targets&lt;/li&gt;
&lt;li&gt;Make and flash&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So far, it has been very consistent for us, and we spent far less than 5k/seat in engineering resources to set it up. Also, from a cursory glance, it looks like Keil Serial window does not support Telnet. We have found the RTT additions to nrf_log, which integrates with the Eclipse Terminal view, very useful. Strongly recommend re-evaluating the tooling since the landscape has changed in the past few months.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Thu, 07 Jan 2016 23:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user4532</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Paulus, if you need more than 32kB for your application, there are detailed tutorials on how to use Eclipse with GCC and the nRF SDK which allows you to use the full code space of the nRF family for free.  While it isn&amp;#39;t as straightforward, it is in my experience a far superior option over Keil.  Not only is the IDE itself better, but you don&amp;#39;t need to pay thousands of USD for a license.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Migrating to Peer Manager</title><link>https://test-devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/migrating-to-peer-manager</link><pubDate>Wed, 30 Dec 2015 19:44:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4a17172-8a16-4004-a0ea-c5e709cdfaf8</guid><dc:creator>user9496</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I&amp;#39;m trying to migrate from device_manager, but unfortunatelly it doesn&amp;#39;t work, and this is not the only issue for me. The biggest problem is the size of the generated code, after apllying peer manager to template application I saw that code size is about 27 KB. For comparison, size of the template with device_manager takes 15 KB.
I&amp;#39;m studying yout product actually and I&amp;#39;m using Keil 5 without license so I can generate only 32KB of code.
in my opinion you are going in totally wrong way.&lt;/p&gt;
&lt;img src="https://test-devzone.nordicsemi.com/aggbug?PostID=1179&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>