AsteroidOSSync icon indicating copy to clipboard operation
AsteroidOSSync copied to clipboard

[FR] Update watch

Open Doomsdayrs opened this issue 3 years ago • 1 comments

Provide the user with an intuitive way to know if their watch is well updated.

Required UI

  • Update Check UI
  • Upgrading UI
  • Reboot UI

The update and upgrade UI should have the option to display logs.

Backend

There are two paths to accomplish this

Watch side

The watch shall handle the update download

Steps:

  1. Connect watch to wifi
  2. Run opkg update on device
  3. Run opkg upgrade on device
  4. Prompt to reboot device

Phone side

The phone shall handle the update download

Steps

  1. Query device for package states
  2. Compare with repository
  3. Download any packages
  4. Send packages to device
  5. Install packages on device
  6. Prompt to reboot device

Doomsdayrs avatar Jul 18 '22 01:07 Doomsdayrs