It is stated:
"Dynamic ip address, provided by DHCP, BOOTP, etc. Cannot be changed by SysSockSetIpAddressAndNetMask()"
Therefore I try to stop dhcpcd and flush the eth0 like this
Besides losing the connection when flush occurs the CODESYS halts, seen on the display and I cannot see why, because I have lost the connection from my IDE.
Why does the flush command halt the execution of the application?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is stated:
"Dynamic ip address, provided by DHCP, BOOTP, etc. Cannot be changed by SysSockSetIpAddressAndNetMask()"
Therefore I try to stop dhcpcd and flush the eth0 like this
Besides losing the connection when flush occurs the CODESYS halts, seen on the display and I cannot see why, because I have lost the connection from my IDE.
Why does the flush command halt the execution of the application?
The reason for why CODESYS halts was a CODESYS watchdog exception. 'sudo ip' takes a long time.