Why does the read Attribute return zero?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why does the read Attribute return zero?

1,284件の閲覧回数
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)
タグ(3)
0 件の賞賛
返信
1 返信

1,200件の閲覧回数
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 件の賞賛
返信