<?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>INSUFFICIENT_AUTHENTICATION with Master Control Panel on PC with Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11706/insufficient_authentication-with-master-control-panel-on-pc-with-dongle</link><description>Hi All, 
 Im planing to use NRf51 as a BT Central mode device and to do some simple things (like Immediate Alert control). First i tried things with dongle and Master control panel on my PC. 
 I have a problem to successfully bond to one BLE device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jun 2016 14:33:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11706/insufficient_authentication-with-master-control-panel-on-pc-with-dongle" /><item><title>RE: INSUFFICIENT_AUTHENTICATION with Master Control Panel on PC with Dongle</title><link>https://devzone.nordicsemi.com/thread/44264?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2016 14:33:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aeeeef17-4b79-4628-a76c-217fbbcdc88c</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;What if I don&amp;#39;t have a characteristic that supports the read and write permissions? My application uses DFU and NUS services and that&amp;#39;s it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INSUFFICIENT_AUTHENTICATION with Master Control Panel on PC with Dongle</title><link>https://devzone.nordicsemi.com/thread/44262?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2016 07:27:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1090dbce-5e9e-48ff-926b-c7dd7efd1970</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;No, this is when you initialize characteristics. See the tutorial on how to add those &lt;a href="https://devzone.nordicsemi.com/tutorials/17/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INSUFFICIENT_AUTHENTICATION with Master Control Panel on PC with Dongle</title><link>https://devzone.nordicsemi.com/thread/44263?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2016 15:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f98f6c2b-20ce-4c22-9893-2a3a9bf8f8d7</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;Where would that go? (The read and write_perms) Would it go in gap_params_init? When I try putting it there it stops advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INSUFFICIENT_AUTHENTICATION with Master Control Panel on PC with Dongle</title><link>https://devzone.nordicsemi.com/thread/44261?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 13:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:204aee8a-6bb1-47fa-af1f-7235829363fd</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;If you look at the service initializing procedure you can see that we set cccd and attr properties like this:
BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.read_perm); //for read permissions
BLE_GAP_CONN_SEC_MODE_SET_OPEN(&amp;amp;attr_md.write_perm); // for write permissions&lt;/p&gt;
&lt;p&gt;The example above is open but you can also require bonding with or without MITM using these:
BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM&lt;br /&gt;
BLE_GAP_CONN_SEC_MODE_SET_ENC_WITH_MITM&lt;/p&gt;
&lt;p&gt;If it says WITH_MITM your device has to support bonding with MITM (passkey) for you to be able to write to this characteristic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INSUFFICIENT_AUTHENTICATION with Master Control Panel on PC with Dongle</title><link>https://devzone.nordicsemi.com/thread/44260?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 13:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e347a409-50df-4eb2-ba45-29f80ce4200f</guid><dc:creator>medamarko</dc:creator><description>&lt;p&gt;Thanks on response, already tried with clearing bonding list from both sides. Sorry if this is stupid question but how i can make sure that security requirements are matching bonding capabilities? Is there any way i can read it out or check with some tool?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INSUFFICIENT_AUTHENTICATION with Master Control Panel on PC with Dongle</title><link>https://devzone.nordicsemi.com/thread/44259?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2016 11:24:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5512520f-50b0-48be-8017-559fb5b75710</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Try to delete all bonds before you connect to the device, then bond again. Bonding is needed if you get the insufficient authentication error. If the bond information is lost on one side, you will also have to delete this on the peer before you bond again. You also have to make sure the  security requirements for your characteristics matches the bonding capabilities of your device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>