Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NSE for OpenWebNet discovery #915
The following script discovers the services running on OpenWebNet protocol.
The script currently fetches the Gateway address, Device type, Number of devices running, Addresses of all services. Handles the errors like Socket connection error, EOF as response and timeout errors.
I have tested it on 4 Indian servers and handled the errors properly.
Do let me know if anything needs to be changed.
A good start. Here are a few things to consider.
Great! These are mostly formatting changes; the protocol implementation looks fine.
This feedback is based on running the script; it still takes almost 20 seconds to run after I made some hasty fixes regarding NACK handling, but it's a big improvement over the current version.
A couple minor things and some bigger things as well. Nearly done!