<?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 possible to make a numeric comparison with nRF52832?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81134/is-it-possible-to-make-a-numeric-comparison-with-nrf52832</link><description>Hello. I am developing a central operation using nrf52832 (S132 v7.0.1, SDK v17.0.0). 
 There is a numeric comparison as an authentication method, can I do it with sdk17.0.0? I checked the following site, but I don&amp;#39;t know if it can be done because it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jan 2022 18:31:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81134/is-it-possible-to-make-a-numeric-comparison-with-nrf52832" /><item><title>RE: Is it possible to make a numeric comparison with nRF52832?</title><link>https://devzone.nordicsemi.com/thread/348132?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 18:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c690ba7d-e623-48ea-9a72-787cab542eea</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for the update. Good to hear that you got it working &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to make a numeric comparison with nRF52832?</title><link>https://devzone.nordicsemi.com/thread/346342?ContentTypeID=1</link><pubDate>Thu, 06 Jan 2022 06:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bda1cac-5d9b-4814-b113-0f3312016fba</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;I found that calling sd_ble_gap_auth_key_reply (conn_handle, BLE_GAP_AUTH_KEY_TYPE_PASSKEY, NULL) succeeded in bonding, and calling sd_ble_gap_auth_key_reply (conn_handle, BLE_GAP_AUTH_KEY_TYPE_NONE, NULL) failed.&lt;br /&gt;You can use this result to decide whether or not to bond according to the response of the monitor.&lt;/p&gt;
&lt;p&gt;It was very helpful. Thank you very much.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to make a numeric comparison with nRF52832?</title><link>https://devzone.nordicsemi.com/thread/338297?ContentTypeID=1</link><pubDate>Wed, 10 Nov 2021 08:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6f57f54-7ce1-408d-924a-6e3bedc86610</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You have to confirm both on the peripheral and the central side that the same passkey is displayed on both sides of the link.&lt;/p&gt;
&lt;p&gt;As the diagram shows on the peripheral side you can confirm by calling sd_ble_gap_auth_key_reply(BLE_GAP_AUTH_KEY_TYPE_PASSKEY, NULL), after the PASSKEY_DISPLAY event occurs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Typically you would connect this to a button on your device, so that the user have to press a button to confirm, and another button in case they don&amp;#39;t want to confirm the passkey.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to make a numeric comparison with nRF52832?</title><link>https://devzone.nordicsemi.com/thread/338099?ContentTypeID=1</link><pubDate>Tue, 09 Nov 2021 09:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d17c1b9-cf0e-4b8b-a427-037380e83b35</guid><dc:creator>sdi_kei</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;What I want to do is display a number on an external monitor and decide whether to connect or not depending on the response of the monitor.&lt;/p&gt;
&lt;p&gt;When I checked the sequence I was taught, I found that I should output the passkey of BLE_GAP_EVT_PASSKEY_DISPLAY to an external monitor. However, I don&amp;#39;t know how to decide whether to connect or not depending on the response.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to make a numeric comparison with nRF52832?</title><link>https://devzone.nordicsemi.com/thread/336397?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 09:43:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bfa62fe-e7cd-483d-a504-0408d779b4bb</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Yes, this is possible, but we don&amp;#39;t have an example showing how to do it unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think the easiest way to implement this is to start out with the ble_app_gls example in the nRF5 SDK, which uses LESC pairing with passkey.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Passkey pairing is relatively similar to numeric comparison, and if you look at the &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.3.0/group___b_l_e___g_a_p___p_e_r_i_p_h___l_e_s_c___b_o_n_d_i_n_g___n_c___m_s_c.html?cp=4_7_4_1_2_1_5_10_6_0"&gt;Bonding: Numeric Comparison&lt;/a&gt; message sequence diagram you can see&amp;nbsp;which events and functions are involved in doing numeric comparison authentication with LESC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>