<?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>No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7323/no-input-and-output-capabilities-possible-security</link><description>Hi BLE Developers, 
 I&amp;#39;m developing a BLE peripheral device using S110 softdevice which doesn&amp;#39;t have any input or output capabilities and will communicate with smartphone.
Just works pairing method doesn&amp;#39;t satisfy for my project requirements. I don</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Dec 2015 04:22:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7323/no-input-and-output-capabilities-possible-security" /><item><title>RE: No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/thread/25946?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2015 04:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e02f86da-0406-4d76-8a92-9dad2e73c365</guid><dc:creator>Bui Tan Duoc</dc:creator><description>&lt;p&gt;Any Keil 4 project like this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/thread/25944?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2015 11:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3718da0-ee15-47c1-8c6e-b22eaef819da</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Chinargor: I&amp;#39;m happy to help. Could you mark the question as correct and we can close the case ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/thread/25943?ContentTypeID=1</link><pubDate>Mon, 08 Jun 2015 09:02:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dbc030a-b23f-4d33-8863-7d06fa473854</guid><dc:creator>chinargor</dc:creator><description>&lt;p&gt;Thanks a lot for your help. Your advices were really helpful for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/thread/25945?ContentTypeID=1</link><pubDate>Sun, 07 Jun 2015 09:03:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a36b256f-ee65-493f-8114-0faeb270002a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Chinargor: As long as you have a way to display or tell the user on the peer device the passkey, you are not violating the Bluetooth spec. In your case it could be the sticker with the code on the device, or the code in the userguide of the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/thread/25942?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 06:56:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b36a707d-fe9e-4e50-89f3-85444d4ea41f</guid><dc:creator>chinargor</dc:creator><description>&lt;p&gt;@Hung Bui: Thanks a lot for your help, I was able to compile and run it on Nordic Evaluation board.
For static passkey we are setting that the peripheral device has output capabilities (display), but in my case the final product wouldn&amp;#39;t have any output capabilities. I wonder, is it a violation of the Bluetooth LE specification or no?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/thread/25941?ContentTypeID=1</link><pubDate>Thu, 04 Jun 2015 17:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ef138e1-67b6-4ec0-9f05-f6f183be93f2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Chinargor: Which issue do you have when compiling the github example ? Please be noted that the SDK was made with SDK v6.1 and you should copy the example to Board/pca10001/s110/experimental/ folder. I tested here and it worked fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/thread/25940?ContentTypeID=1</link><pubDate>Tue, 02 Jun 2015 08:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eec8ea68-55ad-47ad-b57c-e1c2569c027c</guid><dc:creator>chinargor</dc:creator><description>&lt;p&gt;@Hung Bui: Thank you very much for your help.&lt;/p&gt;
&lt;p&gt;I still cannot compile the example you gave me.&lt;/p&gt;
&lt;p&gt;Currently I&amp;#39;m using (Keil5.14 version), (s110_nrf51822_7.0.0 softdevice), (nrf51_SDK_7.0.1 SDK) and (nrf51_SDK_7.0.1_packs packs).&lt;/p&gt;
&lt;p&gt;I tried ble_app_hrs example project to set a static passkey. I have added and modified the following lines.&lt;/p&gt;
&lt;p&gt;define STATIC_PASSKEY					&amp;quot;123456&amp;quot;&lt;br /&gt;
define SEC_PARAM_MITM                          1&lt;br /&gt;
define SEC_PARAM_IO_CAPABILITIES         BLE_GAP_IO_CAPS_DISPLAY_ONLY&lt;/p&gt;
&lt;p&gt;static ble_opt_t					    m_static_pin_option;&lt;/p&gt;
&lt;p&gt;In the end of the gap_params_init() function I added the following lines.&lt;/p&gt;
&lt;p&gt;// Add static pin:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint8_t passkey[] = STATIC_PASSKEY;
m_static_pin_option.gap.passkey.p_passkey = passkey;
err_code =  sd_ble_opt_set(BLE_GAP_OPT_PASSKEY, &amp;amp;m_static_pin_option);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Than I&amp;#39;m trying to connect to my smartphone, it connects without asking a static passkey.&lt;/p&gt;
&lt;p&gt;Can you please help me and tell me where I&amp;#39;m worong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No input and output capabilities, possible security</title><link>https://devzone.nordicsemi.com/thread/25939?ContentTypeID=1</link><pubDate>Fri, 29 May 2015 13:51:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:260d3979-3bd9-47b3-884b-2c6a168f3436</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Chinargor: Correct, you can use static passkey. You can set the passkey using sd_ble_opt_set() function.&lt;/p&gt;
&lt;p&gt;You can have a look at &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-app-uart-static-passkey"&gt;this example&lt;/a&gt; .  Note that this is only supported from S110 v7.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>