Bug #129

Attributes of Basic Cluster

Added by Han Alink about 6 years ago. Updated about 6 years ago.

Status:Closed Start date:10/17/2012
Priority:Low Due date:
Assignee:Stefano Lenzi % Done:

100%

Category:zigbee.zcl.library Spent time: -
Target version:org.aaloa.zb4osgi.zigbee.zcl.library-0.8.0
Has a patch:No Has license agreement signed:No

Description

The following attributes of the Basic Cluster should be writable:
LocationDescription
PhysicalEnviroment
DeviceEnabled
AlarmMask

write_failure.txt Magnifier (3.3 kB) Han Alink, 10/18/2012 03:22 pm


Related issues

related to Bug #132: Writing LocationDescription attributes fails Closed 10/18/2012

Associated revisions

Revision 516
Added by Stefano Lenzi about 6 years ago

Set attributes as writeable ( fixes #129 )

Revision 519
Added by Stefano Lenzi about 6 years ago

Fixed typo of DateCode attribute of Basic cluster ( fixes #129 )

History

#1 Updated by Stefano Lenzi about 6 years ago

  • Category changed from zigbee.tester to zigbee.zcl.library
  • Status changed from New to In Progress
  • Assignee changed from Francesco Furfari to Stefano Lenzi
  • Priority changed from Normal to Low
  • Target version set to org.aaloa.zb4osgi.zigbee.zcl.library-0.8.0

Accepted (see Page 103 of ZigBee Cluster Library document version 075123r02ZB)

#2 Updated by Stefano Lenzi about 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Applied in changeset r516.

#3 Updated by Han Alink about 6 years ago

Though it is possible to issue a write command, the frame that is sent is a read command.
The ZCL frame that is sent if writing the LocationDescription: 0x10 0x15 0x00 0x10 0x00. This is also true for the other 3 attributes.

#4 Updated by Stefano Lenzi about 6 years ago

  • Status changed from Closed to In Progress

That's sound a bit odd, because the code for writing an attribute is generic code that is used for all the attributes of all the Clusters ( look at the medhod doClusterWideWrite method of source:trunk/zigbee.zcl.library/src/main/java/it/cnr/isti/zigbee/zcl/library/impl/core/AttributeImpl.java )

The sequence of bytes
0x10 0x15 0x00 0x10 0x00
is the ZCL Frame, or only the ZCL Payload ? Beacuse it doesn't match neither of them from my point of view.

Please consider that an example of ZCL Payload for wrting "garage" into the LocationDescription would be

0x00 0x10  0x42   0x06 0x67 0x61 0x72 0x61 0x67 0x65
<attId>   <type>  <data value = "garage"           >

#5 Updated by Han Alink about 6 years ago

You are right; I was looking at a read command which I issued before the Write command.
Nevertheless, the write action fails. No AF_DATAREQUEST is issued.
I included the log of the write action.

#6 Updated by Stefano Lenzi about 6 years ago

  • Status changed from In Progress to Closed

It is a differnt issue, I'll close this and we can continue to discuss on the new issue that I created #132

Also available in: Atom PDF