Thanks for your input.
I think that there is something wrong in the com between cc2531 and windows. If I keep the cc2531 connected to the laptop for while, the greed led on cc2531 turns off. Should the cc2531 behave like that?
1. No help (see log at the end of the message)
2. -
3. z-stack is Z-Stack Home 1.2.2a.44539, so it's a bit newer, so could it be that there is some changes in cc2531 firmware? Can you send me a working firmware for cc2531 (borh with and without encryption on)
zigbee4java: Including JavaSE settings
zigbee4java: Including JavaSE build
Evaluating runtime arguments: COM5 23 11 true
:zigbee-api:compileJava UP-TO-DATE
:zigbee-api:processResources UP-TO-DATE
:zigbee-api:classes UP-TO-DATE
:zigbee-api:jar UP-TO-DATE
:zigbee-console-common:compileJava UP-TO-DATE
:zigbee-console-common:processResources UP-TO-DATE
:zigbee-console-common:classes UP-TO-DATE
:zigbee-console-common:jar UP-TO-DATE
:zigbee-serial-javase:compileJava UP-TO-DATE
:zigbee-serial-javase:processResources UP-TO-DATE
:zigbee-serial-javase:classes UP-TO-DATE
:zigbee-serial-javase:jar UP-TO-DATE
:zigbee-console-javase:compileJava UP-TO-DATE
:zigbee-console-javase:processResources UP-TO-DATE
:zigbee-console-javase:classes UP-TO-DATE
:zigbee-console-javase:run
ZigBee API starting up...java.io.FileNotFoundException: C:\Users\Timo\AppData\Local\Temp\SerialComm.dll (The process cannot access the file because it is being used by another process)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
at j.extensions.comm.SerialComm.<clinit>(SerialComm.java:66)
at org.bubblecloud.zigbee.network.port.ZigBeeSerialPortImpl.openSerialPort(ZigBeeSerialPortImpl.java:74)
at org.bubblecloud.zigbee.network.port.ZigBeeSerialPortImpl.open(ZigBeeSerialPortImpl.java:48)
at org.bubblecloud.zigbee.network.port.ZigBeeInterface.open(ZigBeeInterface.java:91)
at org.bubblecloud.zigbee.network.port.ZigBeeNetworkManagerImpl.initializeHardware(ZigBeeNetworkManagerImpl.java:195)
at org.bubblecloud.zigbee.network.port.ZigBeeNetworkManagerImpl.startup(ZigBeeNetworkManagerImpl.java:156)
at org.bubblecloud.zigbee.ZigBeeApi.startup(ZigBeeApi.java:151)
at org.bubblecloud.zigbee.ZigBeeConsole.start(ZigBeeConsole.java:101)
at org.bubblecloud.zigbee.ZigBeeConsoleJavaSE.main(ZigBeeConsoleJavaSE.java:34)
18:53:24 372 ERROR Error...
java.lang.RuntimeException: Serial portIdentifier 'COM5' startup failed.
at org.bubblecloud.zigbee.network.port.ZigBeeSerialPortImpl.openSerialPort(ZigBeeSerialPortImpl.java:92)
at org.bubblecloud.zigbee.network.port.ZigBeeSerialPortImpl.open(ZigBeeSerialPortImpl.java:48)
at org.bubblecloud.zigbee.network.port.ZigBeeInterface.open(ZigBeeInterface.java:91)
at org.bubblecloud.zigbee.network.port.ZigBeeNetworkManagerImpl.initializeHardware(ZigBeeNetworkManagerImpl.java:195)
at org.bubblecloud.zigbee.network.port.ZigBeeNetworkManagerImpl.startup(ZigBeeNetworkManagerImpl.java:156)
at org.bubblecloud.zigbee.ZigBeeApi.startup(ZigBeeApi.java:151)
at org.bubblecloud.zigbee.ZigBeeConsole.start(ZigBeeConsole.java:101)
at org.bubblecloud.zigbee.ZigBeeConsoleJavaSE.main(ZigBeeConsoleJavaSE.java:34)
18:53:24 378 ERROR Failed to initialize the dongle on port org.bubblecloud.zigbee.network.port.ZigBeeSerialPortImpl@5da7ed8f.