Problems with the C API - zway-discover fails

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
rpv
Posts: 1
Joined: 28 Nov 2016 13:32

Problems with the C API - zway-discover fails

Post by rpv »

Hey guys,
I downloaded the latest z-way on my PI 2 + Razberry running ubuntu 14.04, and compiled the test program (z-way-test).
However on running it - I am getting an error on zway-discover() - here is the log snippet:
Do you have any ideas? Any help appreciated!

BTW: i have stopped the z-way-server and am running the test program as root.
_________________________________________________________________________

[2016-11-28 02:15:52.950] [D] Opened device: /dev/ttyUSB0
[2016-11-28 02:15:52.950] [D] Worker thread successfully created
[2016-11-28 02:15:52.950] [D] Worker thread entry point
[2016-11-28 02:15:52.951] Adding job: Get controller info and supported function classes
[2016-11-28 02:15:52.961] [D] SENDING: ( 01 03 00 07 FB )
[2016-11-28 02:15:52.961] [C] [i/o] Serial port write error: Resource temporarily unavailable
[2016-11-28 02:15:52.961] [E] Failed to send packet: Resource temporarily unavailable
[2016-11-28 02:15:52.961] [D] Worker thread exit point
[2016-11-28 02:15:52.961] Z-Way terminated
[2016-11-28 02:15:52.971] [D] Worker thread successfully finished
[2016-11-28 02:15:52.972] [C] Failed to negotiate with Z-Wave stick: Wrong packet from Z-Wave network or Discovery got bad data (stick communication failed) (-9)
User avatar
PoltoS
Posts: 7601
Joined: 26 Jan 2011 19:36

Re: Problems with the C API - zway-discover fails

Post by PoltoS »

Looks like a busy port.
Post Reply