<?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>bonding ble nus example with android phone</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66270/bonding-ble-nus-example-with-android-phone</link><description>Hi 
 I&amp;#39;m trying to add bonding in nus example, I&amp;#39;d like to add my peripheral in ble table in my android phone with a password, for example 123123 
 I&amp;#39;ve changed the security level in my source code from SEC_OPEN to SEC_JUST_WORKS but the problem is same</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Sep 2020 10:55:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66270/bonding-ble-nus-example-with-android-phone" /><item><title>RE: bonding ble nus example with android phone</title><link>https://devzone.nordicsemi.com/thread/271292?ContentTypeID=1</link><pubDate>Thu, 24 Sep 2020 10:55:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8f7586b-3c0f-4b2f-85c1-01452685b159</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Will&lt;/p&gt;
&lt;p&gt;Please note that a static passkey when using legacy pairing will be susceptible to eavesdropping, but a MITM attacker won&amp;#39;t be able to decrypt the connections of already bonded devices. The LESC module is not designed to be used with a static passkey, but it should be safe from MITM attacks as long as the static key isn&amp;#39;t leaked somehow.&lt;/p&gt;
&lt;p&gt;There shouldn&amp;#39;t be any differences in adding this passkey protection to the multiprotocol example you&amp;#39;re using. I would suggest checking out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44658/communication-problems-between-ble_peripheral-and-ble_central-in-nrf52-project/176907#176907"&gt;the example code my colleague has uploaded in this thread&lt;/a&gt; that adds bonding using a static key to the ble_app_uart example. It should not be very different from your project I think.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding ble nus example with android phone</title><link>https://devzone.nordicsemi.com/thread/271107?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 13:11:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e33bca27-6980-4414-b6d8-144c3cdd3478</guid><dc:creator>Will_008700</dc:creator><description>&lt;p&gt;In fact I need MITM protection with a fixed pin for pairing (for example 123123) with a fixed size,&lt;/p&gt;
&lt;p&gt;could you&amp;nbsp;help me for implementing these authentification level ? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding ble nus example with android phone</title><link>https://devzone.nordicsemi.com/thread/271086?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 12:17:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8779ce25-73cb-4bf7-a3ac-5f69e2efe238</guid><dc:creator>Will_008700</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;ok I see&lt;/p&gt;
&lt;p&gt;in fact I&amp;#39;m using multiprotocol / ble zigbee /&amp;nbsp;ble_zigbee_dynamic_light_switch_nus example and I&amp;#39;ve implemented some codes for targeted our requirements, peripherals... do you think that is possible to include &amp;quot;glucose application solution&amp;quot; in my current solution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bonding ble nus example with android phone</title><link>https://devzone.nordicsemi.com/thread/271069?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2020 11:54:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17c564f7-3c1a-4719-8f98-08e8219e8bd0</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I think it would be easier for you to add the Nordic UART Service (NUS) to one of the examples already using bonding and a passkey. I suggest using the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_gls.html"&gt;Glucose application&lt;/a&gt;&amp;nbsp;(which implements a passkey as well) as reference, and edit the project to use the Nordic UART Service instead of the Glucose service, as this should be less work than adding all the necessary security to the UART example.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>