simple AT command to test the UZB device?

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
ekkzk5f
Posts: 18
Joined: 20 Feb 2016 00:41

simple AT command to test the UZB device?

Post by ekkzk5f »

Hi,
is there a simple command (probably of AT-style) to test an UZB stick plugged into a small embedded Linux board, without installing Z-Way or OpenZWave?

OK, I know the original Z-Wave API is closed source, but a simple ping-pong command to check basic functionality can't be a mystery...
Maybe show in one terminal the response by:

Code: Select all

> cat /dev/ttyACM0
bar
And send in another terminal a request:

Code: Select all

> echo foo > /dev/ttyACM0
(or use minicom instead)

But what simple "foo" command should create what "bar" response to prove fundamental working Z-Wave controller ? (Maybe asking for the Node-ID, or the number of network nodes, or list all included nodes...)

Thanks
Achim
ekkzk5f
Posts: 18
Joined: 20 Feb 2016 00:41

Re: simple AT command to test the UZB device?

Post by ekkzk5f »

Maybe it helps somebody else, I found some commands. Open two terminals and enter in the first:

Code: Select all

cat -v /dev/ttyACM0
And in the second send the binary representation of the FUNC_ID_ZW_GET_VERSION command:

Code: Select all

echo -ne "\x15\x01\x03\x00\x15\xe9" > /dev/ttyACM0
After some seconds the first terminal shows "Z-Wave 3.99" and some more control characters, showing that the UZB-Stick is accessible from your computer and the device is working without installing Z-Way, OpenZWaveLib or something else...

(The commands byte-sequence is already shown in the Open-Z-Wave logfile, so I hope there is no problem in publishing it here)
Post Reply