Why does the read Attribute return zero?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Why does the read Attribute return zero?

1,249 次查看
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

标记 (3)
0 项奖励
回复
1 回复

1,165 次查看
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 项奖励
回复