Closed jones139 closed 3 months ago
Is it possible to fetch ntp to PineTime?
Op do 7 mrt 2024 21:00 schreef Graham Jones @.***>:
If the pinetime watch battery dies, the time is likely to re-set. It is not synchronised to the phone via OpenSeizureDetector - you need to connect using GadgetBridge to get it to synchronise. Having OpenSeizureDetector synchronise the time when the watch connects would be useful.
— Reply to this email directly, view it on GitHub https://github.com/OpenSeizureDetector/Android_Pebble_SD/issues/148, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV6J742BVGZFGCE6EC2HMCTYXDBNFAVCNFSM6AAAAABELUF4Z6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TINRYGA3DIMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Is it possible to fetch ntp to PineTime?
No, there is no internet connection on the watch - there is a BLE characteristic that you have to write data to to set the time.
I found a ready to use library that provides the Current Time Service (https://github.com/RideBeeline/android-bluetooth-current-time-service) so have incorporated that into BLE data source.
Pull Request #165 fixes this, which is now merged into V4.2.x development branch.
If the pinetime watch battery dies, the time is likely to re-set. It is not synchronised to the phone via OpenSeizureDetector - you need to connect using GadgetBridge to get it to synchronise. Having OpenSeizureDetector synchronise the time when the watch connects would be useful.