<?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>DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14520/dfu-passkey-and-whitelist</link><description>I am trying to use whitelisting and a passkey to add security for my application. So far I have the passkey set up so that it is working on the master control panel on PC, but for some reason it is not working on the iOS app. I also am not sure that I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Jun 2016 07:50:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14520/dfu-passkey-and-whitelist" /><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55449?ContentTypeID=1</link><pubDate>Tue, 28 Jun 2016 07:50:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2186a48-8866-4454-8fd6-9f5f3da89fcb</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! Maybe you can accept my answer by clicking the grey circle with a check mark in it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55448?ContentTypeID=1</link><pubDate>Wed, 22 Jun 2016 17:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7d4b547-b293-45f1-8dfd-8bbb302991ec</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;Never mind. I got it working. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55447?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 15:48:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83190062-9064-4033-9fda-35dbf2539fdc</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;So is there no way to get the peripheral to initiate pairing? Because the way it is working right now is I connect on my iPhone and it immediately asks to pair with the passkey. If you put in the wrong passkey it disconnects. If I get rid of the sd_ble_gap_authenticate it doesn&amp;#39;t ask to pair. Can I put it in the BLE_GAP_EVT_CONNECTED event so that it requests to pair once connected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55446?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 14:18:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62315e72-d281-44ba-869d-0233e20c800b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;That should not help at all, you should have the exact same behavior. The events from the SoftDevice are sent to ble_evt_dispatch() first, it forwards the events to on_ble_evt() and more. You cannot pair before you connect. It is not possible. If you want to send a security request after you have connected you can use the BLE_GAP_EVT_CONNECTED event. Please be aware that it is the central that actually decides if it want to respond to the security request from the peripheral, and send a pairing request.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55445?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 14:13:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea791b07-b825-452e-8ac4-199a37644ae5</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;I moved it to ble_evt_disptach. Should that help? Or is there somewhere else I should put it? I need it to request pairing in order to connect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55444?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 11:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:257a3e70-b267-453d-80c6-dba6bc0ae989</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I think you are using S130 2.0.0-7.alpha, together with SDK 11.0.0-2.alpha. I would recommend using S130 2.0.1, since this is a production release. Use this with SDK 11.0.0. It is available &lt;a href="http://developer.nordicsemi.com/"&gt;here&lt;/a&gt;. Under nRF5_SDK.&lt;/p&gt;
&lt;p&gt;You are calling sd_ble_gap_authenticate() every time on_ble_evt(), which means that you send a security request to the central every time you get a BLE event from the SoftDevice. Remove it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55443?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2016 16:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1144602-e3a5-415e-9ca9-23591fc85380</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;Yes, now it is working so that it requests the passkey when I select bond, but I still get an endless stream of messages. After the changes I made, one message repeats: &amp;quot;Received Security Request, bonding requested: True, mitm requested True.&amp;quot; What does this mean?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55442?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2016 10:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e79cc0e0-92e3-46fb-bb6a-7bad52d6f8b5</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Have you pressed Bond?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55441?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2016 20:55:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:959458be-6e79-4940-ae2a-0a604fbdc91f</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;They are set to keyboard and display, but I have tried changing them and that doesn&amp;#39;t make a difference&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55440?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2016 14:01:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d1c30ca-c25e-4fc7-9bfd-58ab2677612c</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What have you set the IO capabilites in MCP to? Maybe &lt;a href="https://devzone.nordicsemi.com/question/83417/master-emulator-firmware-has-no-mitm/"&gt;this&lt;/a&gt; question can be of help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55439?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2016 13:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab1892ab-5367-4a0a-8887-45cfef801de0</guid><dc:creator>sbailes</dc:creator><description>&lt;p&gt;I am able to pair the device on iOS using the passkey, and that works correctly. But when I try to use the Master Control Panel on Windows it does not request the passkey. I am using an older version of the Master Control Panel so that could be the issue but I&amp;#39;m not sure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU Passkey and Whitelist</title><link>https://devzone.nordicsemi.com/thread/55438?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2016 13:01:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d748dd9a-2ffe-400c-9840-e951caf99873</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you elaborate a bit? What happends when you try to bond with iOS? Are you able to bond with iOS if you are not using passkey? Could you upload your complete project? Or a project that reproduces the behavior?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>