<?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>About device peer manager</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112344/about-device-peer-manager</link><description>SDK:11.0 Example：ble_app_hrs\pca10040\ s132_with_dfu Hi 
 The product we are selling wants to add some new features and can only be upgraded through DFU. But we currently don&amp;#39;t have enough IROM to build new features. Then we realized that our peer manager</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jul 2024 12:42:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112344/about-device-peer-manager" /><item><title>RE: About device peer manager</title><link>https://devzone.nordicsemi.com/thread/491605?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 12:42:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aafcc78c-11c9-41b4-8458-8950cdbe1d1f</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi XiongYin,&lt;/p&gt;
&lt;p&gt;Device Manager or Peer Manager&amp;nbsp;help managing paired and bonded peers. If you don&amp;#39;t plan to have pairing or bonding,&amp;nbsp;it is fine to remove those libraries.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About device peer manager</title><link>https://devzone.nordicsemi.com/thread/491305?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2024 11:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92839ecb-806f-4093-bef7-f5cdf492d183</guid><dc:creator>XiongYin</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Regard &amp;quot;&lt;span&gt;manage multiple connections&amp;nbsp;&lt;/span&gt;&amp;quot; you mentioned:&lt;/p&gt;
&lt;p&gt;We may support more than 1 connection on the nRF device (like: 2 peripheral connections for 2 phones, still no pairing/bonding), is this still fine to remove the&amp;nbsp;&lt;span&gt;device/peer manager?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About device peer manager</title><link>https://devzone.nordicsemi.com/thread/490990?ContentTypeID=1</link><pubDate>Thu, 27 Jun 2024 06:01:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab7446c4-e164-44e6-af0c-9b1486af9e69</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;Glad you were able to get it back to a working state! As long as you don&amp;#39;t do pairing/bonding of your connection, or have to manage multiple connections on the nRF device, it should be fine to remove the device/peer manager from your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About device peer manager</title><link>https://devzone.nordicsemi.com/thread/490739?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 04:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c532664b-888a-40f0-9dba-aa54628a071e</guid><dc:creator>kenyon</dc:creator><description>&lt;p&gt;Hi Simonr&lt;br /&gt;&lt;br /&gt;1.&amp;nbsp;After debugging, I find that dfu_app_dm_appl_instance_set(m_app_handle) is masked from service_init. It can work normally!&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void services_init(void)
{
    uint32_t       err_code;
//  ble_hrs_init_t hrs_init;
    ble_bas_init_t bas_init;
    ble_dis_init_t dis_init;
//  uint8_t        body_sensor_location;

    ble_nus_init_t nus_init;
    memset(&amp;amp;nus_init, 0, sizeof(nus_init));
    nus_init.data_handler = nus_data_handler;
    err_code = ble_nus_init(&amp;amp;m_nus, &amp;amp;nus_init);
    APP_ERROR_CHECK(err_code);    

    // Initialize Battery Service.
    memset(&amp;amp;bas_init, 0, sizeof(bas_init));

    // Here the sec level for the Battery Service can be changed/increased.
    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;bas_init.battery_level_char_attr_md.cccd_write_perm);
    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;bas_init.battery_level_char_attr_md.read_perm);
    BLE_GAP_CONN_SEC_MODE_SET_NO_ACCESS(&amp;amp;bas_init.battery_level_char_attr_md.write_perm);

    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;bas_init.battery_level_report_read_perm);

    bas_init.evt_handler          = NULL;
    bas_init.support_notification = true;
    bas_init.p_report_ref         = NULL;
    bas_init.initial_batt_level   = 100;

    err_code = ble_bas_init(&amp;amp;m_bas, &amp;amp;bas_init);
    APP_ERROR_CHECK(err_code);

    // Initialize Device Information Service.
    memset(&amp;amp;dis_init, 0, sizeof(dis_init));

    ble_srv_ascii_to_utf8( &amp;amp;dis_init.manufact_name_str , (char *)MANUFACTURER_NAME );
    ble_srv_ascii_to_utf8( &amp;amp;dis_init.fw_rev_str        , (char *)LL_VER_BLE_DIS    );

    BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;dis_init.dis_attr_md.read_perm);
    BLE_GAP_CONN_SEC_MODE_SET_NO_ACCESS(&amp;amp;dis_init.dis_attr_md.write_perm);

    err_code = ble_dis_init(&amp;amp;dis_init);
    APP_ERROR_CHECK(err_code);

#ifdef BLE_DFU_APP_SUPPORT
    /** @snippet [DFU BLE Service initialization] */
    ble_dfu_init_t   dfus_init;

    // Initialize the Device Firmware Update Service.
    memset(&amp;amp;dfus_init, 0, sizeof(dfus_init));

    dfus_init.evt_handler   = dfu_app_on_dfu_evt;
    dfus_init.error_handler = NULL;
    dfus_init.evt_handler   = dfu_app_on_dfu_evt;
    dfus_init.revision      = DFU_REVISION;

    err_code = ble_dfu_init(&amp;amp;m_dfus, &amp;amp;dfus_init);
    APP_ERROR_CHECK(err_code);

    dfu_app_reset_prepare_set(reset_prepare);
//    dfu_app_dm_appl_instance_set(m_app_handle); 

}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;2. Yes.Our product is currently on sale, so&amp;nbsp;will&amp;nbsp;the&amp;nbsp;measure of &amp;#39;remove the peer manager to increase the space&amp;#39;&amp;nbsp; have any risk&amp;nbsp;when we upgrade the customer&amp;#39;s device through DFU in the future?&lt;br /&gt;Our Ble application scenario: Connect to our self-developed App, simple interactive Ble commands.&lt;br /&gt;&lt;br /&gt;Best Regard&lt;br /&gt;Kenyon&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About device peer manager</title><link>https://devzone.nordicsemi.com/thread/490614?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 11:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a19be82-1584-4770-b122-314eef9fa168</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I will need some more information on what exactly is happening here to answer that. What do you mean by &amp;quot;die&amp;quot; exactly, and what does &amp;quot;after the key wakes up&amp;quot; mean? And how do you disable the &amp;quot;&lt;strong&gt;device_manager_init&lt;/strong&gt;()&amp;quot;? Do you see any kinds of error codes when trying to remove the &lt;strong&gt;device_manager_init&lt;/strong&gt;() from your application. Some debugging will be required in order to get to the bottom of this I think.&lt;/p&gt;
&lt;p&gt;If they&amp;#39;re already sold and out on the market it might be difficult to do something with it if they already have the device manager embedded within the project and it is used by the BLE stack to manage connections etc.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About device peer manager</title><link>https://devzone.nordicsemi.com/thread/490448?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 02:42:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe3c4e38-2e24-47a7-bdf4-3193009705ec</guid><dc:creator>kenyon</dc:creator><description>&lt;p&gt;Hi Simonr&lt;br /&gt;These products have already been sold, so this generation of products cannot update the SDK and can only continue to develop on SDK11. &lt;br /&gt;The odd thing is that when I disable device_manager_init(), the program will not run properly and will die in the bootloader program after the key wakes up.What configuration changes do I need to make for the program to work properly?&lt;br /&gt;&lt;br /&gt;Best regards.&lt;br /&gt;Kenyon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About device peer manager</title><link>https://devzone.nordicsemi.com/thread/490248?ContentTypeID=1</link><pubDate>Mon, 24 Jun 2024 11:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:735546e1-5e1a-4cc0-8692-c3ffeb4afb63</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Kenyon&lt;/p&gt;
&lt;p&gt;Is there a specific reason you&amp;#39;re using the nRF5 SDK v11.0.0 for your application? This SDK version is older than the nRF52810 which it seems like you&amp;#39;re developing for, so I&amp;#39;d strongly recommend you to move to a newer version as the nRF52810 didn&amp;#39;t get added functionality until SDK v14.0.0. SDK 17.1.0 is the recommended one for use now, unless you move to the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;That being said, just not using&amp;nbsp;the device manager should be fine if you don&amp;#39;t do pairing/bonding and don&amp;#39;t need these features.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>