So you can use timer to call connectionstatus() every 5 minutes .
void setup {
timer.setInterval(5*60*1000, connectionstatus); // check every 5 minutes
So you can use timer to call connectionstatus() every 5 minutes .
void setup {
timer.setInterval(5*60*1000, connectionstatus); // check every 5 minutes