<?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のトピックZigbee Stack 3.0 - sequence number not same</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Stack-3-0-sequence-number-not-same/m-p/1547788#M13918</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;ZIGBEE STACK 3.0&lt;BR /&gt;JN5179 module&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below listed steps are getting followed for WRITE_REQUEST, DATA_CONFIRM, WRITE_RESPONSE:&lt;/P&gt;&lt;P&gt;1. WRITE_ATTRIBUTE_REQUEST:&lt;BR /&gt;JN Co-ordintor side, the data is sent in an Application Protocol Data Unit (APDU) instance, allocated using the PDUM function PDUM_hAPduAllocateAPduInstance() and then written to using PDUM_u16APduInstanceWriteNBO(), and then ZPS_eAplAfUnicastDataReq() function submits a request to send data to a remote node (unicast).&lt;BR /&gt;- In this case sequence number is passed with WRITE_ATTRIBUTE_REQUEST.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. DATA_CONFIRM event:&lt;BR /&gt;After this stack-supplied callback function APP_vGenCallback() will handle the ZPS_EVENT_XXX (like ZPS_EVENT_APS_DATA_INDICATION, ZPS_EVENT_APS_DATA_CONFIRM, ZPS_EVENT_APS_DATA_ACK)&lt;BR /&gt;In this, sequence number u8SequenceNum will be received&lt;BR /&gt;- In this case sequence number is not same with WRITE_ATTRIBUTE_REQUEST's sequence number.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3. WRITE_ATTRIBUTES_RESPONSE&lt;BR /&gt;After this, E_ZCL_CBET_WRITE_ATTRIBUTES_RESPONSE event will be received through callback function.&lt;BR /&gt;- In this case sequence number is received which is same with WRITE_ATTRIBUTE_REQUEST's sequence number.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- I want to do retry for the event with non-zero status of ZPS_EVENT_APS_DATA_CONFIRM(Faied events)&lt;BR /&gt;- How can i verify that the ZPS_EVENT_APS_DATA_CONFIRM is of which WRITE_ATTRIBUTE_REQUEST as the ZPS_EVENT_APS_DATA_CONFIRM's sequence number is not matching with the the WRITE_ATTRIBUTE_REQUEST's sequence number?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please guide for the same!!&lt;BR /&gt;Prompt response would be much appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 14:23:55 GMT</pubDate>
    <dc:creator>gokul_bhalodiya</dc:creator>
    <dc:date>2022-11-02T14:23:55Z</dc:date>
    <item>
      <title>Zigbee Stack 3.0 - sequence number not same</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Stack-3-0-sequence-number-not-same/m-p/1547788#M13918</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;ZIGBEE STACK 3.0&lt;BR /&gt;JN5179 module&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Below listed steps are getting followed for WRITE_REQUEST, DATA_CONFIRM, WRITE_RESPONSE:&lt;/P&gt;&lt;P&gt;1. WRITE_ATTRIBUTE_REQUEST:&lt;BR /&gt;JN Co-ordintor side, the data is sent in an Application Protocol Data Unit (APDU) instance, allocated using the PDUM function PDUM_hAPduAllocateAPduInstance() and then written to using PDUM_u16APduInstanceWriteNBO(), and then ZPS_eAplAfUnicastDataReq() function submits a request to send data to a remote node (unicast).&lt;BR /&gt;- In this case sequence number is passed with WRITE_ATTRIBUTE_REQUEST.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. DATA_CONFIRM event:&lt;BR /&gt;After this stack-supplied callback function APP_vGenCallback() will handle the ZPS_EVENT_XXX (like ZPS_EVENT_APS_DATA_INDICATION, ZPS_EVENT_APS_DATA_CONFIRM, ZPS_EVENT_APS_DATA_ACK)&lt;BR /&gt;In this, sequence number u8SequenceNum will be received&lt;BR /&gt;- In this case sequence number is not same with WRITE_ATTRIBUTE_REQUEST's sequence number.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3. WRITE_ATTRIBUTES_RESPONSE&lt;BR /&gt;After this, E_ZCL_CBET_WRITE_ATTRIBUTES_RESPONSE event will be received through callback function.&lt;BR /&gt;- In this case sequence number is received which is same with WRITE_ATTRIBUTE_REQUEST's sequence number.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;- I want to do retry for the event with non-zero status of ZPS_EVENT_APS_DATA_CONFIRM(Faied events)&lt;BR /&gt;- How can i verify that the ZPS_EVENT_APS_DATA_CONFIRM is of which WRITE_ATTRIBUTE_REQUEST as the ZPS_EVENT_APS_DATA_CONFIRM's sequence number is not matching with the the WRITE_ATTRIBUTE_REQUEST's sequence number?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please guide for the same!!&lt;BR /&gt;Prompt response would be much appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 14:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Zigbee-Stack-3-0-sequence-number-not-same/m-p/1547788#M13918</guid>
      <dc:creator>gokul_bhalodiya</dc:creator>
      <dc:date>2022-11-02T14:23:55Z</dc:date>
    </item>
  </channel>
</rss>

