Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync phone time with LitBit over Bluetooth #14

Open
PatHock opened this issue Jul 7, 2018 · 0 comments
Open

Sync phone time with LitBit over Bluetooth #14

PatHock opened this issue Jul 7, 2018 · 0 comments
Assignees
Labels
bluetooth enhancement New feature or request priority-low stuff that's not too important size-medium Two to three days.
Projects
Milestone

Comments

@PatHock
Copy link
Collaborator

PatHock commented Jul 7, 2018

End goal

  • Send current Date and time info to the LitBit over Bluetooth
  • Implement a manual method of syncing time
  • Potentially make this action automatic - it could happen for each bluetooth transaction, or once an hour, for example.
  • Current date and time could be displayed in the app. This is optional.

Relevant Info/Links

https://docs.flutter.io/flutter/dart-core/DateTime-class.html

When the DateTime object is created, it reflects the current time, date, time zone etc of the mobile device. This object should be reset each time the date and time are sent over Bluetooth, to reflect the current time zone.

Your Code

Using the DateTime library linked above,

var now = new DateTime.now();
@PatHock PatHock added enhancement New feature or request size-medium Two to three days. priority-low stuff that's not too important bluetooth labels Jul 7, 2018
@PatHock PatHock added this to the Completed App milestone Jul 7, 2018
@PatHock PatHock added this to To do in Sprint 2 via automation Jul 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bluetooth enhancement New feature or request priority-low stuff that's not too important size-medium Two to three days.
Projects
Sprint 2
  
To do
Development

No branches or pull requests

2 participants