Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddNode doesn't work #11

Open
mitsus opened this issue Feb 22, 2017 · 7 comments
Open

AddNode doesn't work #11

mitsus opened this issue Feb 22, 2017 · 7 comments
Labels

Comments

@mitsus
Copy link

mitsus commented Feb 22, 2017

I try to add/remove node using libzwaveip (...usinbg reference_client example).
I type

(ZIP)addnode
...but from my zwavesniffer i don't see packages (while if using pyzip add node function) it work....while?

Thanks a lot

@jburon-sigma
Copy link
Contributor

Please provide packet traces of

  1. succesful add node with pyzip
  2. failing add node with reference_client

Also make sure to start the packet captures before pyzip and reference_client is started. Otherwise we won't be able to decrypt the DTLS sessions.

@mitsus
Copy link
Author

mitsus commented Mar 6, 2017

pyzip_sniff.zip
reference_client_sniff.zip

Hi @jburon-sigma , please see attached wireshark packet traces from client end server (pyzip and reference_client)

Please see that with pyzip I'm able to add a node, but with reference_client i'm not able to see any packet from client to server after connection and handshake.

Thanks a lot

@jburon-sigma
Copy link
Contributor

It looks like the reference_client DTLS session is established properly and then closed 3 seconds later.

Can you post the console output from reference_client?
Do type the quit command after 3 seconds? An addnode command before that?

@mitsus
Copy link
Author

mitsus commented Mar 9, 2017

Hi @jburon-sigma,
please see attached

screenshot

LibZwaveIp_github_issue.zip

I executed these series of command from reference_client:

  • Connection [OK]
  • list [OK]
  • send "Switch Binary [c4882ee02100]" COMMAND_CLASS_SWITCH_BINARY SWITCH_BINARY_SET ff [OK]
  • send "Switch Binary [c4882ee02100]" COMMAND_CLASS_SWITCH_BINARY SWITCH_BINARY_SET 00 [OK]
  • addnode [Doesn't Work] (On Zniffer i see only another package send, but I'm not able to see Zwave host that listen for incoming connections)

@Xrlls
Copy link

Xrlls commented Mar 22, 2017

Hi @mitsus

you problem is not entirely clear, I am not certain what is meant by "On Zniffer i see only another package send, but I'm not able to see Zwave host that listen for incoming connections"

Are you talking about the Z-wave sniffer looking like this:
image

If so, I am not certain what is meant by "I'm not able to see Zwave host that listen for incoming connections". A Z-wave node does not annonce it self on Z-wave unless it is in learn mode. The Zniffer trace would be very helpful to understand what you are seeing.

@Xrlls
Copy link

Xrlls commented Mar 22, 2017

Hi @mitsus, I just saw the attachments of Zniffer trace and Pcap on your earlier post.

The image attached says that you are running Z/IP Gateway on a beaglebone. Could you possibly state the exact version of Z/IP Gateway.

If possible please provide the console output, showing all output from when the gateway is started.

@anta
Copy link
Contributor

anta commented Aug 8, 2018

@mitsus Does this issue still persist for you?

@anta anta added the question label Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants