Andreas Shimokawa
af58b4600d
whoops
2016-08-07 12:15:40 +02:00
Andreas Shimokawa
c4f83d68cd
refactoring: add generic support for manually filtering samples by acticty kind in AbstractSampleProvider
...
This allows a lot of simplifications for Morpheuz and Misfit
2016-08-07 11:45:09 +02:00
Andreas Shimokawa
6b2565e4c9
DB refactoring: remove activity type from Morpheuz database, determinate it in PebbleMorpheuzSampleProvider instead
2016-08-07 01:47:15 +02:00
Andreas Shimokawa
e05d40dc7e
Pebble: Support for latest version of Morpheuz (4.6)
...
Also a few simplifications and minor fixes.
Morpheuz 3.7 should still work (last version for FW 2.x)
2016-08-06 01:19:38 +02:00
cpfeiffer
a7b9ae5596
whitelist fw 4.15.12.10 #369
2016-08-04 00:05:58 +02:00
Andreas Shimokawa
43f3913669
update Japanese, Ukranian and Spanish from transifex (thanks!)
2016-08-02 00:43:37 +02:00
Andreas Shimokawa
9520e23439
fix negative steps in Charts with Morpheuz
2016-08-02 00:31:29 +02:00
cpfeiffer
43d7566c0b
some more microsteps #206
2016-08-01 22:18:57 +02:00
Andreas Shimokawa
4fe498efc2
Pebble: delay 100ms after writing a pebble packet to the output steam
...
This fixes a problem on newer firmwares, probably from 3.0 on, where sending an
appmessage packet right after acknowledging a previous incoming appmessage
packet results in our outgoing appmessage packet to be NACKed by the pebble
firmware and not even reaching the app running on the pebble.
2016-07-31 23:49:19 +02:00
Andreas Shimokawa
8ba1ae3f3e
create extra table for Morpheuz, remove more unused stuff
...
Pebble activity tracker now do not share a common base anymore.
TODO: consider creating a custom way of querying activity types like in Misfit. The activity kind stored in the database now is solely based on the intensity, so it is redundant.
(#206 )
2016-07-31 00:06:26 +02:00
Andreas Shimokawa
eabe625c47
rename some classes, remove obsolete ones
2016-07-30 23:22:27 +02:00
cpfeiffer
b43b7948b0
Let GallCallback return boolean values in order to mark an event as "consumed"
...
(to avoid dispatching the event to further listeners (ble profiles)
2016-07-28 23:04:37 +02:00
cpfeiffer
c9a9566dad
Minor fixlet
2016-07-28 22:42:16 +02:00
cpfeiffer
493444a2a0
Remove unused stuff
2016-07-28 22:28:29 +02:00
cpfeiffer
b22111df9d
Fix field ordering of ActivitySample (c'tor!) and improve importer #206
2016-07-28 22:12:20 +02:00
Andreas Shimokawa
8ea29e6e1d
Refactor database / sample access ( #206 )
...
We now have separate tables for each provider's samples but a common interface.
2016-07-27 23:34:13 +02:00
Carsten Pfeiffer
bce7a6c406
Merge pull request #362 from Ivan4537/patch-1
...
Update strings.xml
2016-07-27 00:15:31 +02:00
Andreas Shimokawa
dd5c80c2e7
forgot to add file
2016-07-25 22:28:40 +02:00
Andreas Shimokawa
726f767576
work towards a Pebble Misfit raw sample table
2016-07-25 22:19:39 +02:00
cpfeiffer
f5ba09ebe0
Some babysteps towards miband2 support #323
...
Start to implement standard BLE profiles/services.
2016-07-25 00:00:22 +02:00
Ivan
fd1e0e5648
Update strings.xml
2016-07-22 20:13:08 +03:00
cpfeiffer
df59ce7b96
Switch light sleep and deep sleep #250
...
Apparently REM is considered deep sleep and NREM is considered light
sleep even though NREM (non-rapid-eye-movement) phase 3 is actually
defined as deep sleep.
2016-07-19 20:43:28 +02:00
cpfeiffer
1997a9b7fa
some more service discovery logging
2016-07-18 23:55:44 +02:00
Carsten Pfeiffer
c3d7b4a7cf
Merge pull request #357 from rplevka/rplevka-srings
...
Fixed 'Activiy' typo in strings.xml
2016-07-15 20:49:32 +02:00
cpfeiffer
802314fc13
Updates for 0.11.2 release
2016-07-15 00:48:50 +02:00
cpfeiffer
7b26986ab0
Fix for #349
...
We must not use UUID_CHAR_PAIR anymore. This prevents connecting
without being bonded. Connecting when bonded still works.
As without bonding, ControlCenter would not display the device anymore,
we have to re-install the "remember last connected device" in the
preferences thing.
2016-07-15 00:13:49 +02:00
Roman Plevka
e8a4c28510
Fixed 'Activiy' typo in strings.xml
2016-07-14 23:15:36 +02:00
cpfeiffer
ebda3e1535
uncomment some constants
2016-07-14 20:37:20 +02:00
cpfeiffer
367091587f
No more 0x8 in the logs
...
It's the confirmation that setting the latency succeeded.
2016-07-14 20:15:54 +02:00
cpfeiffer
aa00d2f93a
Avoid NPEs when device-name is null
2016-07-12 00:24:23 +02:00
cpfeiffer
76895aa2b1
Register to device name and alias changes and update accordingly
2016-07-11 00:28:15 +02:00
cpfeiffer
80930ce42a
More logging for pairing, destroy pairing activity when bonding failed #349
2016-07-10 00:11:28 +02:00
cpfeiffer
eb7b4be986
No restart necessary after enabling logging
2016-07-10 00:11:28 +02:00
Andreas Shimokawa
340a0f4a66
Fix coordinators not recognitzing devices by name
...
Do not ask a device candidate for its name , ask the underlying BluetoothDevice
The candidate uses the device alias - not good for matching
2016-07-09 23:10:21 +02:00
cpfeiffer
f54163faeb
centralize quit() functionality in GBApplication
2016-07-08 22:35:52 +02:00
cpfeiffer
9215233344
Whitelist 4.16.3.7 Mi1S firmware
2016-07-08 22:17:19 +02:00
cpfeiffer
8154a887cb
When there are cached services, skip service discovery
2016-07-08 22:15:36 +02:00
cpfeiffer
ce47f62c5b
Missed a word in changelog
2016-07-08 22:01:01 +02:00
cpfeiffer
31c9d7ed3b
Updated changelog for 0.11.1
...
(cherry picked from commit 563af6d0175b5ff415085fe562f4cf03ab364098)
2016-07-06 23:58:21 +02:00
Andreas Shimokawa
8ea0fa46fb
update spanish translation from transifex (THANKS!)
2016-07-06 22:36:29 +02:00
Andreas Shimokawa
26bab26917
bump version update changelog
2016-07-06 22:35:41 +02:00
Andreas Shimokawa
4de45787c3
Properly acquire network location if last location is not known
...
A toast will be shown if the network location provider is disabled.
Location will be automatically acquired after enabling it.
Fixes #346
2016-07-05 23:56:14 +02:00
cpfeiffer
20d8732d10
In GBDevice.toString(), return the correct state instead of the simplified one
2016-07-05 23:36:21 +02:00
cpfeiffer
154b7d28bb
Let discovery activity also display device aliases
2016-07-05 23:36:21 +02:00
Andreas Shimokawa
903890067d
Settings: properly check the input type flag
...
Fixes a bug where latitude/longitude could be made empty
2016-07-05 23:14:48 +02:00
cpfeiffer
94cc1a883a
Use GBActivity in Pairing Activity for theming
2016-07-05 22:13:11 +02:00
cpfeiffer
3bb1a228ec
Fix crash during device discovery
2016-07-05 21:48:33 +02:00
Andreas Shimokawa
43f95aee9c
fix NPE
2016-07-05 21:47:51 +02:00
cpfeiffer
9ae69eac55
Avoid NPEs when BluetoothDevice.getName() returns null
2016-07-05 21:03:30 +02:00
cpfeiffer
9881b6c281
Do not display paired devices in the discovery activity
2016-07-05 20:46:47 +02:00