Commit Graph

1980 Commits

Author SHA1 Message Date
Andreas Shimokawa c95587c915 remove _le suffix where not appropriate 2016-11-19 22:45:42 +01:00
Andreas Shimokawa 029cc02a29 Pebble: Add Pebble specific pairing activity mainly useful for Pebble 2 since it properly pairs the Pebble after connecting with BLE
Fixes #433
2016-11-19 22:13:00 +01:00
Andreas Shimokawa ddfab1cdae Pebble 2: use requestMTU() on Android 5+ instead of characteristics write.
This actually fixes MTU problems with older Pebbles (Time, OG)
2016-11-18 23:47:48 +01:00
Andreas Shimokawa 4dc085de57 Pebble 2: React to MTU notifications, fixes LE for older pebbles also
It seems that setting the MTU on older pebbles does not work, so just use what we can use.
Maybe old pebbles need setMTU() which only works on Android 5+, we could use that conditionally...
2016-11-18 23:47:48 +01:00
cpfeiffer 51fa31aa66 Fix BLE type conversions problems 2016-11-18 23:36:22 +01:00
Andreas Shimokawa 66e3de9168 Pebble 2: improve connection problems (at least for me) 2016-11-18 22:38:39 +01:00
cpfeiffer 96a16245df Update to MPAndroidChart 3.0.1 2016-11-18 21:31:55 +01:00
Daniele Gobbetti 42901a295d Pebble: pretend the clay-settings key is always present (but empty per default) in the localStorage 2016-11-18 12:33:12 +01:00
Andreas Shimokawa d41848014b fix database schema migration from 13 to 14 2016-11-16 11:37:36 +01:00
Andreas Shimokawa 485cda52a8 Pebble 2: actually report HRM feature to Charts Activity 2016-11-15 23:41:35 +01:00
Andreas Shimokawa d7256d172e I hate java 2016-11-15 23:23:21 +01:00
Andreas Shimokawa 163a7bdf15 Pebble 2: save heart rate values to database (hopefully) 2016-11-15 23:21:13 +01:00
Andreas Shimokawa 1012236989 bump version, not yet release time! 2016-11-15 12:29:18 +01:00
Andreas Shimokawa 4a243ff361 update Japanese and German from transifex (THANKS!) 2016-11-15 12:22:41 +01:00
Andreas Shimokawa 82a47022fa Pebble 2: allow to disable/enable HRM in context menu of Workout app
Okay this might be stupid  since Workout seems to work also works without HRM!
I assumed (wrongly) that I will disable Workout by disabling HRM

anyway, better than not being able to toggle it at all!
2016-11-15 12:17:51 +01:00
Andreas Shimokawa 4b7f47ba6c Pebble 2: add Workout system app to app manager on P2 and hexdump incoming HRM datalog 2016-11-15 11:56:14 +01:00
Daniele Gobbetti 1a22752b98 Pebble: enable localStorage
LocalStorage native functions are overridden to keep each watchface's settings separated. It's possible the bind method do not work on older versions of android.
2016-11-14 17:51:33 +01:00
cpfeiffer d8145a52f9 Activate the display when lifting the wrist #323
Configurable, defaults to true
2016-11-13 21:47:54 +01:00
Andreas Shimokawa 00a71f53b3 Pebble 2: add not yet working code (at least not without weird workarounds)
This is is a pain because of tons of weird pairing issues
2016-11-13 21:29:58 +01:00
cpfeiffer d89899557c Mi2: Add config option to configure date/time display
(added a new EventHandler method to set a specific configuration option)
2016-11-13 20:47:24 +01:00
cpfeiffer ddaf51768d Improved logging 2016-11-13 20:24:25 +01:00
cpfeiffer 3cc8d887ca Mi2: Initial support for wear location, hr during sleep and date format #323
- wear location from prefs is sent to the band
- hr measurement during sleep is sent to the band
- date format is sent to the band (date+time or just time)
  (TODO: needs preference option)
2016-11-13 01:44:52 +01:00
Carsten Pfeiffer 1751c86479 Merge pull request #430 from 6arms1leg/documentation
Updated documentation ("Supported Devices" section, Mi Band 2 info)
2016-11-11 21:34:42 +01:00
6arms1leg 37eb60b60c Updated documentation ("Supported Devices" section, Mi Band 2 info) 2016-11-11 02:39:01 +01:00
Andreas Shimokawa f68bbe453b Pebble: bump flags and version we report
Plus some small preparations for P2 support which do not hurt in master
2016-11-10 11:05:32 +01:00
Andreas Shimokawa 1fcd7d8144 bump version, update changelogs 2016-11-10 10:51:04 +01:00
Andreas Shimokawa eb7646d26a Pebble: Fix vanished Health system apps (for affected users)
This code also allows us to add new system apps which will then appended to the current list of previous Gadgetbridge users.
2016-11-09 19:20:37 +01:00
Andreas Shimokawa 837dfd5917 Pebble: fix Pebble Health vanishing when deactivating 2016-11-09 12:06:13 +01:00
cpfeiffer 3b474bb5a9 Move another notify registration to after initialization #408 2016-11-08 22:55:31 +01:00
cpfeiffer 4843f7fc2b More details regarding Mi hr features 2016-11-08 20:19:47 +01:00
cpfeiffer d0beee3df6 Updated documentation about features and how to use with Mi Bands 2016-11-08 20:17:51 +01:00
cpfeiffer 705912172d Adjust changelog to confirmed fixed bugreports 2016-11-07 22:22:59 +01:00
Daniele Gobbetti 16c4f1a5ca Pebble: add toggle to use last known location for sunrise and sunset
This adds the feature discussed in #415, the used location is the last recorded by the network location provider, if it's not available then the stored location is used.
2016-11-06 15:42:52 +01:00
cpfeiffer 119c225ec4 Updated translation from transifex (thanks!) 2016-11-04 22:29:58 +01:00
cpfeiffer 4c1b7e0328 Release 0.13.8 2016-11-04 22:19:51 +01:00
cpfeiffer 55f036c104 Move heart rate notification enamblement to after authentication
Might fix #408 and #425
2016-11-04 22:11:07 +01:00
Andreas Shimokawa 14ef5202e1 some internal testing which does not hurt in master 2016-11-03 11:07:44 +01:00
cpfeiffer 0076bbf572 Remove all Mi2 DeviceInfo stuff -- they're not used together #365
This might fix firmware downgrading on certain Mi1A devices
with hw revision 8
2016-10-30 23:04:21 +01:00
Daniele Gobbetti b9bfb8c93a Use attr resources to enable theme dependent colors for the charts. 2016-10-29 20:29:35 +02:00
Andreas Shimokawa e50574d23c change string "Open in Pebble Appstore" in "Search in Pebble Appstore" 2016-10-29 19:01:39 +02:00
Andreas Shimokawa 2b834f96c9 update changelog 2016-10-29 19:00:53 +02:00
Daniele Gobbetti e2a9574406 Add logic to open zip files. Lately pebble apps are recognized as such. 2016-10-29 16:27:31 +02:00
cpfeiffer a4f615ce71 Update changelog for 3.1.3 2016-10-29 16:08:20 +02:00
cpfeiffer d442030c2a Revert to robolectric 3.1.2 as 3.1.3 does not work at all. 2016-10-29 15:55:27 +02:00
Andreas Shimokawa e0d78e8208 update German and Japanese from transifex (thianks!) 2016-10-29 12:58:19 +02:00
Andreas Shimokawa 5b73690972 update changelogs again (mi band 2 stuff missing) 2016-10-29 12:00:27 +02:00
Andreas Shimokawa f755d99023 Pebble: Add context menu option in app manager to search a watchapp in the pebble appstore 2016-10-29 11:41:08 +02:00
cpfeiffer c2a9348c6e Upgrade mpandroidchart and robolectric 2016-10-29 00:51:00 +02:00
cpfeiffer 8187c6d207 Fix message placeholder 2016-10-29 00:43:59 +02:00
cpfeiffer cea5f5fa36 Remove duplicate case here as well 2016-10-29 00:01:56 +02:00