winIDEA SDK
Loading...
Searching...
No Matches
connect_to_winidea_version.py
1# This script is licensed under BSD License, see file LICENSE.txt, or search for `License` in the SDK online help.
2#
3# (c) TASKING Germany GmbH, 2023
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()