<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Wireless MCUのトピックRe: Adding Secure Coap support in K32W(openthread stack)</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1387219#M12554</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/184557"&gt;@Ricardo_Zamora&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing an apps based on &lt;STRONG&gt;k32w061dk6_reed_ble_wuart_bm&lt;/STRONG&gt; example where i need to add the secure coap support. I added following lines in&amp;nbsp; &lt;STRONG&gt;&amp;lt;Proj Dir&amp;gt;/MCUXpresso_11.4.1_6260/workspace/k32w061dk6_reed_ble_wuart_bm/source/reed_app.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;otCoapSecureSetSslAuthMode(gpOpenThreadInstance, false);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;otCoapSecureSetClientConnectedCallback(gpOpenThreadInstance, HandleConnected, NULL);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;otCoapSecureSetDefaultHandler(gpOpenThreadInstance, DefaultHandler, NULL);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;otCoapSecureStart(gpOpenThreadInstance, OT_DEFAULT_COAP_SECURE_PORT);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried defining &lt;STRONG&gt;OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE&lt;/STRONG&gt; as 1 in &lt;STRONG&gt;&amp;lt;Proj Dir&amp;gt;/MCUXpresso_11.4.1_6260/workspace/k32w061dk6_reed_ble_wuart_bm/source/config.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and when I tried to build I am getting following errors&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;undefined reference to `otCoapSecureSetClientConnectedCallback'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;undefined reference to `otCoapSecureSetDefaultHandler'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;undefined reference to `otCoapSecureStart'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please guide the steps to enable the secure coap support in K32W SDK 2_6_4.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 09:55:40 GMT</pubDate>
    <dc:creator>sd05</dc:creator>
    <dc:date>2021-12-15T09:55:40Z</dc:date>
    <item>
      <title>Adding Secure Coap support in K32W(openthread stack)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1386244#M12545</link>
      <description>&lt;P&gt;I am trying to compile the reed example with minimal secure coap code but in the process i am getting following error for mbedtls&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /home/sunidhi/Downloads/bae/openthread/ot-nxp/build_k32w061/lib/libmbedtls.a(ssl_tls.c.obj): in function `mbedtls_ssl_config_defaults':&lt;BR /&gt;ssl_tls.c:(.text.mbedtls_ssl_config_defaults+0xa8): undefined reference to `mbedtls_x509_crt_profile_suiteb'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: ssl_tls.c:(.text.mbedtls_ssl_config_defaults+0xb4): undefined reference to `mbedtls_x509_crt_profile_default'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /home/sunidhi/Downloads/bae/openthread/ot-nxp/build_k32w061/lib/libmbedtls.a(ssl_tls.c.obj): in function `mbedtls_ssl_parse_certificate':&lt;BR /&gt;ssl_tls.c:(.text.mbedtls_ssl_parse_certificate+0xda): undefined reference to `mbedtls_x509_crt_init'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: ssl_tls.c:(.text.mbedtls_ssl_parse_certificate+0xf2): undefined reference to `mbedtls_x509_crt_free'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: ssl_tls.c:(.text.mbedtls_ssl_parse_certificate+0x186): undefined reference to `mbedtls_x509_crt_verify_restartable'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: ssl_tls.c:(.text.mbedtls_ssl_parse_certificate+0x1d2): undefined reference to `mbedtls_x509_crt_free'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: ssl_tls.c:(.text.mbedtls_ssl_parse_certificate+0x26e): undefined reference to `mbedtls_x509_crt_parse_der_nocopy'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /home/sunidhi/Downloads/bae/openthread/ot-nxp/build_k32w061/lib/libopenthread-ftd.a(dtls.cpp.obj): in function `ot::MeshCoP::Dtls::FreeMbedtls()':&lt;BR /&gt;dtls.cpp:(.text._ZN2ot7MeshCoP4Dtls11FreeMbedtlsEv+0x10): undefined reference to `mbedtls_x509_crt_free'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: dtls.cpp:(.text._ZN2ot7MeshCoP4Dtls11FreeMbedtlsEv+0x18): undefined reference to `mbedtls_x509_crt_free'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /home/sunidhi/Downloads/bae/openthread/ot-nxp/build_k32w061/lib/libopenthread-ftd.a(dtls.cpp.obj): in function `ot::MeshCoP::Dtls::SetApplicationCoapSecureKeys()':&lt;BR /&gt;dtls.cpp:(.text._ZN2ot7MeshCoP4Dtls28SetApplicationCoapSecureKeysEv+0x22): undefined reference to `mbedtls_x509_crt_parse'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: dtls.cpp:(.text._ZN2ot7MeshCoP4Dtls28SetApplicationCoapSecureKeysEv+0x44): undefined reference to `mbedtls_x509_crt_parse'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: /home/sunidhi/Downloads/bae/openthread/ot-nxp/build_k32w061/lib/libopenthread-ftd.a(dtls.cpp.obj): in function `ot::MeshCoP::Dtls::Setup(bool)':&lt;BR /&gt;dtls.cpp:(.text._ZN2ot7MeshCoP4Dtls5SetupEb+0x30): undefined reference to `mbedtls_x509_crt_init'&lt;BR /&gt;/usr/local/mcuxpressoide-11.4.1_6260/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.4.0.202103011116/tools/bin/../lib/gcc/arm-none-eabi/10.2.1/../../../../arm-none-eabi/bin/ld: dtls.cpp:(.text._ZN2ot7MeshCoP4Dtls5SetupEb+0x38): undefined reference to `mbedtls_x509_crt_init'&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 08:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1386244#M12545</guid>
      <dc:creator>sd05</dc:creator>
      <dc:date>2021-12-14T08:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Secure Coap support in K32W(openthread stack)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1386751#M12550</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you are doing well. Could you please describe the procedure you followed?&lt;/P&gt;
&lt;P&gt;Can you clarify what do you mean with "reed example with minimal secure coap code"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ricardo&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 23:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1386751#M12550</guid>
      <dc:creator>Ricardo_Zamora</dc:creator>
      <dc:date>2021-12-14T23:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Secure Coap support in K32W(openthread stack)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1387219#M12554</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/184557"&gt;@Ricardo_Zamora&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am developing an apps based on &lt;STRONG&gt;k32w061dk6_reed_ble_wuart_bm&lt;/STRONG&gt; example where i need to add the secure coap support. I added following lines in&amp;nbsp; &lt;STRONG&gt;&amp;lt;Proj Dir&amp;gt;/MCUXpresso_11.4.1_6260/workspace/k32w061dk6_reed_ble_wuart_bm/source/reed_app.c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;otCoapSecureSetSslAuthMode(gpOpenThreadInstance, false);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;otCoapSecureSetClientConnectedCallback(gpOpenThreadInstance, HandleConnected, NULL);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;otCoapSecureSetDefaultHandler(gpOpenThreadInstance, DefaultHandler, NULL);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;otCoapSecureStart(gpOpenThreadInstance, OT_DEFAULT_COAP_SECURE_PORT);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried defining &lt;STRONG&gt;OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE&lt;/STRONG&gt; as 1 in &lt;STRONG&gt;&amp;lt;Proj Dir&amp;gt;/MCUXpresso_11.4.1_6260/workspace/k32w061dk6_reed_ble_wuart_bm/source/config.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and when I tried to build I am getting following errors&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;undefined reference to `otCoapSecureSetClientConnectedCallback'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;undefined reference to `otCoapSecureSetDefaultHandler'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;undefined reference to `otCoapSecureStart'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please guide the steps to enable the secure coap support in K32W SDK 2_6_4.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 09:55:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1387219#M12554</guid>
      <dc:creator>sd05</dc:creator>
      <dc:date>2021-12-15T09:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Secure Coap support in K32W(openthread stack)</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1387244#M12556</link>
      <description>&lt;P&gt;Also one more question what are the steps to make changes in openthread libraries available with the SDK&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 10:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Adding-Secure-Coap-support-in-K32W-openthread-stack/m-p/1387244#M12556</guid>
      <dc:creator>sd05</dc:creator>
      <dc:date>2021-12-15T10:19:51Z</dc:date>
    </item>
  </channel>
</rss>

