InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.71k stars 926 forks source link

Time doesn't sync with nRFConnect 2.4.7 #200

Closed gillham closed 3 years ago

gillham commented 3 years ago

The iOS app store version of nRFConnect (2.4.7 build 70) doesn't sync time with the PineTime running InfiniTime.

The version of nRFConnect available on the app store doesn't match any of the screen shots so I'm assuming you're using an older version.

Using 'Peripheral' along the bottom and then 'Add Advertiser', I added a 'Current Time Service' advertiser. I then turned it on via the slider. (it doesn't stay on after the phone goes to sleep, but seems to stay on while actively using nRFConnect) As far as I can tell this should be the equivalent of the 'GATT' server for 'Current Time Service' with the older app from your screenshots.

Unfortunately it doesn't seem to sync. If you have any suggestions on how to debug this, I would appreciate it.

Avamander commented 3 years ago

The version of nRFConnect available on the app store doesn't match any of the screen shots so I'm assuming you're using an older version.

Nope, it's just the Android version.

I'm not aware of anyone figuring it out automatic time sync on iOS, but there have been attempts by others. If you find a solution, do share it.

gillham commented 3 years ago

Thanks for the response. I guess the docs are a little unclear since it mentions nRFConnect for iOS (which does work for DFU) and nRFConnect for time sync (but doesn't specifically mention iOS or Android, just "smartphone") I'll try to send a pull request for a minor update to the getting started docs.