<?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>NCS/Zephyr: BLE paring/bonding procedure general info</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78064/ncs-zephyr-ble-paring-bonding-procedure-general-info</link><description>I try to add pairing/bonding to the NCS hello world project. But I found the information is not easy to find. I&amp;#39;m playing with the bt_conn_auth_cb struct to understand how it works. I found sometime none of the callbacks gets called, some other time one</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Aug 2021 13:34:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78064/ncs-zephyr-ble-paring-bonding-procedure-general-info" /><item><title>RE: NCS/Zephyr: BLE paring/bonding procedure general info</title><link>https://devzone.nordicsemi.com/thread/322904?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 13:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2247c781-cd3f-420d-85f4-feb45e646b42</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;(updated)&lt;/p&gt;
&lt;p&gt;Is it possible for you to add a &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues"&gt;Github issue&lt;/a&gt; for this? Thanks.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Unfortunately, there is only the documentation provided in the API header. I have sent your request to the internal. Hope we can &lt;span&gt;reveal more detail.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the suggestion.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Amanda&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;dl&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS/Zephyr: BLE paring/bonding procedure general info</title><link>https://devzone.nordicsemi.com/thread/322734?ContentTypeID=1</link><pubDate>Sat, 31 Jul 2021 02:05:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fcd1b0c-f4c1-4d76-a8a2-ebe2f13ee81e</guid><dc:creator>bluebeam</dc:creator><description>&lt;p&gt;Thanks for the info. But it&amp;#39;s too high level. I&amp;#39;m looking for something like those Message Sequence Chart in the nRF5 SDK documents where you can see which function gets called in what order.&lt;/p&gt;
&lt;p&gt;Here more specifically, these things are unclear to me, for example:&lt;/p&gt;
&lt;p&gt;Somehow pairing_complete(), bond_deleted() are never called if I use Just Works pairing. And there isn&amp;#39;t any place to set the mode. It&amp;#39;s just implied by the combination of the callbacks.&lt;/p&gt;
&lt;p&gt;Then if set passkey_confirm to not-null (so it points to a function), suddenly pairing_complete() will be called. It also calls bond_deleted() if bond is deleted.&lt;/p&gt;
&lt;p&gt;It looks like by setting these callback pointers to null or not, it can drives the pairing mode. If so then maybe a table to list all the combinations will be convenient and easier to understand.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS/Zephyr: BLE paring/bonding procedure general info</title><link>https://devzone.nordicsemi.com/thread/322645?ContentTypeID=1</link><pubDate>Fri, 30 Jul 2021 11:03:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e81587b8-2d18-4c8c-a126-8cd3c27e4f77</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can read more about it&amp;nbsp;&lt;/span&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/bluetooth/bluetooth-arch.html#security" rel="noopener noreferrer" target="_blank"&gt;here&lt;/a&gt;&amp;nbsp;and refer to&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html"&gt;Peripheral UART&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>