Commit 78efae65 authored by Ivan Tyagov's avatar Ivan Tyagov

Use ip:port from CLI.

parent 5f45f7e3
......@@ -40,7 +40,7 @@ async def main():
# setup our server
server = Server()
await server.init()
server.set_endpoint("opc.tcp://%s:%s/freeopcua/server/" %(ipv4, port))
server.set_endpoint("opc.tcp://%s:%s/oi-sensor" %(ipv4, port))
# set up our own namespace, not really necessary but should as spec
uri = "http://examples.freeopcua.github.io"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment