blynk.connect(timeout), timeout not working correct in 0.4.8 … in 0.4.7 is OK
I find where is the problem, is in file BlynkProtocol.h:
bool connect(uint32_t timeout = BLYNK_TIMEOUT_MS*3) {
conn.disconnect();
state = CONNECTING;
millis_time_t started = this->getMillis();
while ((state != CONNECTED) &&
(this->getMillis() - started < timeout))
{
run();
}
run(); // Workaround for #325: Getting wrong bytes with ESP8266-SSL
return state == CONNECTED;
}
I comented second run() … now is Ok.