Bug #137

PhysicalEnvironment Command

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

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

0%

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

Trying to write a number to "PhysicalEnviroment" leads to an exception: (also typo error; should read " PhysicalEnvironment")

Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.B
yte cannot be cast to java.lang.Integer
at it.cnr.isti.zigbee.zcl.library.impl.core.DefaultSerializer.appendZigB
eeType(DefaultSerializer.java:79)
at it.cnr.isti.zigbee.zcl.library.impl.global.write.WriteAttributeComman
d.getPayload(WriteAttributeCommand.java:78)
at it.cnr.isti.zigbee.zcl.library.impl.core.ZCLFrame.<init>(ZCLFrame.jav
a:52)
at it.cnr.isti.zigbee.zcl.library.impl.core.AttributeImpl.doClusterWideW
rite(AttributeImpl.java:188)
at it.cnr.isti.zigbee.zcl.library.impl.core.AttributeImpl.setValue(Attri
buteImpl.java:109)
at org.persona.zigbee.tester.gui.AttributeActionPanel$1.actionPerformed(
AttributeActionPanel.java:112)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

Associated revisions

Revision 524
Added by Stefano Lenzi about 6 years ago

Fixed typo of "PhysicalEnviroment" typo ( refs #137 )
Fixes issue in coverting Integer to Byte by means of Number interface ( refs #137 )

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
  • Target version set to org.aaloa.zb4osgi.zigbee.zcl.library-0.8.0

#2 Updated by Stefano Lenzi about 6 years ago

  • Status changed from In Progress to Feedback

Please let me know if it works, and if it works please close the ticket

#3 Updated by Han Alink about 6 years ago

Looks fine now!
I do not have the rights to close a ticket (I think).

#4 Updated by Stefano Lenzi about 6 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF