1
2
3
4
5import isystem.connect as ic
6
7
8def main():
9 connectionMgr = ic.ConnectionMgr()
10
11 connectionConfig = ic.CConnectionConfig()
12 connectionMgr.connect(connectionConfig.start_always())
13 port = connectionConfig.getUdpDiscoveryPort()
14 connectionMgr.disconnect_keep()
15 connectionMgr.connect(ic.CConnectionConfig().host('').udpDiscoveryPort(port))
16
17 debugCtrl = ic.CDebugFacade(connectionMgr)
18
19 debugCtrl.download()
20
21
22if __name__ == "__main__":
23 main()