sharandac / My-TTGO-Watch

A GUI named hedge for smartwatch like devices based on ESP32. Currently support for T-Watch2020 (V1,V2,V3), T-Watch2021, M5Paper, M5Core2 and native Linux support for testing.
GNU General Public License v2.0
536 stars 247 forks source link

Add Current Time Service on BLE #184

Closed guyou closed 3 years ago

guyou commented 3 years ago

Cf. https://www.bluetooth.com/wp-content/uploads/Sitecore-Media-Library/Gatt/Xml/Services/org.bluetooth.service.current_time.xml

guyou commented 3 years ago

I plan to work on this, based on https://github.com/JF002/Pinetime/tree/develop/src/components/ble

If someone is already working on this, please let me know.

guyou commented 3 years ago

Humh... I think I completly missunderstood the BLE stack of My-TTGO-Watch. It seems to use a serial communication over BLE (Nordic UART). Feature is already present (timesync.cpp).