<?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>adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114476/adding-buttonless-dfu-service-to-heart-rate-service-example-application</link><description>Hello Everyone, 
 I used the HRS application example for LESC secure communication and added the OTA to the HRS application. After adding that, the device restarts. I debugged, and the following error is arising. 
 
 &amp;lt;error&amp;gt; app: ERROR 8 [NRF_ERROR_INVALID_STATE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Sep 2024 12:46:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114476/adding-buttonless-dfu-service-to-heart-rate-service-example-application" /><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/503270?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 12:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7ff3c75-8a80-4325-b3d6-08a38b7a4222</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&lt;span&gt;NRF_DFU_APP_DATA_AREA_SIZE must be set equal to (FDS_VIRTUAL_PAGES+FDS_VIRTUAL_PAGES_RESERVED) * 4096.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/503266?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 12:34:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e83ce8e-6246-47e4-aa79-03d6246cf085</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;Hi, do I need to change the&amp;nbsp;&amp;nbsp;&lt;span&gt;NRF_DFU_APP_DATA_AREA_SIZE to the new value? I think this area size multiples of flash page size&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/502859?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 06:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cd8a2d6-a45e-4c5b-a988-c82210eae75c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see you&amp;#39;ve increased the number of FDS pages from 3 to 4 in your app, but you haven&amp;#39;t reserved this extra flash page in your bootloader (see NRF_DFU_APP_DATA_AREA_SIZE). This is an issue because it allows the bootloader to overwrite and potentially corrupt one of your FDS pages during a DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/502843?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 05:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36fcf8e8-0d0d-42f1-bf64-367eed696c03</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I will attach both files. kindly check and let me know&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0383.secure_5F00_bootloader.zip"&gt;devzone.nordicsemi.com/.../0383.secure_5F00_bootloader.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_hrs_5F00_LESC_5F00_BEACON_5F00_problem_5F00_with_5F00_bonding.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_hrs_5F00_LESC_5F00_BEACON_5F00_problem_5F00_with_5F00_bonding.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/502729?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2024 09:37:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82a65f7f-6c2b-4110-b3cf-8f45f25aa3b6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Srinivasa,&lt;/p&gt;
&lt;p&gt;It does not make sense that the error arises after the connection has been established. Please upload your current application project, along with the bootloader project you are using, so I can review the configuration. You can zip and upload the entire SDK if that is easier.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/502556?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 07:30:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2e037a1-59ad-4ca1-9a15-7ea427fe17bb</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;I have been working with the HRS (Heart Rate Service) example without making any modifications. Initially, after flashing the example, everything worked fine. I was able to pair and bond the device successfully. However, after erasing the bond information from the phone and attempting to pair and bond again, it didn&amp;rsquo;t work. Once I enabled re-pairing, it worked as expected.&lt;/p&gt;
&lt;p&gt;Next, I added the buttonless DFU service to the HRS example and performed an OTA update. The file was transferred successfully from the mobile device to the nRF device, and the device restarted, began advertising, and allowed connection and bonding. However, after 2 seconds, the device disconnected.&lt;/p&gt;
&lt;p&gt;I deleted the bond information from the mobile device and tried reconnecting. The device connected and bonded successfully but disconnected again after 2 seconds. I then attempted to debug the issue, I got the above error. kindly let me know the solution.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Srinivasa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/502551?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 06:32:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05cc1465-368a-4d9a-8e70-b1637571ff96</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please respond to my suggestions and comments. Did you set the allow_repairing flag as I suggested? Doing so will allow you to pair again when the bonding information has been deleted on the phone but not on the device.&lt;/p&gt;
&lt;p&gt;The other error with the&amp;nbsp;FDS initialization error will prevent bonding altogether. However, it&amp;#39;s&amp;nbsp;not clear&amp;nbsp;what you&amp;nbsp;did to trigger this&amp;nbsp;error. I can test DFU and the HRS example, but I won&amp;#39;t be able to reproduce this specific error.&amp;nbsp;Are you always getting this error now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/502547?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 05:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8001506-b7b4-4cac-b10a-55d07b29be67</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;Hi Vidhar,&lt;/p&gt;
&lt;p&gt;Is there any update on this, your response is significant for completing the project.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Srinivasa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/502239?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 08:00:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:216aaf8d-e0a1-418f-a0a5-607d1246bfe1</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;could you please try OTA with the existing example?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/502121?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 12:26:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16afed77-b2f5-4744-a9ef-4f105036dfc2</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user="srinivasa m"]I tried to connect again but it is not connecting but the device is bonded. I have tried deleting the bonding information on the nRF connect app and again initiated the connection and bonding same issue is arising.&amp;nbsp;[/quote]
&lt;p&gt;To support this scenario, you need to set the .allow_repairing flag as shown in this post:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37837/sdk15-paring-problem/145821"&gt;RE: SDK15 paring problem&lt;/a&gt;&amp;nbsp;.&amp;nbsp;But it is still not clear when you get the&amp;nbsp;NRF_ERROR_INTERNAL errors shown in the log you posted earlier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501937?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 12:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edf02e1f-9668-4fd6-9fbb-c857e6fbe867</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;yes,&lt;/p&gt;
&lt;p&gt;1. first, I used examples of HRS and flashed the device. from my nRF connect app I can connect and get bonded with the device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. second thing is I added the buttonless dfu characteristics to the HRS example. and I did the following procedure&lt;/p&gt;
&lt;p&gt;I have enabled the NRF_DFU_BLE_BUTTONLESS_SUPPORT_BONDS is enable in application and&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS enabled in secure bootloader and remaining I followed as per procedure as mentioned in nordic infocenter.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;first I generate&amp;nbsp;bl_settings.hex using following command&lt;/p&gt;
&lt;p&gt;.\nrfutil.exe settings generate --family NRF52 --application ble_app_hrs_pca10040_s132.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 bl_settings.hex&lt;/p&gt;
&lt;p&gt;next command I used below for generating bl_sd_settings_app.hex&lt;/p&gt;
&lt;p&gt;PS C:\nRF_SDK&amp;gt; mergehex --merge bl_settings.hex secure_bootloader_ble_s132_pca10040.hex s132_nrf52_7.2.0_softdevice.hex ble_app_hrs_pca10040_s132.hex --output bl_sd_settings_app.hex&lt;/p&gt;
&lt;p&gt;for generating package I used following command&lt;/p&gt;
&lt;p&gt;PS C:\nRF_SDK&amp;gt; .\nrfutil pkg generate --hw-version 52 --application-version 2 --application ble_app_hrs_pca10040_s132.hex --sd-req 0x101 --sd-id 0x101 --key-file private.key BEACON_DFU_SEC_TEST.zip&lt;/p&gt;
&lt;p&gt;I flashed the&amp;nbsp;&amp;nbsp;&lt;span&gt;bl_sd_settings_app.hex to the controller using segger j_flash and the device restarted and started advertising. I tried to connect and bond with the device, but the device was bonded and disconnected after 3 seconds. I tried to connect again but it is not connecting but the device is bonded. I have tried deleting the bonding information on the nRF connect app and again initiated the connection and bonding same issue is arising.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Srinivasa&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501898?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 11:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53f35cb0-eede-4e64-bc9b-d89f4cdc822a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;No, because I don&amp;#39;t know what code changes you&amp;#39;ve made since uploading the original version. Also, in your comments above, you mentioned that you were able to bond initially, but then it stopped working. I need to know the steps to reproduce that.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501895?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 11:31:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a3a5519-f6e6-407c-bcc7-5a4f3c95f8a6</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;did you try the attached project?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501893?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 11:28:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff6c98f7-31f0-4728-acc7-f55896a19640</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I need to reproduce the issue on my end to identify the problem, and for that, I will need your current project along with step-by-step instructions on how to reproduce it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501870?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 09:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8dbe59c0-b9e9-4056-b20c-91f4bcc043e3</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;current version is&amp;nbsp;nRF5_SDK_17.1.0_ddde560 and segger embedded studio for ARMV5.68.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Srinivasa m&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501704?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 11:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1ef329c-6903-496e-a27b-e753972b8f47</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please provide the current version of your project, along with the steps to reproduce this error on my end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501659?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 08:04:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82b05981-175d-4c63-a4e3-7414cb788448</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;yes, I followed the same still error persists. could you please help me out on this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501656?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 07:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:794507f3-280b-4aa8-a73f-e6c09b800097</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Srinivasa,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The Flash Data Storage (FDS) failed to be initialized. This can happen if the flash area is already occupied with other data. Please do a full chip erase before you program the application and see if you get the same error.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501500?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 09:20:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07afbeb6-5070-458e-b0da-98c7ce0159ec</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;Hi Vidhar,&lt;/p&gt;
&lt;p&gt;while debuging I got following error.&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app: Setting vector table to bootloader: 0x00078000&lt;br /&gt;&amp;lt;info&amp;gt; app: Setting vector table to main app: 0x00026000&lt;br /&gt;&amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;br /&gt;&amp;lt;info&amp;gt; app: Heart Rate Sensor example started.&lt;br /&gt;&amp;lt;info&amp;gt; app: Fast advertising.&lt;br /&gt;&amp;lt;info&amp;gt; app: Connected.&lt;br /&gt;&amp;lt;info&amp;gt; app: BLE_GAP_EVT_LESC_DHKEY_REQUEST&lt;br /&gt;&amp;lt;info&amp;gt; nrf_ble_lesc: Calling sd_ble_gap_lesc_dhkey_reply on conn_handle: 0&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_pds: Could not write data to flash. fds_record_{write|update}() returned 0x8601. peer_id: 0&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_pdb: pds_peer_data_store() returned NRF_ERROR_INTERNAL. peer_id: 0&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_smd: Could not store bond. pdb_write_buf_store() returned NRF_ERROR_INTERNAL. conn_handle: 0, peer_id: 0&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_handler: Unexpected fatal error occurred: error: NRF_ERROR_INTERNAL&lt;br /&gt;&amp;lt;error&amp;gt; peer_manager_handler: Asserting.&lt;br /&gt;&amp;lt;error&amp;gt; app: ERROR 3 [NRF_ERROR_INTERNAL] at C:\nRF_SDK\nRF5_SDK_17.1.0_ddde560\nRF5_SDK_17.1.0_ddde560\components\ble\peer_manager\peer_manager_handler.c:295&lt;br /&gt;PC at: 0x0002CA29&lt;br /&gt;&amp;lt;error&amp;gt; app: End of error report&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;can you guide me how to resolve this&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Srinivasa M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501499?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 09:13:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5072150-aa41-4f4a-b773-060291be2b4c</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;Hi Vidar,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you very much issue is resolved. but when I do OTA, without pairing and bonding OTA is happening properly. when it comes to pairing and bonding, I have enabled the NRF_DFU_BLE_BUTTONLESS_SUPPORT_BONDS is enable in application and&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS enabled in secure bootloader and remaining I followed as per procedure as mentioned in nordic infocenter.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;first I generate&amp;nbsp;bl_settings.hex using following command&lt;/p&gt;
&lt;p&gt;.\nrfutil.exe settings generate --family NRF52 --application ble_app_hrs_pca10040_s132.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 bl_settings.hex&lt;/p&gt;
&lt;p&gt;next command I used below for generating bl_sd_settings_app.hex&lt;/p&gt;
&lt;p&gt;PS C:\nRF_SDK&amp;gt; mergehex --merge bl_settings.hex secure_bootloader_ble_s132_pca10040.hex s132_nrf52_7.2.0_softdevice.hex ble_app_hrs_pca10040_s132.hex --output bl_sd_settings_app.hex&lt;/p&gt;
&lt;p&gt;for generating package I used following command&lt;/p&gt;
&lt;p&gt;PS C:\nRF_SDK&amp;gt; .\nrfutil pkg generate --hw-version 52 --application-version 2 --application ble_app_hrs_pca10040_s132.hex --sd-req 0x101 --sd-id 0x101 --key-file private.key BEACON_DFU_SEC_TEST.zip&lt;/p&gt;
&lt;p&gt;I flashed the&amp;nbsp;&amp;nbsp;&lt;span&gt;bl_sd_settings_app.hex to controller using segger j_flash and device restarted and started advertising. i tried to connect and bonding with device, the device is bonded and disconnected after 3 seconds. i tried to connect again but it is not connecting but device is bonded. i have tried by deleting the bonding information on nrf connect app and&amp;nbsp; again initiated the connection and bonding same issue is arising.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;could you please help me with this? I appreciate quick response because I in a phase of project dead line&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&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;Srinivasa&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501462?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 06:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:328da953-be8a-46e8-955f-979e804f173c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the project. The invalid state error was returned by the call to&amp;nbsp;pm_register() in&amp;nbsp;ble_dfu_buttonless_init-&amp;gt;ble_dfu_buttonless_backend_init(). I overlooked this function earlier when I was trying to figure out why the service init function could be returning this error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;pm_register() returns this error because the peer manager module was not initialized at this point. The solution is to initialize the peer manager with&amp;nbsp;peer_manager_init() before you initialize the service.&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;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501446?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 04:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1e0c4d8-44eb-4cac-89c9-94fb94691bf3</guid><dc:creator>srinivasa m</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your response, I have attached the project file. kindly review the code and waiting for the quick replay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Srinivasa&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_hrs_5F00_LESC_5F00_BEACON_5F00_V2.zip"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_hrs_5F00_LESC_5F00_BEACON_5F00_V2.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: adding buttonless dfu service to heart rate service example application</title><link>https://devzone.nordicsemi.com/thread/501378?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 13:09:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f98415d1-2e4d-44eb-9033-caab8343d7f1</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;span&gt;Srinivasa,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t see anything inside&amp;nbsp;ble_dfu_buttonless_init() that may cause the function to return with&amp;nbsp;NRF_ERROR_INVALID_STATE. Could you upload your project so I can try to debug it here?&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;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>