<?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: Bug in CoAP library for KW41Z?</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Bug-in-CoAP-library-for-KW41Z/m-p/694782#M3402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently the Thread stack has a limited CoAP implementation, not all the specification functionality has been added as right now it is developed to work for the need of the applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Thread stack has a limited CoAP functionality, not all the specification functionality has been added as right now it is developed to work for the need of the applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nonetheless, there are plans to continue adding more parts of the specification in further releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2017 22:44:03 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2017-09-07T22:44:03Z</dc:date>
    <item>
      <title>Bug in CoAP library for KW41Z?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Bug-in-CoAP-library-for-KW41Z/m-p/694781#M3401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently implementing the CoAP block options for our application, when I noticed that CoAP option parameters are not correctly handled by the library provided by NXP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to RFC7252 section 3.1 a CoAP option can have an extended option delta if the option name does not fit in the 4 bits of the header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that the extended option delta is not correctly handled by the library:&lt;/P&gt;&lt;P&gt;When parsing the rx options of the coapSession_t struct in the coap handler, the extended option field is used&amp;nbsp;as the option&amp;nbsp;value and the actual value&amp;nbsp;is parsed as additional options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, the length of the coap value can also be split into an extended length field, but this is correctly handled by the library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Library versions:&lt;/P&gt;&lt;P&gt;Connectivity Framework v5.3.3&lt;/P&gt;&lt;P&gt;NXP Thread v1.1.1.15&lt;/P&gt;&lt;P&gt;IEEE 802.15.4 MAC v5.3.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard Petschina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 10:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Bug-in-CoAP-library-for-KW41Z/m-p/694781#M3401</guid>
      <dc:creator>bernhardpetschi</dc:creator>
      <dc:date>2017-09-05T10:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in CoAP library for KW41Z?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Bug-in-CoAP-library-for-KW41Z/m-p/694782#M3402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently the Thread stack has a limited CoAP implementation, not all the specification functionality has been added as right now it is developed to work for the need of the applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the Thread stack has a limited CoAP functionality, not all the specification functionality has been added as right now it is developed to work for the need of the applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nonetheless, there are plans to continue adding more parts of the specification in further releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 22:44:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Bug-in-CoAP-library-for-KW41Z/m-p/694782#M3402</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2017-09-07T22:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in CoAP library for KW41Z?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Bug-in-CoAP-library-for-KW41Z/m-p/694783#M3403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an ETA for the next version of the library?&lt;/P&gt;&lt;P&gt;Do you have an errata sheet for the libraries, or a public bug/feature tracker?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until this is added to the CoAP library we will work around the bug by inserting a dummy option such that the&amp;nbsp;extended field is not needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard Petschina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Sep 2017 07:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Bug-in-CoAP-library-for-KW41Z/m-p/694783#M3403</guid>
      <dc:creator>bernhardpetschi</dc:creator>
      <dc:date>2017-09-08T07:05:10Z</dc:date>
    </item>
  </channel>
</rss>

