<?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>nrf_dfu_ble.c APP_ERROR_CHECK with SERVICE CHANGED but optional bonding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45560/nrf_dfu_ble-c-app_error_check-with-service-changed-but-optional-bonding</link><description>Hello, 
 In nrf_dfu_ble.c BLE_GAP_EVT_SEC_PARAMS_REQUEST pairing on Windows 10, the following code: 
 err_code = sd_ble_gatts_value_get(m_conn_handle, BLE_UUID_GATT_CHARACTERISTIC_SERVICE_CHANGED, &amp;amp;gatts_value); APP_ERROR_CHECK(err_code); 
 on SDK 15</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Apr 2019 10:25:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45560/nrf_dfu_ble-c-app_error_check-with-service-changed-but-optional-bonding" /><item><title>RE: nrf_dfu_ble.c APP_ERROR_CHECK with SERVICE CHANGED but optional bonding</title><link>https://devzone.nordicsemi.com/thread/179703?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 10:25:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61341a9c-8be8-4377-ab09-04746914a97b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi James&lt;/p&gt;
&lt;p&gt;It seems like your SoftDevice isn&amp;#39;t configured with the SERVICE_CHANGED characteristic. But it is very hard to tell where exactly the fault is based on this snippet of code.&amp;nbsp;nrf_dfu_ble.c is not an example project, so I am still wondering what project you encounter this problem in. Is it an example project made by Nordic or a project you have made yourself, in which case did you base it on one of our exapmle project, and can you test this with that unmodified example.&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: nrf_dfu_ble.c APP_ERROR_CHECK with SERVICE CHANGED but optional bonding</title><link>https://devzone.nordicsemi.com/thread/179593?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 17:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f0b56ea-0fa1-4e3b-bbba-3d3c838608f5</guid><dc:creator>JamesB7</dc:creator><description>&lt;p&gt;This is in nrf_dfu_ble.c.&lt;/p&gt;
&lt;p&gt;NRF_DFU_BLE_REQUIRES_BONDS already is 0.&lt;/p&gt;
&lt;p&gt;The documentation says &amp;quot;Attribute not found.&amp;quot; for NRF_ERROR_NOT_FOUND.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_dfu_ble.c APP_ERROR_CHECK with SERVICE CHANGED but optional bonding</title><link>https://devzone.nordicsemi.com/thread/179408?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 08:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1b663cb-796c-4708-bb0f-e94074c6ab0d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi James&lt;/p&gt;
&lt;p&gt;What example project do you encounter this issue in? The NRF_ERROR_NOT_FOUND says that Security parameters have not been set, and seeing as the BLE_GAP_EVT_SEC_PARAMS_REQUEST requests security parameters, you will have to enable some kind of security parameters. What happens if you set NRF_DFU_BLE_REQUIRES_BONDS 0?&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>