Search found 2 matches

by excitedbox
Sun Dec 27, 2020 9:08 pm
Forum: ESP-IDF
Topic: how to check if internet is available
Replies: 16
Views: 35084

Re: how to check if internet is available

Ping is not enough to know if there is an actual viable internet connection. To be sure there is a connection you need to open a TCP connection with a known host. You can generate a 204 response from google.com and be sure you can actually connect. Or you would need to build a full connection with s...
by excitedbox
Sun Dec 27, 2020 8:35 pm
Forum: ESP-IDF
Topic: Building the right ESP32 based application
Replies: 4
Views: 4155

Re: Building the right ESP32 based application

I thought little FS is depreciated? Anyway you could create each of these as a module and an event listener in a main loop. The main loop runs repeatedly and checks the value of a common variable (action_performed=) Your modules should set that variable to some value that indicates which module has ...