<?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>How to use Blinking LED authentication in mesh?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37493/how-to-use-blinking-led-authentication-in-mesh</link><description>Hello all, 
 I plan on using the blinking LED authentication in mesh configuration, I have seen the nrf mesh app video where it is done using the app but I want to achieve that using provisioner example,is this possible? 
 
 Regards, 
 Nakul</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Aug 2018 11:08:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37493/how-to-use-blinking-led-authentication-in-mesh" /><item><title>RE: How to use Blinking LED authentication in mesh?</title><link>https://devzone.nordicsemi.com/thread/144909?ContentTypeID=1</link><pubDate>Mon, 20 Aug 2018 11:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f060ca41-d147-4c73-b797-417bdbb9a903</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;div&gt;If you want to use the serial example for this, you will most likely need to update the&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_scripts_interactive_pyaci_doc_demo_configuration.html?cp=4_1_0_2_0_2"&gt;interactive pyaci script&lt;/a&gt;&amp;nbsp;(e.g. creating a new copy of the script). I would recommend taking a close look at how the Thingy authenticates &amp;amp; blinks it&amp;#39;s LEDs. Take a look at the provisioning_blink_output_cb() function, as well as the mesh_provisionee_prov_start() function in mesh_provisionee.c.&lt;/div&gt;
&lt;div&gt;I would also recommend taking a look at the nRF Mesh code on Github (for&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library"&gt;Android&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/IOS-nRF-Mesh-Library"&gt;iOS&lt;/a&gt;) to see how the authentication process works there.&lt;/div&gt;
&lt;div&gt;Also, if you have not tested how to provision via interactive pyACI, I would definitely recommend starting there before you implement these changes.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use Blinking LED authentication in mesh?</title><link>https://devzone.nordicsemi.com/thread/144533?ContentTypeID=1</link><pubDate>Thu, 16 Aug 2018 12:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa0f6994-f53a-4a3b-bed6-a0227bf4bcfe</guid><dc:creator>Nakul Nair</dc:creator><description>[quote userid="25682" url="~/f/nordic-q-a/37493/how-to-use-blinking-led-authentication-in-mesh/144296"]Do you want to have the authentication on the client &amp;amp; server nodes so that the node that is being provisioned blinks a certain number of times &amp;amp; you have to tell the provisioner example how many times the provisionee node LED blinked?[/quote]
&lt;p&gt;Yes&lt;/p&gt;
[quote userid="25682" url="~/f/nordic-q-a/37493/how-to-use-blinking-led-authentication-in-mesh/144296"]How are you planning on telling the provisioner node the number of times the provisionee node blinks it&amp;#39;s LED? By pressing a button on the provisionee the number of times that the provisionee LED blinks?[/quote]
&lt;p&gt;I was thinking if this is possible using serial example..where in I can input the number onto the terminal. By the way pressing a button certain number of times is also seems like a good idea...how do I implement that?&lt;/p&gt;
&lt;p&gt;And yes I have seen the Thingy code for blink authentication tested it using nrf mesh app as well and I have noticed that it uses PB-GATT. What I want to achieve is implementing the same thing in normal server and client example, so for that what changes should I make in provisioner code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use Blinking LED authentication in mesh?</title><link>https://devzone.nordicsemi.com/thread/144296?ContentTypeID=1</link><pubDate>Wed, 15 Aug 2018 10:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11eee380-84f7-4d62-9db0-97e235e67634</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Nakul,&lt;/p&gt;
&lt;p&gt;Do you want to have the authentication on the client &amp;amp; server nodes so that the node that is being provisioned blinks a certain number of times &amp;amp; you have to tell the provisioner example how many times the provisionee node LED blinked? How are you planning on telling the provisioner node the number of times the provisionee node blinks it&amp;#39;s LED? By pressing a button on the provisionee the number of times that the provisionee LED blinks?&lt;/p&gt;
&lt;p&gt;Have you taken a look at the source code running on the Thingy:52 device? I would start there &amp;amp; see how the the thingy sdk has been modified to add a random number of blinks for authentication.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>