• @diego
    Unfortunately I don't know what the recent responses mean. I'm not a programmer. (Someone else built my clock.) Is it possible to insert one of the scripts above (yours?) and get good time? What do they do? Where do they get the time from? (Where's the BLE source?) How often? Is the connection "automatic"?

    Thanks.

  • This is one approach: it connect to bangle then sends the computer time (hopefully a good time)
    within the command to update bangle. Then you have only the delay of the communication with the device, which can be measured and adjusted.

    On my device, this is the average for 100 samples: 0.05636221885681152s, so I could adjust to add 50ms on the time sent to the device to compensate.

  • Sorry, @Numerist, I think I was still a bit programmy on my response.
    In more broad terms, the script above when executed on a computer with bluetooth sets the clock on the bangle to the time of the computer.

    As the communication of the command between pc and bangle is kind of fast, there's little need for compensating (50ms in my tests, but you can antecipate and correct for that if you wanted)

About

Avatar for Numerist @Numerist started