Code Monkey home page Code Monkey logo

Comments (2)

TLS1000 avatar TLS1000 commented on June 16, 2024

update: the system time keeps on going after disconnection of the LAN cable, however each time the hour(),minute(),day(),year() gets called it attempts to sync time. This causes huge delays in my program. If a sync doesn't succeeds, shouldn't the sync-ing be postponed untill the next interval? When a network connection is not available this causes the program to delay every time a time-function gets called.

eg: this is status, hour, minutes, seconds, day, month,year (1:timeneedssynck; 16h23m22s 21-08-2017). Shoudn't this run on internal clock when no sync is available ans try to sync at next interval?

No NTP Response :-(
1
Transmit NTP Request
No NTP Response :-(
16Transmit NTP Request
No NTP Response :-(
:23Transmit NTP Request
No NTP Response :-(
:22 Transmit NTP Request
No NTP Response :-(
21 Transmit NTP Request
No NTP Response :-(
8 Transmit NTP Request
No NTP Response :-(
2017

from time.

TLS1000 avatar TLS1000 commented on June 16, 2024

problem solved: syncinterval starts counting before setting up udp session which can take a few seconds. with syncinterval set to 30s it works as expected.

from time.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.