<?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>Commissioning Joiner support for product line nrf52811</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72374/commissioning-joiner-support-for-product-line-nrf52811</link><description>Hi, my question is about the commissioning of the thread protocol. Not so long ago I created an ish on the github of the thread project, but with software errors I was offered to write in the devzone link to this issue: github.com/.../6222 
 I am trying</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Mar 2021 10:27:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72374/commissioning-joiner-support-for-product-line-nrf52811" /><item><title>RE: Commissioning Joiner support for product line nrf52811</title><link>https://devzone.nordicsemi.com/thread/300061?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 10:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc4446a8-62e8-4f63-be1c-ddee9097003d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Is the main() function in your application reached at all? If it is, in what function does it stop? (try debugging). Or is the issue that you just don&amp;#39;t get any serial interrupts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioning Joiner support for product line nrf52811</title><link>https://devzone.nordicsemi.com/thread/300026?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 08:51:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76494dd9-597a-4c4a-8dea-c803d52c7dc1</guid><dc:creator>kenval</dc:creator><description>&lt;p&gt;I launch the&amp;nbsp;RTT terminal and see the standard thread version lines and nothing else appears. board reset button does not work....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioning Joiner support for product line nrf52811</title><link>https://devzone.nordicsemi.com/thread/299993?ContentTypeID=1</link><pubDate>Tue, 16 Mar 2021 07:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce2ebe9c-d1ca-46e6-ad67-bef612f603be</guid><dc:creator>Edvin</dc:creator><description>[quote user="kenval"]The problem is that the controller hangs .... and the input to the joiner does not work.[/quote]
&lt;p&gt;&amp;nbsp;What does that mean? What are you observing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioning Joiner support for product line nrf52811</title><link>https://devzone.nordicsemi.com/thread/299740?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 11:08:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:261db348-4a97-49cd-82ce-3beccc7d4ca5</guid><dc:creator>kenval</dc:creator><description>&lt;p&gt;I managed to compile the libraries correctly. The firmware was successfully assembled and sewn it took about 178 kb. The problem is that the controller hangs .... and the input to the joiner does not work. Maybe somehow you can find a ready-made solution as a minimum to add a joiner to nrf52811?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioning Joiner support for product line nrf52811</title><link>https://devzone.nordicsemi.com/thread/299724?ContentTypeID=1</link><pubDate>Mon, 15 Mar 2021 10:36:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:842e678a-16e3-4b9a-8e73-ecf6e904a86d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am not sure what happened here, or whether or not you should have &amp;quot;removed unnecessary boards in the yaml file&amp;quot;. Did you remove too much?&lt;/p&gt;
&lt;p&gt;Did it look like all the builds ran successfully when you ran the build_gcc_libs.py? And have you tried running the import_libs.py with the parameter gcc:&lt;/p&gt;
&lt;p&gt;&amp;quot;import_libs.py gcc&amp;quot;?&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioning Joiner support for product line nrf52811</title><link>https://devzone.nordicsemi.com/thread/299597?ContentTypeID=1</link><pubDate>Sat, 13 Mar 2021 22:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ade93509-edee-4af5-8682-0ef76d40cc0b</guid><dc:creator>kenval</dc:creator><description>&lt;p&gt;Hi, thanks for the reply!&lt;/p&gt;
&lt;p&gt;I changed my tactics a bit using the manual&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.0.0%2Fthread_ot_libraries_building.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.0.0%2Fthread_ot_libraries_building.html&lt;/a&gt;&lt;br /&gt;So what have I done so far&lt;br /&gt;1. I downloaded the repository of the thread that is specified in the readm from the github and placed it at&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/openthread&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2.removed unnecessary boards in the yaml file (import_libs_config.yaml)&lt;br /&gt;3. Added a line like&amp;nbsp;(&lt;span&gt;ASMFLAGS&lt;/span&gt;&lt;span&gt; += -DOPENTHREAD_CONFIG_JOINER_ENABLE=1&amp;nbsp;&lt;/span&gt;&lt;span&gt;CFLAGS&lt;/span&gt;&lt;span&gt; += -DOPENTHREAD_CONFIG_JOINER_ENABLE=1&lt;/span&gt;) to the projects for each makefile&lt;/p&gt;
&lt;p&gt;4.compiled with python script (build_gcc_libs.py)&lt;/p&gt;
&lt;p&gt;In my project in the makefile, I prescribed the paths where the new thread libraries are located:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="c_cpp"&gt;LIB_FILES += \
$(SDK_ROOT)/external/openthread/project/nrf52811/openthread/mtd/armgcc/libopenthread-mtd-nrf52811.a \
$(SDK_ROOT)/external/openthread/project/nrf52811/openthread_platform_utils/armgcc/libopenthread-platform-utils-nrf52811.a \
$(SDK_ROOT)/external/openthread/project/nrf52811/mbedcrypto/cc310/armgcc/libmbedcrypto-nrf52811.a \
$(SDK_ROOT)/external/openthread/project/nrf52811/openthread_nrf52811/sdk/spi/armgcc/libopenthread-nrf52811-sdk-spi.a \
$(SDK_ROOT)/external/openthread/project/nrf52811/nordicsemi_nrf52811/driver/armgcc/libnordicsemi-nrf52811-radio-driver.a \
$(SDK_ROOT)/external/openthread/project/nrf52811/openthread_platform_utils/armgcc/libopenthread-platform-utils-nrf52811.a \&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;I get the following errors yet it is not clear how to be with them can you tell?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/libopenthread-mtd-nrf52811.a(dtls.cpp.o): in function `ot::MeshCoP::Dtls::FreeMbedtls()&amp;#39;:
../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/../../../../openthread/src/core/meshcop/dtls.cpp:113: undefined reference to `mbedtls_ssl_cookie_free&amp;#39;

/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/libopenthread-mtd-nrf52811.a(dtls.cpp.o): in function `ot::MeshCoP::Dtls::SetClientId(unsigned char const*, unsigned char)&amp;#39;:
../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/../../../../openthread/src/core/meshcop/dtls.cpp:526: undefined reference to `mbedtls_ssl_set_client_transport_id&amp;#39;

/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/libopenthread-mtd-nrf52811.a(dtls.cpp.o): in function `ot::MeshCoP::Dtls::Setup(bool)&amp;#39;:
../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/../../../../openthread/src/core/meshcop/dtls.cpp:293: undefined reference to `mbedtls_ssl_cookie_init&amp;#39;

/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/../../../../openthread/src/core/meshcop/dtls.cpp:295: undefined reference to `mbedtls_ssl_cookie_setup&amp;#39;
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/../../../../openthread/src/core/meshcop/dtls.cpp:298: undefined reference to `mbedtls_ssl_conf_dtls_cookies&amp;#39;
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/../../../../openthread/src/core/meshcop/dtls.cpp:249: undefined reference to `mbedtls_ssl_cookie_check&amp;#39;
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread/mtd/armgcc/../../../../openthread/src/core/meshcop/dtls.cpp:249: undefined reference to `mbedtls_ssl_cookie_write&amp;#39;
/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major/gcc/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: ../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread_nrf52811/sdk/spi/armgcc/libopenthread-nrf52811-sdk-spi.a(spi-slave.c.o): in function `otPlatSpiSlaveDisable&amp;#39;:

../compile/nRF5_SDK_for_Thread_and_Zigbee_v4.0.0_dc7186b/external/openthread/project/nrf52811/openthread_nrf52811/sdk/spi/armgcc/../../../../../openthread/examples/platforms/nrf528xx/src/spi-slave.c:166: undefined reference to `nrfx_spis_uninit&amp;#39;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Commissioning Joiner support for product line nrf52811</title><link>https://devzone.nordicsemi.com/thread/298105?ContentTypeID=1</link><pubDate>Fri, 05 Mar 2021 13:35:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7abb6bed-f9cc-4fb1-a7a4-a9e845dd91af</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;If you want to compile your own openthread libraries, you should use the same commit as the one used in the SDK. This commit is mentioned in:&lt;/p&gt;
&lt;p&gt;SDK\external\openthread\project\readme.txt&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After checking out the correct commit, it should be quite simple to follow the &lt;a href="https://infocenter.nordicsemi.com/index.jsp"&gt;guide found on infocenter&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That is for building and importing the built libraries.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know any details on the size of what you are building, but perhaps you can elaborate if it doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>