When I have finished the stuff I am currently working on I will go back and re-read that.PS - Here is an interesting link, worth reading, about resilient micro-controller connections (see part 4.1 in particular):
https://github.com/peterhinch/micropyth ... /README.md
I didn't pay it too much attention the first time as it seemed to be doing things differently to how I wanted to do it, using co-routines (async?) rather than polling loops, but maybe that is the best or only way to have resilience.
Rebooting and restarting is at odds with using USB serial so I set resilience aside while I was getting the fundamentals to work. I am probably close to where I need to be paying more attention to that.
My focus has been more on getting web servers working, where those ideally need HTTP plus MDNS servers, need to be able to set time from NTP and determine the Public IP address, keep both updated, and even update a Dynamic IP Address Service provider.
That seems to be working now and your 'simple_server' was extremely useful in moving that forward. I can now start to look into the connection issues there in more detail.
Statistics: Posted by hippy — Fri Mar 08, 2024 5:21 pm