<?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>Thread COAP parameters change</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25653/thread-coap-parameters-change</link><description>Hi!
I&amp;#39;m developing Thread mesh using nrf52840 with COAP communication. I would like to set a longer timeout and more retransmission tries in COAP. I saw this parameters in openthread source, but after compilation of library with new parameters I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Oct 2017 17:20:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25653/thread-coap-parameters-change" /><item><title>RE: Thread COAP parameters change</title><link>https://devzone.nordicsemi.com/thread/101075?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 17:20:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c75467be-774f-457b-86b1-d3701058bbfd</guid><dc:creator>Lukasz Duda</dc:creator><description>&lt;p&gt;Hi Wojtek,
Thanks for adding more logs.&lt;/p&gt;
&lt;p&gt;Could you check your version of GCC (arm-none-eabi-gcc -v) and give me information about linux distribution?
I would suggest to use gcc version from here: &lt;a href="https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads"&gt;developer.arm.com/.../downloads&lt;/a&gt; (and export bin folder to your PATH).&lt;/p&gt;
&lt;p&gt;Are you able to build and run OpenThread cli example (from examples/apps/cli)?&lt;/p&gt;
&lt;p&gt;Some of the errors would suggest, that you didn&amp;#39;t add libopenthread_platform_utils.a library to the project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread COAP parameters change</title><link>https://devzone.nordicsemi.com/thread/101074?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 10:05:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18cf935c-9881-4d9b-b954-b9476f226f1c</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;I built this revision of openthread and I&amp;#39;ve got errors during project build. Here is log from MAKE:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-cli-f
td.a(libopenthread_cli_ftd_cli_uart.cpp.o):(.rodata._ZTIN2ot3Cli6ServerE[_ZTIN2o
t3Cli6ServerE]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type
_info&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-cli-f
td.a(libopenthread_cli_ftd_cli_uart.cpp.o):(.rodata._ZTIN2ot3Cli4UartE+0x0): und
efined reference to `vtable for __cxxabiv1::__si_class_type_info&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_instance_api.cpp.o): In function `otInstancePostConstructor(o
tInstance*)&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/api/instance_api.cpp:76: undefined
reference to `otPlatSettingsInit&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_instance_api.cpp.o): In function `otInstanceFactoryReset&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/api/instance_api.cpp:202: undefined
 reference to `otPlatSettingsWipe&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_instance_api.cpp.o): In function `otInstanceErasePersistentIn
fo&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/api/instance_api.cpp:211: undefined
 reference to `otPlatSettingsWipe&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_key_manager.cpp.o): In function `ot::KeyManager::ComputeKey(u
nsigned long, unsigned char*)&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/key_manager.cpp:144: undefin
ed reference to `__cxa_end_cleanup&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_key_manager.cpp.o):(.ARM.extab.text._ZN2ot10KeyManager10Compu
teKeyEmPh+0x0): undefined reference to `__gxx_personality_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mac.cpp.o): In function `ot::Mac::Mac::GetHashMacAddress(ot::
Mac::ExtAddress*)&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/mac/mac.cpp:460: undefined referenc
e to `__cxa_end_cleanup&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mac.cpp.o):(.ARM.extab.text._ZN2ot3Mac3Mac17GetHashMacAddress
EPNS0_10ExtAddressE+0x0): undefined reference to `__gxx_personality_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mac.cpp.o): In function `ot::Crypto::AesCcm::~AesCcm()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/crypto/aes_ccm.hpp:57: undefined re
ference to `__cxa_end_cleanup&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mac.cpp.o):(.ARM.extab.text._ZN2ot3Mac3Mac23ProcessTransmitSe
curityERNS0_5FrameE+0x0): undefined reference to `__gxx_personality_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mac.cpp.o): In function `ot::Crypto::AesCcm::~AesCcm()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/crypto/aes_ccm.hpp:57: undefined re
ference to `__cxa_end_cleanup&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mac.cpp.o):(.ARM.extab.text._ZN2ot3Mac3Mac22ProcessReceiveSec
urityERNS0_5FrameERKNS0_7AddressEPNS_8NeighborE+0x0): undefined reference to `__
gxx_personality_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle.cpp.o): In function `ot::Mle::Mle::Store()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle.cpp:388: undefined refer
ence to `otPlatSettingsSet&amp;#39;
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle.cpp:384: undefined refer
ence to `otPlatSettingsSet&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle.cpp.o): In function `ot::Mle::Mle::Restore()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle.cpp:285: undefined refer
ence to `otPlatSettingsGet&amp;#39;
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle.cpp:310: undefined refer
ence to `otPlatSettingsGet&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle.cpp.o): In function `ot::Crypto::AesCcm::~AesCcm()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/crypto/aes_ccm.hpp:57: undefined re
ference to `__cxa_end_cleanup&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle.cpp.o):(.ARM.extab.text._ZN2ot3Mle3Mle11SendMessageERNS_7
MessageERKNS_3Ip67AddressE+0x0): undefined reference to `__gxx_personality_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle.cpp.o): In function `ot::Crypto::AesCcm::~AesCcm()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/crypto/aes_ccm.hpp:57: undefined re
ference to `__cxa_end_cleanup&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle.cpp.o):(.ARM.extab.text._ZN2ot3Mle3Mle16HandleUdpReceiveE
RNS_7MessageERKNS_3Ip611MessageInfoE+0x0): undefined reference to `__gxx_persona
lity_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle_router.cpp.o): In function `ot::Mle::MleRouter::RestoreCh
ildren()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle_router.cpp:3511: undefin
ed reference to `otPlatSettingsGet&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle_router.cpp.o): In function `ot::Mle::MleRouter::RemoveSto
redChild(unsigned short)&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle_router.cpp:3540: undefin
ed reference to `otPlatSettingsGet&amp;#39;
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle_router.cpp:3546: undefin
ed reference to `otPlatSettingsDelete&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle_router.cpp.o): In function `ot::Mle::MleRouter::StoreChil
d(unsigned short)&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle_router.cpp:3573: undefin
ed reference to `otPlatSettingsAdd&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_mle_router.cpp.o): In function `ot::Mle::MleRouter::RefreshSt
oredChildren()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/thread/mle_router.cpp:3583: undefin
ed reference to `otPlatSettingsDelete&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_netif.cpp.o):(.rodata._ZTIN2ot3Ip65NetifE[_ZTIN2ot3Ip65NetifE
]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_sha256.cpp.o):(.ARM.extab.text._ZN2ot6Crypto6Sha256D2Ev+0x0):
 undefined reference to `__gxx_personality_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_thread_api.cpp.o): In function `otThreadGetAutoStart&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/api/thread_api.cpp:453: undefined r
eference to `otPlatSettingsGet&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_thread_api.cpp.o): In function `otThreadSetAutoStart&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/api/thread_api.cpp:470: undefined r
eference to `otPlatSettingsSet&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_thread_netif.cpp.o):(.rodata._ZTIN2ot11ThreadNetifE+0x0): und
efined reference to `vtable for __cxxabiv1::__si_class_type_info&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_aes_ecb.cpp.o):(.ARM.extab.text._ZN2ot6Crypto6AesEcbD2Ev+0x0)
: undefined reference to `__gxx_personality_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_coap.cpp.o):(.rodata._ZTIN2ot4Coap4CoapE+0x0): undefined refe
rence to `vtable for __cxxabiv1::__class_type_info&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_coap_secure.cpp.o):(.rodata._ZTIN2ot4Coap10CoapSecureE+0x0):
undefined reference to `vtable for __cxxabiv1::__si_class_type_info&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_dataset.cpp.o): In function `ot::MeshCoP::Dataset::Clear(bool
)&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/meshcop/dataset.cpp:64: undefined r
eference to `otPlatSettingsDelete&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_dataset.cpp.o): In function `ot::MeshCoP::Dataset::Restore()&amp;#39;
:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/meshcop/dataset.cpp:439: undefined
reference to `otPlatSettingsGet&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_dataset.cpp.o): In function `ot::MeshCoP::Dataset::Store()&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/meshcop/dataset.cpp:452: undefined
reference to `otPlatSettingsDelete&amp;#39;
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/meshcop/dataset.cpp:456: undefined
reference to `otPlatSettingsSet&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_dtls.cpp.o): In function `ot::MeshCoP::Dtls::HandleMbedtlsExp
ortKeys(unsigned char const*, unsigned char const*, unsigned int, unsigned int,
unsigned int)&amp;#39;:
C:\nRF5_SDK_for_Thread_v0.10.0_e1c3d11\external\openthread\project\lib\openthrea
d\ftd\armgcc/../../../../openthread/src/core/meshcop/dtls.cpp:363: undefined ref
erence to `__cxa_end_cleanup&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_dtls.cpp.o):(.ARM.extab.text._ZN2ot7MeshCoP4Dtls23HandleMbedt
lsExportKeysEPKhS3_jjj+0x0): undefined reference to `__gxx_personality_v0&amp;#39;
C:/NRF_workspace/nrf_sensor_coap/external/openthread/lib/gcc/libopenthread-ftd.a
(libopenthread_ftd_hmac_sha256.cpp.o):(.ARM.extab.text._ZN2ot6Crypto10HmacSha256
D2Ev+0x0): undefined reference to `__gxx_personality_v0&amp;#39;
collect2.exe: error: ld returned 1 exit status
C:/NRF_workspace/nrf_sensor_coap/components/toolchain/gcc/Makefile.common:153: r
ecipe for target &amp;#39;_build/nrf52840_xxaa.out&amp;#39; failed
make: *** [_build/nrf52840_xxaa.out] Error 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I&amp;#39;m using library with software encryption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread COAP parameters change</title><link>https://devzone.nordicsemi.com/thread/101073?ContentTypeID=1</link><pubDate>Sat, 07 Oct 2017 17:47:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:631c1386-9ba1-4767-9686-e2fa3fc014f5</guid><dc:creator>Lukasz Duda</dc:creator><description>&lt;p&gt;Hello Wojtek,&lt;/p&gt;
&lt;p&gt;Please give us more logs so we can help you fix the problems with compilation errors.&lt;/p&gt;
&lt;p&gt;Also i would advise you to rebuild OpenThread libraries using specific commit (the one used in SDK release) - 6a15261b (&lt;code&gt;git checkout 6a15261b&lt;/code&gt;). Of course you can use the newest one, but then there is always a chance that API has been change.&lt;/p&gt;
&lt;p&gt;Side note: Remember that independently of what Sleepy End Device sends to its parent, if device fails three times to deliver any packet in a row (MAC retransmissions are not counted), then node will start attachment process from the beginning (trying to find a parent that is online). I don&amp;#39;t know if this is the issue you have expirienced, but it is always a good thing to know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread COAP parameters change</title><link>https://devzone.nordicsemi.com/thread/101072?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 12:48:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01e7f7f1-a0aa-4cb2-b7e3-ea389b7cb124</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;There was few linker problems. I made workaruond for my problem using MessageQueue. Messages are enqueued in case of DETACHED state. I think change of Coap parameters was wrong way.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread COAP parameters change</title><link>https://devzone.nordicsemi.com/thread/101071?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 12:17:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33551784-161c-4e6b-b0be-ca6563297ac0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Can you post link to the parameters in the source you changed, and describe the compilation errors you faced after this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>