<?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>Is it still possible to remove bond in CTS?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63430/is-it-still-possible-to-remove-bond-in-cts</link><description>Hello, 
 I saw this statement about current time service on a previous ticket and trying to find out if it is true: &amp;quot;IOS doesn&amp;#39;t allow access to the characteristic unless the device is bonded&amp;quot; 
 https://devzone.nordicsemi.com/f/nordic-q-a/38214/remove</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Jul 2020 09:17:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63430/is-it-still-possible-to-remove-bond-in-cts" /><item><title>RE: Is it still possible to remove bond in CTS?</title><link>https://devzone.nordicsemi.com/thread/259386?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 09:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e33d4e2c-251e-45b2-9244-0917826a58ab</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;There probably is. Try to debug into pm_sec_params_set() and see why it returns 7. The Peer Manager is separated from the softdevice, so everything in there is open source. Which check is it that fails, so that it returns 7?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it still possible to remove bond in CTS?</title><link>https://devzone.nordicsemi.com/thread/259271?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 16:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b67f425e-0b01-40e2-9766-a7c644795954</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;&lt;span&gt;I&amp;#39;m looking at trying to reproduce INSUF_AUTHENTICATION.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Just toggling SEC_PARAM_BOND 0 in the cts example is giving me trouble,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;info&amp;gt; app_timer: RTC: initialized.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;error&amp;gt; app: ERROR 7 [NRF_ERROR_INVALID_PARAM] at .....\nRF5_SDK_17.0.0\&lt;/span&gt;&lt;span&gt;examples\ble_peripheral\ble_&lt;/span&gt;&lt;span&gt;app_cts_c-2\main.c:894&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; PC at: 0x0002BB7F&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt; &amp;lt;error&amp;gt; app: End of error report&lt;/span&gt;&lt;br /&gt;&lt;span&gt;00&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;which is this spot,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;pm_sec_params_set() returns != 0 (NRF_SUCCESS)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Is some other setting needed to change for SEC_PARAM_BOND 0 to work in the 17.0 example?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;That is the only setting I&amp;#39;m changing in the example.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;thank-you,&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it still possible to remove bond in CTS?</title><link>https://devzone.nordicsemi.com/thread/259205?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 13:15:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fef7a85-aade-4a1a-8a82-f7a42d0426c3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="foxble"](p.s. the reply seems to have been posted 2 days ago, but I only received notification today)[/quote]
&lt;p&gt;&amp;nbsp;I&amp;#39;ll forward this internally. Thank you for reporting.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The description from Sigurd is correct. That is how you remove the bonding in an example. And it may be correct that pairing (short term bonding) is not required by the Current Time Service by the BLE specification, since I can&amp;#39;t find that requirement on Bluetooth&amp;#39;s webpage.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, when I test with my iPhone, I am not able to read the CTS without encrypting (pairing or bonding) the connection (as you can see in the screenshot in my previous reply). This is something they can add themselves. So perhaps the user in Sigurds ticket, which you linked to, was not testing against an iPhone, but something else that doesn&amp;#39;t put the encryption requirement on the service. He/she doesn&amp;#39;t mention what the central in the connection is, as far as I can tell.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now, I am not sure whether you got that far that you actually tried to read the CTS characteristic or not, or if you stopped at the&amp;nbsp;&lt;span&gt;SEC_PARAM_BOND&amp;nbsp;0, since it threw an error. If you define DEBUG in your preprocessor definitions. Then the log should point to the APP_ERROR_CHECK(err_code) that caught the error.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I guess the&amp;nbsp;pm_sec_params_set() returns != 0 (NRF_SUCCESS). Try debugging into it with&amp;nbsp;SEC_PARAM_BOND set to 0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You should be able to disable bonding, but please be aware that at least on my iphone, I wasn&amp;#39;t able to read the CTS without at least pairing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you are not sure about the difference between bonding and pairing, please check out Einar&amp;#39;s answer in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/11939/connecting-bonding-pairing-and-whitelists" rel="noopener noreferrer" target="_blank"&gt;this ticket&lt;/a&gt;.&amp;nbsp;&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;Edvin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it still possible to remove bond in CTS?</title><link>https://devzone.nordicsemi.com/thread/259171?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 12:16:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e5f4ff5-f60a-4a17-ba9a-034a100f902b</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;luckxiaoer asked &amp;quot;how to remove the bonding procedure completely？&amp;quot;,&lt;br /&gt;Sigurd replied &amp;quot;Try this&amp;quot;,&lt;br /&gt;luckxiaoer answered back &amp;quot;It solved my problem&amp;quot;.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38214/remove-bond-in-cts/165249" rel="noopener noreferrer" target="_blank"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/38214/remove-bond-in-cts/165249&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now after a couple of years it seems by looking at your nRF Connect test,&lt;br /&gt;that it is now no longer possible to access CTS without bonding.&lt;/p&gt;
&lt;p&gt;I was looking for a double check to be certain.&lt;/p&gt;
&lt;p&gt;thank-you,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;(p.s. the reply&amp;nbsp;was&amp;nbsp;posted 2 days ago, but I only received notification today)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it still possible to remove bond in CTS?</title><link>https://devzone.nordicsemi.com/thread/258841?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2020 15:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dfe92a2-4e2c-4c24-a3e5-a0aa61330916</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have not seen anywhere that you don&amp;#39;t need bonding to access the current time service. Where is that information coming from?&lt;/p&gt;
&lt;p&gt;I tried to access this in nRF Connect without success, due to insufficient authentication:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-671c64f6ce0843178fa0d39e06db389e/pastedimage1594133533066v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand how to read it from the bluetooth web pages anymore (they changed the layout), but perhaps you can point me to where it says, if you know where to find this information.&lt;/p&gt;
&lt;p&gt;Remember that even though it is not mandatory to protect a service with security, they may still do it as an addon.&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>