<?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>Minimal requirements for HID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17011/minimal-requirements-for-hid</link><description>Hi, 
 I&amp;#39;ve been trying to add the option for BLE HID to the Espruino JS interpreter on nRF52 - it&amp;#39;s something that ideally would be switchable at runtime. 
 After having had something mostly working with SDK11, the removal of device_manager meant quite</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Oct 2016 16:16:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17011/minimal-requirements-for-hid" /><item><title>RE: Minimal requirements for HID</title><link>https://devzone.nordicsemi.com/thread/65283?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2016 16:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72d1d730-95bf-4f80-a9f8-cfd8562974b8</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;That&amp;#39;s awesome, thanks! It does seem it just wanted pairing. The code I added was:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;      case BLE_GAP_EVT_SEC_PARAMS_REQUEST:{
    ble_gap_sec_params_t sec_param;
    memset(&amp;amp;sec_param, 0, sizeof(ble_gap_sec_params_t));
    sec_param.bond         = 0; // nope
    sec_param.mitm         = 0; // nope
    sec_param.io_caps      = BLE_GAP_IO_CAPS_NONE;
    sec_param.oob          = 1; // Out Of Band data not available.
    sec_param.min_key_size = 7;
    sec_param.max_key_size = 16;
    err_code = sd_ble_gap_sec_params_reply(m_conn_handle, BLE_GAP_SEC_STATUS_SUCCESS, &amp;amp;sec_param, NULL);
    // or BLE_GAP_SEC_STATUS_PAIRING_NOT_SUPP to disable pairing
    APP_ERROR_CHECK(err_code);
  } break; // BLE_GAP_EVT_SEC_PARAMS_REQUEST
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Minimal requirements for HID</title><link>https://devzone.nordicsemi.com/thread/65282?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2016 13:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e77c3c-6fd4-45d3-821e-ad4b14ca0e70</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I think your guess is correct. You can try to only pair, and see if that changes anything. See &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v3.0.0/group___b_l_e___g_a_p___p_e_r_i_p_h___p_a_i_r_i_n_g___j_w___m_s_c.html?cp=2_3_0_1_0_2_1_3_8_7_5"&gt;this&lt;/a&gt;. Just reply with sd_ble_gap_sec_params_reply() when you get the BLE_GAP_EVT_SEC_PARAMS_REQUEST event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Minimal requirements for HID</title><link>https://devzone.nordicsemi.com/thread/65280?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2016 12:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c79d09-f0db-4bba-8475-eb4ddaf9a405</guid><dc:creator>Gordon</dc:creator><description>&lt;p&gt;Well, at the moment there is no pairing/bonding implemented - it&amp;#39;s just a device that you can connect to, so ideally I&amp;#39;d have it working just like that for the moment. Yes, I try and connect via Android Bluetooth settings, but it doesn&amp;#39;t show up under &amp;#39;Available Devices&amp;#39; (but it does via &lt;code&gt;nRF Connect&lt;/code&gt; on the save device). I guess Android might require that there is some security in the link?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Minimal requirements for HID</title><link>https://devzone.nordicsemi.com/thread/65281?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2016 12:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e16def98-906a-44d7-9ec4-18a24465659e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What do you want? Pair, bond, or neither? It seems from the HID spec that no pairing is required to access the characteristics, but I&amp;#39;m not sure if iOS/Android requires it. How are you connecting? Through Bluetooth Settings?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>