<?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>Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78386/passcode-in-nrf52840</link><description>Dear sir, 
 I wants to connectivity from mobile to nRf52840-sdk using passcode, so any default code available or not please suggest</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Aug 2021 10:08:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78386/passcode-in-nrf52840" /><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324426?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 10:08:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c886125-44bc-4304-8811-bbb2be041453</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you studied the code, please have a look inside&amp;nbsp;ble_evt_handler() check for BLE_GAP_EVT_PASSKEY_DISPLAY event.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324417?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 09:45:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe8f0b94-abb7-41d9-b979-722975325d40</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;&lt;span&gt;Ok, pls. tell me one one think that which variable store random generated passkey in&amp;nbsp;&lt;/span&gt;&lt;span&gt;ble_app_gls example&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324377?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 07:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:892edf72-a222-43cc-9a68-ab65079b0094</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please study the&amp;nbsp;code of the ble_app_gls example. And get familiar on how the passkey is printed out on UART. Then you can combine the code to set the passkey using&amp;nbsp;sd_ble_opt_set().&lt;/p&gt;
&lt;p&gt;You can read more about the passkey pairing &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___b_l_e___g_a_p___p_e_r_i_p_h___b_o_n_d_i_n_g___p_k___p_e_r_i_p_h___m_s_c.html?cp=4_7_3_1_2_1_5_10_7_2"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324321?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 17:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44100c73-7130-4913-8c8c-2cb99138b16d</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;dear sir,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have no idea about&amp;nbsp;&lt;span&gt;normal passkey (random generated). pls. suggest for understanding&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324272?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 13:13:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1942f190-9a20-4873-963d-38c3bfe6fff9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;If you do a search, you can find many cases show you how to do static passkey.&amp;nbsp;&lt;br /&gt;For example this:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35675/how-to-use-static-passkey-for-a-no-display-no-output-peripheral"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/35675/how-to-use-static-passkey-for-a-no-display-no-output-peripheral&lt;br /&gt;&lt;br /&gt;B&lt;/a&gt;ut first make sure you know how to use normal passkey (random generated).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324267?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 13:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2649bd9b-0cd6-4377-9875-0064bc2178a4</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;Dear sir,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes,I am asking static Passkey?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324264?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 13:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d21f797-5e72-480e-a8bc-e2af8bfc5eaa</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;There is no default passcode. The passcode is generated randomly.&amp;nbsp;&lt;br /&gt;Which error do you have, have you used UART to observe the passcode ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Are you asking for static passkey ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324240?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 12:29:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3cf2b749-89a6-4ab9-a829-f7fc469efe2e</guid><dc:creator>Sangram singh</dc:creator><description>&lt;p&gt;I have already tested this example (&lt;span&gt;ble_app_gls example)&amp;nbsp; but not working properly, pls. suggest what is the default passcode in&amp;nbsp;ble_app_gls example.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Passcode in nRF52840</title><link>https://devzone.nordicsemi.com/thread/324239?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 12:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b504f4ea-a4f1-4f44-a769-e10540cbfaf1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Sangram,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to have an example that show how to do pairing with passkey, you can have a look at the&amp;nbsp;\examples\ble_peripheral\ble_app_gls example. The documentation is &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_gls.html?cp=8_1_4_2_2_11"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>