<?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>NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41001/nfc-commissioning-timeout</link><description>I am using nRF5 SDK for Thread and Zigbee 2.0.0 
 I am having trouble commissioning using NFC, either with the nfc_meshcop example or my own code (based on the nfc_meshcop example). 
 After bringing the NFC antenna near the antenna on the Raspberry Pi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Dec 2018 15:02:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41001/nfc-commissioning-timeout" /><item><title>RE: NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/thread/160777?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 15:02:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb790770-4aba-4ae4-b89b-6a3f06e257e8</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;Thanks for the information.&lt;/p&gt;
&lt;p&gt;I did the following:&lt;/p&gt;
&lt;p&gt;1. Replaced libopenthread-nrf52840-sdk-usb.a in &amp;lt;SDK Install dir&amp;gt;/external/openthread/lib/gcc with the one supplied in the referenced post.&lt;/p&gt;
&lt;p&gt;2. Added libnrf_cc310_0.9.10.a to the project&lt;/p&gt;
&lt;p&gt;3. Removed libmbedcrypto-software.a&lt;/p&gt;
&lt;p&gt;4. Added libmbedcrypto.a&lt;/p&gt;
&lt;p&gt;Like this&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/NCP_5F00_libs.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;NFC commissioning now works properly.&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/thread/160517?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 09:08:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95c53097-8d73-479e-abf2-b88e6847afc2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Our tests only cover NFC commissioning example when using NCP UART, however there is nothing that&amp;nbsp;should prevent it from working with USB NCP as well.&lt;/p&gt;
&lt;p&gt;There is a bug in the current SDK that resulted in the USB library being built without cryptocell support. This should only slow down commissioning, but if the timeout is low, it could make it fail.&lt;/p&gt;
&lt;p&gt;Can you test with the library in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/39157/what-are-the-differences-between-libmbedcrypto-a-and-libmbedcrypto-software-a/151677"&gt;this post&lt;/a&gt;, that have Cryptocell support enabled in the USB library?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/thread/160416?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 14:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:080ebc9f-2468-4c5f-8ad7-ea30747d2095</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Thank you for the clarification. I will check with the developers if they have tested this and can find any issues with this setup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/thread/160270?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 18:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aea63f4-142c-4dca-8b61-05c18c90569c</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;That is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/thread/160243?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 15:22:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42fa6305-d53e-45f8-8910-9b4106bdcdb9</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Ok, so you are only seeing the issue when using the NCP with USB transport?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/thread/160241?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 15:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ca6f4f7-a21d-45b8-b711-beb24ac14c28</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;Yes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I loaded the SDK 2.0.0 NCP uart example onto a development board, and connected J2 to the Border Router. Commissioning worked fine.&lt;/p&gt;
&lt;p&gt;I loaded the SDK 2.0.0 NCP usb example onto a development board, and connected &amp;#39;nRF USB&amp;#39; (J3) to the Border Router.&amp;nbsp; LED1 came on, but commissioning failed.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The &amp;#39;thread_ncp_usb_pca10056&amp;#39; output the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&#x1B;[1;36m[0000164906]&#x1B;[1;31m -MESH-CP-: handshake timeout

&#x1B;[1;36m[0000164906]&#x1B;[1;31m -MESH-CP-: mbedtls_ssl_fetch_input() returned -26624 (-0x6800)

&#x1B;[1;36m[0000164906]&#x1B;[1;31m -MESH-CP-: mbedtls_ssl_read_record_layer() returned -26624 (-0x6800)

&#x1B;[1;36m[0000164906]&#x1B;[1;31m -MESH-CP-: mbedtls_ssl_read_record() returned -26624 (-0x6800)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For my custom board, I have modified the NCP usb project by adding a &amp;#39;custom_board.h&amp;#39; to define the pin for the LEDs and defining BOARD_CUSTOM in the project settings.&amp;nbsp; I cleaned and recompiled the project.&amp;nbsp; Again, the LED indicated a network connection, but commissioning failed.&amp;nbsp; My board is connected to the Border Router via the native USB port.&lt;/p&gt;
&lt;p&gt;Mary&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/thread/160136?ContentTypeID=1</link><pubDate>Tue, 04 Dec 2018 08:46:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d08dbbcb-7237-463c-8173-63e275b3df0f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you tested to run unmodified applications from freshly extracted SDK version, to make sure that nothing have been modified?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NFC Commissioning timeout</title><link>https://devzone.nordicsemi.com/thread/159625?ContentTypeID=1</link><pubDate>Thu, 29 Nov 2018 19:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68238aec-d608-4bdb-a184-883fa6ac76f1</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;I rolled everything (Border Router, NCP, and NFC meschop) back to nRF5 SDK for Thread and Zigbee 1.0.0 and the commissioning worked fine.&lt;/p&gt;
&lt;p&gt;I would like to get 2.0.0 commissioning working though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>