<?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>topic Re: Why does the read Attribute return zero? in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Why-does-the-read-Attribute-return-zero/m-p/881852#M6265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return value that you are getting is correct, as you know the node is sending the attribute response with and the data byte list: stream of uint8_t&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72463i80CD707DD6E4A7AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Mar 2019 04:36:34 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2019-03-12T04:36:34Z</dc:date>
    <item>
      <title>Why does the read Attribute return zero?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Why-does-the-read-Attribute-return-zero/m-p/881851#M6264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;When i read u48CurrentSummationDelivered attribute of&amp;nbsp;Simple Metering Cluster, the return value is zero.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70669iFCA4CBF847EE42EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When i read u8MeterStatus&amp;nbsp;attribute of&amp;nbsp;Simple Metering Cluster, the return value is right.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70670iB5A49BDF65B9DC86/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So I think the problem is that I can't read attributes that are larger than 4 bytes in size.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Is there any way to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is my code：&lt;/P&gt;&lt;P&gt;Base on project “JN-AN-1218-Zigbee-3-0-Light-Bulb”&lt;/P&gt;&lt;P&gt;Init variables&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70695i37D52860F7B6F2F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Mar 2019 07:28:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Why-does-the-read-Attribute-return-zero/m-p/881851#M6264</guid>
      <dc:creator>qingshuzhuang</dc:creator>
      <dc:date>2019-03-09T07:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the read Attribute return zero?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Why-does-the-read-Attribute-return-zero/m-p/881852#M6265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return value that you are getting is correct, as you know the node is sending the attribute response with and the data byte list: stream of uint8_t&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/72463i80CD707DD6E4A7AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 04:36:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Why-does-the-read-Attribute-return-zero/m-p/881852#M6265</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-03-12T04:36:34Z</dc:date>
    </item>
  </channel>
</rss>

