How control W5500/W5100 (with STM32) by mysensors library
-
I have a problem with W5500/W5100/ENC28j60 and STM32. Each of these ETH modules jams after a few days. STM32 works correctly but has no knowledge of the lack of network connectivity. Is there any way to detect this condition and reinitialize the W5500/W5100 module? To be clear - the modules do not respond to PING.
-
I found procedure gatewayTransportInit(), it works great. However, I cannot find a procedure that will enable detection of a network connection at level mysensors. I noticed that disconnecting the network plug or resetting the W5500 (37 pin to ground) changes the device's IP address to 0.0.0.0 - then I call gatewayTransportInit() - but mysensor's library must have such procedures - please tell me how to diagnose ethernet connection.