This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Time jumping back when connection is lost and forward when up #9
Labels
bug
Something isn't working
Comments
Hi @iBuilderBY Thanks to your detailed bug report I now can duplicate and certainly will nail down and fix this elusive bug. It seems that some old packets, still in buffer, create the false update after disconnected. Best Regards, ===
|
Hi @iBuilderBY Found out the bug and will publish a release within hour. I now have to flush the packets in queue. BR, The new debug terminal
|
khoih-prog
added a commit
that referenced
this issue
Oct 23, 2022
### Releases v3.7.5 1. Fix bug causing time jumping back or forth when network has problem. Check [Time jumping back when connection is lost and forward when up #9](#9) and [Time jumping back 9 minutes #1](#1) 2. Modify example [ESP_NTPClient_Advanced](https://github.com/khoih-prog/NTPClient_Generic/tree/main/examples/ESP/ESP_NTPClient_Advanced) to demo the better way to use the library, without using long `delay()` 3. Add support to `RP2040W` boards using CYW43439 WiF 4. Optimize and clean up 5. Modify `platformio.ini` and `library.json` to reduce error with PIO 6. Update `Packages' Patches`
khoih-prog
added a commit
that referenced
this issue
Oct 23, 2022
### Releases v3.7.5 1. Fix bug causing time jumping back or forth when network has problem. Check [Time jumping back when connection is lost and forward when up #9](#9) and [Time jumping back 9 minutes #1](#1) 2. Modify example [ESP_NTPClient_Advanced](https://github.com/khoih-prog/NTPClient_Generic/tree/main/examples/ESP/ESP_NTPClient_Advanced) to demo the better way to use the library, without using long `delay()` 3. Add support to `RP2040W` boards using CYW43439 WiF 4. Optimize and clean up 5. Modify `platformio.ini` and `library.json` to reduce error with PIO 6. Update `Packages' Patches`
khoih-prog
added a commit
that referenced
this issue
Oct 23, 2022
### Releases v3.7.5 1. Fix bug causing time jumping back or forth when network has problem. Check [Time jumping back when connection is lost and forward when up #9](#9) and [Time jumping back 9 minutes #1](#1) 2. Modify example [ESP_NTPClient_Advanced](https://github.com/khoih-prog/NTPClient_Generic/tree/main/examples/ESP/ESP_NTPClient_Advanced) to demo the better way to use the library, without using long `delay()` 3. Add support to `RP2040W` boards using CYW43439 WiFi 4. Optimize and clean up 5. Modify `platformio.ini` and `library.json` to reduce error with PIO 6. Update `Packages' Patches`
khoih-prog
added a commit
that referenced
this issue
Oct 23, 2022
### Releases v3.7.5 1. Fix bug causing time jumping back or forth when network has problem. Check [Time jumping back when connection is lost and forward when up #9](#9) and [Time jumping back 9 minutes #1](#1) 2. Modify example [ESP_NTPClient_Advanced](https://github.com/khoih-prog/NTPClient_Generic/tree/main/examples/ESP/ESP_NTPClient_Advanced) to demo the better way to use the library, without using long `delay()` 3. Add support to `RP2040W` boards using CYW43439 WiFi 4. Optimize and clean up 5. Modify `platformio.ini` and `library.json` to reduce error with PIO 6. Update `Packages' Patches`
Hi @iBuilderBY The new NTPClient_Generic v3.7.5 has just been released. Your contribution is noted in Contributions and Thanks. Please have more tests to see if there is still any bug, then make new good issue report ;=}} Best Regards, Releases v3.7.5
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello!
I've got the problem and I know when it happen.
It's happen when the connection is lost - time jump back on NTP_UPDATE_INTERVAL_MS.
When connection is up - time jump forward.
Steps:
The text was updated successfully, but these errors were encountered: