<?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>Bonding connection on one side</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42173/bonding-connection-on-one-side</link><description>Hello. I have build by application on nRF52832 based on ble_app_template example (SDK 15.1, softdevce s132 6.1.0). I&amp;#39;ve configurated Peer Manager library as it recommended here with configurations Pairing, no bonding. 
 Sometimes, when I connect it to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jan 2019 07:33:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42173/bonding-connection-on-one-side" /><item><title>RE: Bonding connection on one side</title><link>https://devzone.nordicsemi.com/thread/164815?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 07:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:821e4cc4-0418-4f44-aa31-394ef6d72db9</guid><dc:creator>Ars Morozov</dc:creator><description>&lt;p&gt;Ok, thanks, I will test it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding connection on one side</title><link>https://devzone.nordicsemi.com/thread/164770?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 16:19:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0f683bd-f4de-470a-941a-80e31ca9a1e2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you have a nRF52832 DK you can use it as a sniffer. If you have a nRF52832 custom board and you can connect the same UART pins to PC you can also use it as the sniffer. It would be very useful to have the sniffer trace.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I attached here a firmware of the proximity app with pairing and no bonding, please test on your device. &lt;strong&gt;Please note that you need to erase the chip completely before you test, otherwise if you have bond information on the device, the device will try to re-bond to the phone.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You need to flash softdevice S132 v6.1.0&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5d95b638bc254465987c778cb4f00ff6/ble_5F00_app_5F00_prox_5F00_pair_5F00_nobond.hex"&gt;devzone.nordicsemi.com/.../ble_5F00_app_5F00_prox_5F00_pair_5F00_nobond.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding connection on one side</title><link>https://devzone.nordicsemi.com/thread/164715?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 13:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5533e83-70b8-4f66-a845-380274ec55a7</guid><dc:creator>Ars Morozov</dc:creator><description>[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164712"]I would suggest to capture a &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;sniffer trace &lt;/a&gt;to see what actually happens over the air.&amp;nbsp;[/quote]
&lt;p&gt;I&amp;#39;ven&amp;#39;t got a sniffer trace.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164712"]When you reconnect to the phone, do you see the phone re-pair to the device or it can actually re-use the bond information&amp;nbsp; ?&amp;nbsp;[/quote]
&lt;p&gt;It actually re-use the bond information, because if before disconnection I&amp;#39;ve subscibed on some characteristics, when I reconnected, smartphone think that it still subscribed.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164712"]To enable service changed characteristic you can&amp;nbsp;set&amp;nbsp;NRF_SDH_BLE_SERVICE_CHANGED = 1 and&amp;nbsp;PM_SERVICE_CHANGED_ENABLED&amp;nbsp; = 1 in sdk_config.h[/quote]
&lt;p&gt;Yes, it was established.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding connection on one side</title><link>https://devzone.nordicsemi.com/thread/164712?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 12:57:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9585ad44-5897-4466-838b-a7ac7ab183c9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I would suggest to capture a &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/"&gt;sniffer trace &lt;/a&gt;to see what actually happens over the air.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you reconnect to the phone, do you see the phone re-pair to the device or it can actually re-use the bond information&amp;nbsp; ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To enable service changed characteristic you can&amp;nbsp;set&amp;nbsp;NRF_SDH_BLE_SERVICE_CHANGED = 1 and&amp;nbsp;PM_SERVICE_CHANGED_ENABLED&amp;nbsp; = 1 in sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding connection on one side</title><link>https://devzone.nordicsemi.com/thread/164609?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 05:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:292cb6d0-ad20-4736-994b-285cdb24de60</guid><dc:creator>Ars Morozov</dc:creator><description>&lt;p&gt;Hi Hung, thanks for reply.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164263"]I assume you set&amp;nbsp;&lt;span&gt;SEC_PARAM_BOND = 0 in your configuration ?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164263"]What did you mean by &amp;quot;&lt;span&gt;&amp;nbsp;device not bonded smartphone (as it should be)&amp;quot; ? So you want to bond to the smart phone or not ?&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;I mean that device not bonded connection with smartphone and I expected this, but smartphone bonded this connection. So I don&amp;#39;t want bondong to smartphone.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164263"]I assume you want the link to be encrypted (pairing) but no bonding (each peer forgets the other after disconnection)&amp;nbsp;[/quote]
&lt;p&gt;Yes, exactly.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164263"]How did you check that the phone bonded to the device ?&amp;nbsp;[/quote]
&lt;p&gt;I see my nRF52832 in rembered devices and also I see &amp;quot;BONDED&amp;quot; string in nRF Connect.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164263"]Which phone did you use to test with ?[/quote]
&lt;p&gt;I use Xiaomi Redmi 6 and Samsung J4.&lt;/p&gt;
[quote userid="2121" url="~/f/nordic-q-a/42173/bonding-connection-on-one-side/164263"]Also please make sure you have service changed characteristic in your attribute table, to avoid any caching of the table.&amp;nbsp;[/quote]
&lt;p&gt;Hm..how can I check it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bonding connection on one side</title><link>https://devzone.nordicsemi.com/thread/164263?ContentTypeID=1</link><pubDate>Mon, 07 Jan 2019 13:11:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58d3fe86-f3a8-4f03-8c39-2c46c66e8a50</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Arsenii,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume you set&amp;nbsp;&lt;span&gt;SEC_PARAM_BOND = 0 in your configuration ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What did you mean by &amp;quot;&lt;span&gt;&amp;nbsp;device not bonded smartphone (as it should be)&amp;quot; ? So you want to bond to the smart phone or not ?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;I assume you want the link to be encrypted (pairing) but no bonding (each peer forgets the other after disconnection)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;How did you check that the phone bonded to the device ?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Which phone did you use to test with ? Also please make sure you have service changed characteristic in your attribute table, to avoid any caching of the table.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>