Hi, I am currently working on a project where I have to put wifi, Ethernet and GPRS, I've already managed to operate the three module (ESP01, enc28j60,SIM800L) separately. Now what I want to do is combine the three. If for example there is no Ethernet connection arduino automatically switches to wifi if there is no wifi, it goes to gprs and if the wifi is available it goes back to the wifi if ethernet is available it goes back to Ethernet in this order (Ethernet <> Wifi <> GPRS). I do not have too many ideas how can I do it, do you have any suggestions? Thank you
if you use TinyGSM then all libraries use core Client class implementation
If for example there is no Ethernet connection
How are you going to determine that?
if there is no wifi
Same question.
Every time you want to make a GET request, you will have to discover, again, whether you can get a response from the server via the Ethernet module. If not, you'll have to try again, using the WiFi module. If that fails, you'll have to try using the GPRS module. If that fails, what is your fall back plan?