<?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>buttoness DFU central: when to start service change</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107222/buttoness-dfu-central-when-to-start-service-change</link><description>Hi support team, 
 Customer Atel using our nrf52 soc both on central&amp;amp;device side, they want to use our ble central to upgrade ble periperal on nrf5 sdk platform. 
 For their ble connection is with paring&amp;amp;bonding. their are now proceeding to sec verification</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Jan 2024 15:22:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107222/buttoness-dfu-central-when-to-start-service-change" /><item><title>RE: buttoness DFU central: when to start service change</title><link>https://devzone.nordicsemi.com/thread/463600?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 15:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e8ec77-8c77-4859-9732-32f469698ce2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can refer to the&amp;nbsp;&lt;a title="GATT Service Client Example Application" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_gatts_c.html?cp=9_1_4_2_2_10"&gt;GATT Service Client Example Application&lt;/a&gt;&amp;nbsp;example.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttoness DFU central: when to start service change</title><link>https://devzone.nordicsemi.com/thread/463444?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 01:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0486e8dd-7259-41ad-8567-017fef58f8f5</guid><dc:creator>Smile Jiang</dc:creator><description>&lt;p&gt;Hi Amanda H&lt;/p&gt;
[quote userid="77782" url="~/f/nordic-q-a/107222/buttoness-dfu-central-when-to-start-service-change/463394"]Please be aware that the bonds must be created in the main application, see&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37845/does-nrf_dfu_ble_buttonless_supports_bonds-enforce-a-preexisting-bond-when-in-bootloader-mode/145872#145872"&gt;this answer&lt;/a&gt;.[/quote]
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;------Yes, in periperal, both the app and bootloader were enabled bonds, in nrf5 Central we added DFU_C and BONDS.&lt;/p&gt;
&lt;p&gt;Please check the script (the same periperal code for the left and right window):in its left window when the ble central is a smartphone, the peripheral upgrade(with bonding) succeed, Customer&amp;#39;s question is the&amp;nbsp;right window when the central is a nrf52 device(based on our nrf5 sdk platform). What the central shall do after the periperal send &amp;quot;service change indication&amp;quot; to cental ?&amp;nbsp;as:&lt;/p&gt;
[quote userid="81803" url="~/f/nordic-q-a/107222/buttoness-dfu-central-when-to-start-service-change"]what ble event will central receive for the indication? Namely, when and where central shall start the service discovery??[/quote]
&lt;p&gt;When the central is a smartphone, seem it dealed with the indication so on bootloader there is not warning about &amp;quot;service change&amp;quot;,but when central is nrf52 device, there is warning on the periperal (BL) side.&lt;/p&gt;
&lt;p&gt;Please give suggestion about what shall do on nrf52 ble central side after periperal sent &amp;quot;service changed indication&amp;quot;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Smile&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: buttoness DFU central: when to start service change</title><link>https://devzone.nordicsemi.com/thread/463394?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 15:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306ff0d7-1b30-4c91-87cf-6bdd8352efe9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;The confusion is blocked&amp;nbsp;by after the bootloader print&amp;nbsp;the log:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span&gt;NRF_LOG_WARNING&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&amp;quot;Client did not have the Service Changed indication set to enabled.&amp;quot;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;&amp;quot;Error: 0x&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;%08x&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;, err_code);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&amp;nbsp; &amp;nbsp;I see the indication is to tell the central to start service discovery, but what ble event will central receive for the indication? Namely, when and where central shall start the service discovery??&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;The log is enabled by&amp;nbsp;NRF_DFU_BLE_REQUIRES_BONDS.&amp;nbsp;Please be aware that the bonds must be created in the main application, see&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37845/does-nrf_dfu_ble_buttonless_supports_bonds-enforce-a-preexisting-bond-when-in-bootloader-mode/145872#145872"&gt;this answer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>