<?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>nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8299/nrf-master-control-panel-in-android</link><description>I have developed my custom board and my custom application based on nRF51822 and S110-v8.
It perfectly works with Master Control Panel v9.0: connection, bonding, dfu,...
But when I try to test it with my Android device (v5.0) and nRF Master Control</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Nov 2015 15:03:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8299/nrf-master-control-panel-in-android" /><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29976?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2015 15:03:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f66b9cc-07b7-444e-9f34-fce433cf6fc1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Dani: Please follow the instruction for testing as I mentioned in the comment on 22nd Jul. The example for &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-app-uart-static-passkey"&gt;static passkey&lt;/a&gt; is provided here. Please continue to comment on above answer, not under Aleksander answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29975?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2015 14:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:216ff860-ee19-4aee-b05a-94efc19d2156</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;Sorry, I meant static passkey-&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29974?ContentTypeID=1</link><pubDate>Wed, 25 Nov 2015 14:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf1e42c1-c91e-4e50-8d9e-b5b292c9d7e1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Dani: static address has nothing to do with static passkey, please clarify.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29973?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2015 11:12:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14614232-da7e-479d-afd5-5fb962106c9e</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;I have just come back with this issue: Hung, is there any solution/proposal for my device to work with static address and being managed from Android/IoS. It is mandatory for my application to have static address as my device does not have any keyboard and it is required for it to have protection (ie.pin code)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29968?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2015 10:59:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5351e49-2c70-4bb0-98fa-56c8c3801b5a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Dani: they should work both rev 2 and rev 3. What issue did you have ?
My suggested sequence for you to test:&lt;/p&gt;
&lt;p&gt;Start with ble_app_proximity, verify that bonding work fine -&amp;gt; ble_app_gls , verify that bonding with random passkey works fine -&amp;gt; test our statics passkey example -&amp;gt; your static passkey example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29967?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2015 07:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8e27a3c-7406-4d40-9de8-af28b41e2ae7</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;I have set Eval-Kit to work as sniffer, but it is not working.
Eval-kit is based on IC rev 2, and Dongle and my proto board are based on IC rev 3 and SD110 v8.0.
So, maybe I have an incompatibility problem. Could it be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29966?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 15:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5a936a1-d888-4a50-991e-348dd6f6836a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Dani: I meant, if you try an example without static passkey but dynamic passkey, such as the &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v9.0.0%2Findex.html"&gt;ble_app_gls example&lt;/a&gt; (passkey will be printed on UART)
would it managed to bond ?&lt;/p&gt;
&lt;p&gt;You should also try bonding but no passkey (Just work), the example you should try is ble_app_proximity.&lt;/p&gt;
&lt;p&gt;Note that you should better first testing without using DFU, especially butonless DFU because the attributable maybe changed, and the phone usually cache the attribute table. To make sure the bonding information is erased, click unbond in Bluetooth setting and turn off and on Bluetooth.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29972?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 14:55:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce68d838-0e73-4b35-8134-e6a72231b78f</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;If the issue is related to resolvable addresses it should be no matter what passkey you use. Bonding shouldn&amp;#39;t work at all... I guess. But please talk with Hung, he knows more about this stuff. I only work with Android.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29965?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 14:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3dd0d9b-2108-4db0-b767-2196bc6d9526</guid><dc:creator>Dani</dc:creator><description>&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;I&amp;#39;m using the following firmware on my nRF51822-QFAC:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;s110_nrf51_8.0.0_softdevice&lt;/li&gt;
&lt;li&gt;DFU&lt;/li&gt;
&lt;li&gt;My app&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In what regards Android device, I have tried with Huawey-P8-Lite (v5.0) and Sony-XPeria-C5303 (v4.3)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Without passkey, my app is perfectly working with both Android devices.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;With passkey, my custom board initially connects. Then, when I try to send something from Android device, it asks me to introduce the passkey and then: it says &amp;#39;bonded&amp;#39; but disconnected.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The example you provide is the one I have followed to implement static passkey.
The only difference to work with or without passkey is:&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;#define SEC_PARAM_BOND      (1 with passkey) (0 without passkey)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;#define SEC_PARAM_MITM      (1 with passkey) (0 without passkey)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In services attributes: BLE_GAP_CONN_SEC_MODE_SET_ENC_WITH_MITM (with passkey) or BLE_GAP_CONN_SEC_MODE_SET_OPEN (without passkey)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29964?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 13:54:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f691cbd4-819d-4cd3-89f4-567b3ce513f3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Dani: Could you give some more information on the firmware you use on the device ? If you don&amp;#39;t use static passkey would you have any issue when testing with Android ?  Please let us know which Android device did you use.&lt;/p&gt;
&lt;p&gt;If you try this example of &lt;a href="https://github.com/NordicSemiconductor/nRF51-ble-app-uart-static-passkey"&gt;static passkey&lt;/a&gt;, would the same issue occur ?&lt;/p&gt;
&lt;p&gt;If possible, please provide us a &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/(language)/eng-GB"&gt;sniffer trace&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29971?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 09:25:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa316bdc-3825-44cc-ba41-c2f591a90c2e</guid><dc:creator>Dani</dc:creator><description>&lt;p&gt;Yes. nRF MCP works fine without bonding...
So. Which is the solution if I want to use a determined/fixed key? (I have no keyboard in my custom board). I suppose that static key can be used with Android and iOS, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29970?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 08:51:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc1e4817-631a-4904-876f-3939bfdebd0a</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;If this is the case you should have the same problems on iOS, but it should work fine on Android 4.4.4.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Master Control Panel in Android</title><link>https://devzone.nordicsemi.com/thread/29969?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2015 08:50:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5854d180-29ad-42a6-a658-19cb46847da8</guid><dc:creator>Aleksander Nowakowski</dc:creator><description>&lt;p&gt;Android 5 introduced private resolvable addresses while the PC version is using static address. Maybe this is the case? Does the nRF MCP work fine without bonding?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>