import isystem.connect as ic
def main():
connectionMgr = ic.ConnectionMgr()
connectionConfig = ic.CConnectionConfig()
connectionMgr.connect(connectionConfig.start_always())
port = connectionConfig.getUdpDiscoveryPort()
connectionMgr.disconnect_keep()
connectionMgr.connect(ic.CConnectionConfig().host('').udpDiscoveryPort(port))
debugCtrl = ic.CDebugFacade(connectionMgr)
debugCtrl.download()
if __name__ == "__main__":
main()