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