Why does the read Attribute return zero?

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the read Attribute return zero?

175 Views
qingshuzhuang
Contributor II

When i read u48CurrentSummationDelivered attribute of Simple Metering Cluster, the return value is zero.

pastedImage_1.png

When i read u8MeterStatus attribute of Simple Metering Cluster, the return value is right.

pastedImage_2.png

So I think the problem is that I can't read attributes that are larger than 4 bytes in size.

Is there any way to solve this problem?

There is my code:

Base on project “JN-AN-1218-Zigbee-3-0-Light-Bulb”

Init variables

pastedImage_6.png

Tags (3)
0 Kudos
1 Reply

91 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

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_tpastedImage_1.png

Regards,

Mario

0 Kudos