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
537 stars 246 forks source link

PMU wake-up question #370

Closed Crsarmv7l closed 2 years ago

Crsarmv7l commented 2 years ago

Sadly with volte being required in the US I have had to migrate away from Sailfish OS and the Amazfish companion app to android and gadgetbridge and I realized Gadgetbridge doesn't cache notifications and send on connect like Amazfish does.

With that significant limitation requiring BT to stay on with the twatch, is the pmu wakeup interval used at all since it would stay in light sleep?

sharandac commented 2 years ago

In this mode the pmu-wakeup interval should not be used. The app then has to take care of updates itself and does not get a trigger when wifi has connected. But this is a good hint that you might want to include it.

Crsarmv7l commented 2 years ago

Cached notifications has been an open issue for gadgetbridge for 6 years: https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/578

I might take a look.

I assume you use Gadgetbridge as well?

sharandac commented 2 years ago

Yes, I also use Gadgetbridge. In the meantime, it has also become quite stable since I switched to NimBLE.

Crsarmv7l commented 2 years ago

NIce, I finally finished porting all my stuff to your NimBLE build. Haven't had a chance to really try it out yet though.