<?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>PASSKEY</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34889/passkey</link><description>I’ve downloaded nRF5_SDK_11.0.0_89a8197 and starting with examples from \examples\ble_peripheral\???\pca10040\s132\arm5_no_packs\ 
 I would like the other device to request a passkey (constant) at pairing (the passkey on my side is constant - no display</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Jan 2019 15:37:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34889/passkey" /><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/166311?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 15:37:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efb1e0d3-a4b5-4b82-851f-f006b480c1c8</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Is possible for you to upload the ble_app_hrs_c as well as the ble_app_hrs example folders that you have modified?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/147198?ContentTypeID=1</link><pubDate>Tue, 04 Sep 2018 13:30:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:244a58e1-e6f3-4c62-aaa8-f72baf0d722f</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;just to clarify: all work (read+write) from central -only if peripheral is configured&amp;nbsp;without&amp;nbsp;a passkey .&lt;/p&gt;
&lt;p&gt;if&amp;nbsp;&lt;span&gt;peripheral contains passkey then read returns a zero length.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in that case:&amp;nbsp; BLE_GAP_EVT_AUTH_KEY_REQUEST event never happens.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yona&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/147030?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 15:21:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d951b4f-170d-45b6-b956-2c5ab37583d7</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;Sorry Sorry Sorry&lt;/p&gt;
&lt;p&gt;of course I mean&amp;nbsp;&lt;span&gt;ble_app_hrs_c.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I understood where to find my advertised&amp;nbsp;peripheral services and how to&amp;nbsp;read/write to the characteristics.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/147026?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 15:14:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4117ed3-acd5-41d4-acbe-3b91eb8b277c</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;But you do understand that the&amp;nbsp;&lt;span&gt;ble_app_hrs is a peripheral example and that it cannot communicate with your custom peripheral unless you add the central role to this example? You need to&amp;nbsp;modify the&amp;nbsp;ble_app_hrs_c example(&amp;nbsp;found in&amp;nbsp;nRF5_SDK_11.0.0_89a8197\examples\ble_central\ble_app_hrs_c) if you want to communicate with your custom peripheral&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/147021?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 15:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7206767-36b5-4602-a403-d6f04114420b</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;as I realized that I would need to use&amp;nbsp;&lt;span&gt;BLE_GAP_IO_CAPS_KEYBOARD_ONLY /BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY&amp;nbsp; &amp;nbsp; for the passkey issue,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seemed much closer (from answers on these pages)- to use&amp;nbsp;ble_app_hrs, so I switched to that project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I can Read/Write to (my)peripheral BLE that dosnt include a passkey.&lt;/p&gt;
&lt;p&gt;Yona&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/147018?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 14:56:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b163b2a-a7cb-4cfe-8fad-fee9fffcecd6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Your original post was this:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;me again, new issue&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;now that a peripheral BLE is working (including the passkey), I&amp;#39;m requested to develop a tester for that unit.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;For that I need A BLE central .&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;so I started with&amp;nbsp;nRF5_SDK_11.0.0_89a8197\examples\ble_central\ble_app_multilink_central .&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;all is fine.the only issue is again: how to operate the passkey (as a central unit)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;thanks&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Yona&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So first question are you still using the&amp;nbsp;&lt;em&gt;ble_app_multilink_central&amp;nbsp;&lt;/em&gt;as the central example for your tester? If yes, have you set the IO capabilities in this example as&amp;nbsp;&lt;span&gt;BLE_GAP_IO_CAPS_KEYBOARD_ONLY or BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/147007?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 14:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9b1f745-5026-4198-8831-35866136f803</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;Sorry.&lt;/p&gt;
&lt;p&gt;It seems I dont understand how exactly to configure the central-&lt;span style="font-family:inherit;"&gt;other then what I already did.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;could you please show me how to do this configuration&lt;/p&gt;
&lt;p&gt;thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yona&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/147004?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 14:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5287bcb0-ce8c-4462-803d-3deb0b9f46f2</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, i am aware of that but you stated that you&amp;#39;re using the ble_app_hrs example which is a peripheral example. Hence, I am asking if you have configured the CENTRAL example to have one of the two mentioned IO capabilities?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/146999?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 13:38:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb185aff-4813-4e35-aeee-adb9b193e503</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;please note&amp;nbsp; the lines:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define SEC_PARAM_IO_CAPABILITIES BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;the function dealing with these defines is&amp;nbsp; &amp;nbsp;device_manager_init()&lt;/p&gt;
&lt;p&gt;after it filles the params- it calls&amp;nbsp;dm_register()&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve wrote these lines in my question&lt;/p&gt;
&lt;p&gt;Yona&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/146998?ContentTypeID=1</link><pubDate>Mon, 03 Sep 2018 13:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:150b909e-dbfd-42bf-a9e7-382be349cd52</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;&lt;span&gt;But have you set the&amp;nbsp;&amp;nbsp;IO params in the central to&amp;nbsp; BLE_GAP_IO_CAPS_KEYBOARD_ONLY or BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY ? It is the central that will send the AUTH_KEY_REQUEST to the peripheral.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/145985?ContentTypeID=1</link><pubDate>Mon, 27 Aug 2018 15:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9973bc5e-6807-405c-aafc-06a04e18f632</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;ever so sorry- still fail to receive the event&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span&gt;BLE_GAP_EVT_AUTH_KEY_REQUEST anywhere&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the project ble_app_hrs (nRF5_SDK_11.0.0_89a8197)&lt;/p&gt;
&lt;p&gt;some of the code:&lt;/p&gt;
&lt;p&gt;#define SEC_PARAM_BOND 1&lt;br /&gt;#define SEC_PARAM_MITM 1&lt;br /&gt;#define SEC_PARAM_IO_CAPABILITIES BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY //&amp;nbsp;&lt;br /&gt;#define SEC_PARAM_OOB 0&lt;br /&gt;#define SEC_PARAM_MIN_KEY_SIZE 7&lt;br /&gt;#define SEC_PARAM_MAX_KEY_SIZE 16&lt;br /&gt;#define SEC_PARAM_LESC 0 /**&amp;lt; LE Secure Connections not enabled. */&lt;br /&gt;#define SEC_PARAM_KEYPRESS 0 /**&amp;lt; Keypress notifications not enabled. */&lt;/p&gt;
&lt;p&gt;the function dealing with these defines is&amp;nbsp; &amp;nbsp;device_manager_init()&lt;/p&gt;
&lt;p&gt;after it filles the params- it calls&amp;nbsp;dm_register()&lt;/p&gt;
&lt;p&gt;can you please guide me to what I&amp;#39;m doing wrong?&lt;/p&gt;
&lt;p&gt;thanks again&lt;/p&gt;
&lt;p&gt;Yona&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/145308?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 12:13:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f26dabb-2441-4f12-9a75-b52f35af4695</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You will have to add it as a case in&amp;nbsp;on_ble_evt and respond as shown in the &lt;a title="Bonding: Passkey Entry, User Inputs on Central or OOB" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group___b_l_e___g_a_p___c_e_n_t_r_a_l___b_o_n_d_i_n_g___p_k___p_e_r_i_p_h___o_o_b___m_s_c.html?cp=2_3_1_1_0_2_1_3_5_2_2"&gt;Bonding: Passkey Entry, User Inputs on Central or OOB&lt;/a&gt;. Note you also have to set the IO params in the central to&amp;nbsp; BLE_GAP_IO_CAPS_KEYBOARD_ONLY or BLE_GAP_IO_CAPS_KEYBOARD_DISPLAY.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/145281?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 10:50:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a42f9682-1f55-41c0-9364-632e2b22a7e9</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;thanks for your reply&lt;/p&gt;
&lt;p&gt;I fail to find the received event&amp;nbsp;&amp;nbsp;&lt;span&gt;BLE_GAP_EVT_AUTH_KEY_REQUEST&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;in the functions :&amp;nbsp; &amp;nbsp;on_ble_evt&amp;nbsp; &amp;nbsp; (main.c)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;ble_conn_state_on_ble_evt,ble_conn_params_on_ble_evt&amp;nbsp; (ble_conn_params.c)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; could you please tell me where to expect this event&lt;/p&gt;
&lt;p&gt;&amp;nbsp; also looked in your other links, cant make out- where to expect,how to respond&lt;/p&gt;
&lt;p&gt;thanks again&lt;/p&gt;
&lt;p&gt;Yona&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/145239?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 08:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a0ef8c0-a0b6-4ef6-b3ff-22b819795f6f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Yona,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;you need to reply to the BLE_GAP_EVT_AUTH_KEY_REQUEST with sd_ble_gap_auth_key_reply with the passkey as a parameter, see the&amp;nbsp;&lt;a title="Bonding: Passkey Entry, User Inputs on Central or OOB" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group___b_l_e___g_a_p___c_e_n_t_r_a_l___b_o_n_d_i_n_g___p_k___p_e_r_i_p_h___o_o_b___m_s_c.html?cp=2_3_1_1_0_2_1_3_5_2_2"&gt;Bonding: Passkey Entry, User Inputs on Central or OOB&lt;/a&gt;&amp;nbsp;MSC.&lt;/p&gt;
&lt;p&gt;You can also take a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/28738/how-to-set-static-passkey-between-two-nrf52832/113873#113873" target="_blank" rel="noopener noreferrer"&gt;this&lt;/a&gt; post.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/145210?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 06:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abfe0c08-8c7f-450c-8902-61ba244d0bc9</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;me again, new issue&amp;nbsp;&lt;/p&gt;
&lt;p&gt;now that a peripheral BLE is working (including the passkey), I&amp;#39;m requested to develop a tester for that unit.&lt;/p&gt;
&lt;p&gt;For that I need A BLE central .&lt;/p&gt;
&lt;p&gt;so I started with&amp;nbsp;nRF5_SDK_11.0.0_89a8197\examples\ble_central\ble_app_multilink_central .&lt;/p&gt;
&lt;p&gt;all is fine.the only issue is again: how to operate the passkey (as a central unit)&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Yona&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/141400?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 16:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ce9786d-daec-40e9-803a-883c0b067ed0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you do not want the ble_app_hrs example to go to SYSTEM OFF, then simply comment out the&amp;nbsp;sleep_mode_enter(); call under the BLE_ADV_EVT_IDLE case in&amp;nbsp;on_adv_evt() and under the&amp;nbsp;&amp;nbsp;BSP_EVENT_SLEEP case in&amp;nbsp;bsp_event_handler().&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/140486?ContentTypeID=1</link><pubDate>Wed, 18 Jul 2018 08:12:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c944b9c-33db-4aa9-bbb4-217de36b3ec6</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;one more thing:&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried&amp;nbsp; using&amp;nbsp;&lt;span&gt;&amp;nbsp;nRF5_SDK_15xxxxx package&amp;nbsp; with&amp;nbsp;ble_app_hrs example project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;its way too heavy&amp;nbsp;. too many elements to remove (and than it gives some internal error).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so I still need your help regarding the resets/BLE&amp;nbsp;dying .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;d prefer not to call&amp;nbsp;&amp;nbsp;sd_power_system_off if I can avoid it&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yona&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/139699?ContentTypeID=1</link><pubDate>Wed, 11 Jul 2018 11:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5008ed23-ab66-4c65-b045-d1a30a68a338</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;I tried to advertise manufacturer data. even coping a full function from&amp;nbsp;Nordic help. for some reason- didn&amp;#39;t work .&lt;/p&gt;
&lt;p&gt;the application(cellphone) guy didn&amp;#39;t like the&amp;nbsp;&lt;span&gt;appearance&amp;nbsp;because he would have to preform a READ to get that info.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;then I realized that the advertised Service isn&amp;#39;t a real functional service. so advertising in is actually&lt;/p&gt;
&lt;p&gt;&amp;quot;for free&amp;quot;.&lt;/p&gt;
&lt;p&gt;the&amp;nbsp;app guy&amp;nbsp;&amp;nbsp;didn&amp;#39;t object so that&amp;#39;s how we solved that.&lt;/p&gt;
&lt;p&gt;so now a new issue.hope you still have some&amp;nbsp;more&amp;nbsp;&lt;span&gt;patience left for my questions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;when trying to make the passkey work- you recommended to use ble_app_hrs example project .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(I&amp;#39;m using&amp;nbsp;nRF5_SDK_11.0.0_89a8197 packege).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ve noticed but&amp;nbsp; didn&amp;#39;t pay attention&amp;nbsp;to it then:&amp;nbsp;&amp;nbsp;&amp;nbsp; the SW&amp;nbsp; RESETS every some time (~ 4 minutes) due to&amp;nbsp;an error :&amp;nbsp; &amp;nbsp;NRF_ERROR_SOC_POWER_OFF_SHOULD_NOT_RETURN returned by function&amp;nbsp;sd_power_system_off&amp;nbsp; &amp;nbsp;(called from&amp;nbsp;sleep_mode_enter).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;if I remove this function all together then the SW will not reset- BUT the BLE goes dead after the same time (~4 minutes).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;meanwhile the SW is still&amp;nbsp;running&amp;nbsp;and the application timers are still on&amp;nbsp;( timers resulting from&amp;nbsp;app_timer_create).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;coming out of this situation - by resetting the HW/SW&amp;nbsp;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;what would you say ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks again&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yona&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/138593?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 17:01:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d73f04ed-8010-4948-bc7f-dfc570de1e8e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not possible to update Services and characteristics on the fly. You need to disable then enable the softdevice and re-initialize the new BLE services. However, you can update&amp;nbsp;your advertisement payload using&amp;nbsp;ble_advdata_set()&amp;nbsp;regardless&amp;nbsp;of what services/characteristics you have. Also, the appearance may be included in the advertisement packet:&amp;nbsp;ble_advdata_t::include_appearance&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/138042?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 09:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b587fe6-8f32-49ad-96ee-c87fa9b32708</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;Hi again.&lt;/p&gt;
&lt;p&gt;new issue:&lt;/p&gt;
&lt;p&gt;the guys writing the application on the cell phone are bringing this up.&lt;/p&gt;
&lt;p&gt;I might have 1-20 BLE devices in a given location. all of them would be seen by the cellphone application.&lt;/p&gt;
&lt;p&gt;each of my BLE devices has a different TYPE (say up to 10 types ).&lt;/p&gt;
&lt;p&gt;the TYPE of&amp;nbsp;a given device might change (not very often)&amp;nbsp; .&lt;/p&gt;
&lt;p&gt;the application &amp;quot;would like&amp;quot; to search all devices ,sort only my devices, show a list of them, each with an icon. the icon is the TYPE of the device.&lt;/p&gt;
&lt;p&gt;my suggestion was to use appearance.&lt;/p&gt;
&lt;p&gt;so every time my TYPE changed- I&amp;#39;ll use&amp;nbsp;sd_ble_gap_appearance_set to change it.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;their complaint is that in order for them to know all TYPES, they need to&amp;nbsp;READ the appearance characteristic for each of my devices, and that would take them too long.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;their&amp;nbsp;suggestion is to have a service that its uuid will be a function of the device&amp;#39;s TYPE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in that way- I&amp;#39;ll will have one (an empty) service that its uuid will&amp;nbsp;a function of the&amp;nbsp;TYPE.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;in that way- all that&amp;#39;s needed from them is to scan services , sort&amp;nbsp;those that&amp;nbsp;belong to me , and understand (from the uuid ) there TYPES.AVOIDING the need to&amp;nbsp;actually preform&amp;nbsp;&amp;nbsp;a READ into these services (characteristics).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;the thing is- I don&amp;#39;t see a function for service delete,characteristic delete, change of uuid.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How can I solve this? what would you do?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;yona&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/136466?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 06:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da9a2b6b-2251-4989-b593-cc5e79e58363</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;No worries, thanks for letting me know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/136464?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 05:56:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08bfc30c-0da8-4731-ae0c-f2c029312be8</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;sorry sorry sorry.&lt;/p&gt;
&lt;p&gt;my mistake was somewhere else.&lt;/p&gt;
&lt;p&gt;thanks again for your&amp;nbsp;&lt;span&gt;patience.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;YONA&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/136463?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 05:29:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a8c8d14-92fe-4cd9-904a-00bf8564a8fb</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It sounds like you&amp;#39;re doing it correctly.&amp;nbsp; sys_evt=2 means&amp;nbsp;&amp;nbsp;NRF_EVT_FLASH_OPERATION_SUCCESS, so it should have worked. Did you make sure to read out the flash content after the&amp;nbsp;NRF_EVT_FLASH_OPERATION_SUCCESS event?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/136447?ContentTypeID=1</link><pubDate>Sun, 17 Jun 2018 13:40:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3da8659e-b1cc-4721-8b5d-3577d36adfae</guid><dc:creator>katyon</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;eventually I found&amp;nbsp; &amp;nbsp;the variable&amp;nbsp; &amp;nbsp; m_connection_table[0].state&lt;/p&gt;
&lt;p&gt;it contains the connection&amp;nbsp;state- so if passkey not cleared - I can avoid notifys.&lt;/p&gt;
&lt;p&gt;now if I may- a new issue:&amp;nbsp; &amp;nbsp; &amp;nbsp;sd_flash_write,sd_flash_page_erase&lt;/p&gt;
&lt;p&gt;calling&amp;nbsp;&lt;span&gt;sd_flash_write returns (after 20uS)&amp;nbsp; 0x00 (probably&amp;nbsp;NRF_SUCCESS)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;than (after 2870uS) at&amp;nbsp; &amp;nbsp;sys_evt_dispatch i receive&amp;nbsp;&amp;nbsp;sys_evt=2&amp;nbsp; &amp;nbsp; (&amp;nbsp;probably&amp;nbsp;NRF_EVT_FLASH_OPERATION_SUCCESS)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;STILL nothing is written&amp;nbsp;to flash.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;maybe you&amp;nbsp;have a clue to what I&amp;#39;m doing wrong.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;using&amp;nbsp;nRF5_SDK_11.0.0_89a8197&amp;nbsp; SW&amp;nbsp;&lt;/span&gt;package.&lt;/p&gt;
&lt;p&gt;thanks again&lt;/p&gt;
&lt;p&gt;YONA&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PASSKEY</title><link>https://devzone.nordicsemi.com/thread/134662?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 07:49:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88e0f5db-e008-4128-875d-645da7c5fc2f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Notifications are enabled by writing to the 0x2 to the CCCD so it is the write operation that should require authentication. It&amp;#39;s not possible&amp;nbsp; to require authentication for reading of the CCCD, and that is why the softdevice returns the invalid param error. Note that CCCD only contains the configuration value, not the characteristic value. Also&amp;nbsp;worth noting that&lt;span&gt;&amp;nbsp;&lt;/span&gt;this configuration is persistent across connections when the devices are bonded.&lt;/p&gt;
&lt;p&gt;The characteristic value permissions are set on&lt;span&gt;&amp;nbsp;&lt;/span&gt;attr_md.read_perm&amp;nbsp; and&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;attr_md.write_perm if you use ble_hrs.c::heart_rate_measurement_char_add()as reference.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>