cpfeiffer
cc3c70b161
Send results of AbstractBleProfile synchronously
...
This should fix issues like a ConditionalWriteAction failing with an NPE when GBDevice.getFirmwareVersion() returns null even though the DeviceInfoProfile had already received the firmware version (but the intent notification has not been received yet).
2018-08-06 20:51:28 +02:00
cpfeiffer
ec0d62f67b
If firmwareRevision is null, use softwareRevision
2018-08-06 20:26:39 +02:00
cpfeiffer
92bd3122f3
Improve logging
2018-08-06 20:22:10 +02:00
cpfeiffer
f7c9828cc1
Avoid potential NPE
2018-08-06 20:22:10 +02:00
Andreas Shimokawa
88714ece4d
Amazfit Bip: fix current weather not being displayed with latest firmware
2018-08-05 15:27:28 +02:00
protomors
fd68700b9a
NO1 F1: Set time during initialization.
2018-08-05 00:09:43 +02:00
protomors
343239ff9e
NO1 F1: Fixed typo.
2018-08-05 00:09:43 +02:00
cpfeiffer
5bca05caac
Fix loop condition!
2018-08-04 23:10:11 +02:00
Andreas Shimokawa
fe401bdcf5
Amazfit Cor: allow music control
2018-08-02 22:35:02 +02:00
Andreas Shimokawa
66391e10c9
Amazfit Cor: Allow to enable music menu on device
2018-08-02 22:29:52 +02:00
Andreas Shimokawa
cc7f6d7263
More Huami refactoring
...
- Rename MiBand2Service to HuamiService
- Move preferences around (Mi Band 2 has its own device specific settings now)
- Fix Cor menu items not syncing immediately in settings
- Try to support settings menu items on Mi Band 3 (buggy, disabled code for now)
2018-08-02 10:55:30 +02:00
Andreas Shimokawa
f464604b27
Amazfit Cor: Fix notification menu not being enabled
2018-08-01 23:13:36 +02:00
Andreas Shimokawa
c247efc720
add missing file
2018-08-01 22:58:41 +02:00
Andreas Shimokawa
486d7bdca6
Amazfit Cor: Allow setting menu items
...
(Also rename/refactor stuff from Mi Band 2 to Huami - still WIP)
2018-08-01 22:56:01 +02:00
cpfeiffer
16fb1a584d
Errors during activity track timestamp fixup should be non-fatal
...
So just log them. #1134
2018-08-01 19:49:09 +02:00
cpfeiffer
df84927954
Fix filename generation and add testcasce
...
Fixes #1169
2018-08-01 19:33:33 +02:00
cpfeiffer
7f1c0521ea
Small fixes to activity point timestamp fixup
2018-08-01 19:33:33 +02:00
szilardx
14a086c1f3
Add missing ActivityPoints and timestamp
2018-08-01 19:33:33 +02:00
Vadim Kaushan
e3408197f2
Merge remote-tracking branch 'upstream/master'
2018-07-31 09:18:50 +03:00
cpfeiffer
163b547395
Remove level_list_device.xml, just use the DeviceType icon
2018-07-30 22:49:00 +02:00
Vadim Kaushan
9a13d5ea4a
ID115: code cleanup
2018-07-30 23:24:20 +03:00
Vadim Kaushan
fd7a0cb124
ID115: fetching activity data
2018-07-30 23:23:13 +03:00
Vadim Kaushan
caabe0ed0a
ID115: use SendNotificationOperation for message and call notifications
2018-07-29 21:30:31 +03:00
Vadim Kaushan
14dc3ad9c5
ID115: add supportsFindDevice() function
2018-07-29 19:34:34 +03:00
Vadim Kaushan
458a363f11
Merge remote-tracking branch 'upstream/master'
2018-07-29 19:31:40 +03:00
José Rebelo
18b13b7772
Add missing break
2018-07-27 14:39:01 +01:00
José Rebelo
a43934651a
Allow devices to not support being found
2018-07-27 14:38:33 +01:00
Daniele Gobbetti
2147ab4948
Revert "Revert "remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate""
...
This reverts commit 63231ec49a
.
Please note that the comment of the reverted commit was inaccurate, as the Mi Band HRX was left untouched by it
and is left untouched byt this commit.
2018-07-27 15:13:21 +02:00
cpfeiffer
63231ec49a
Revert "remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate"
...
This reverts commit 495ba81edc
.
See discussion in https://github.com/Freeyourgadget/Gadgetbridge/issues/1165
2018-07-27 13:15:10 +02:00
dakhnod
63cb70ac9a
Fix missing sourceAppID field
2018-07-23 02:50:05 +02:00
Daniele Gobbetti
2da6749a40
Add activity kind (if known) to gpx filename
...
Fixes #1161
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
67a1191a3c
Use UTC timezone in GPX points
...
Fixes #1152
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
a5dd88df53
Fix discovery on devices with Android version < Lollipop
...
also reduce the amount of lines logged in discovery activity.
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
290c6c53fb
Fix wrong mapping yahoo weather conditions to openweathermap.
2018-07-22 16:14:36 +02:00
Andreas Shimokawa
e96dcc69ab
Amazfit Bip: try to support weather in newer firmwares
2018-07-21 17:18:08 +02:00
Andreas Shimokawa
d1253348dc
Mi Band 3: whitelist tested firmware, res and font
2018-07-19 12:00:17 +02:00
Andreas Shimokawa
eef38d4680
Only use 0x00 as auth flags on Mi Band 3 - to not disturb other devices
2018-07-17 00:29:36 +02:00
Andreas Shimokawa
aa143577f8
Amazfit Cor: Support language switching on newer firmwares
...
I shamelessly assumed the firmware version (chose the version that was included in the same Mi Fit version when bip started to support the new command)
2018-07-16 15:18:46 +02:00
Vadim Kaushan
b6bd100f28
ID115: remove useless debug messages
2018-07-16 15:50:29 +03:00
Vadim Kaushan
65fbb4da5b
ID115: wrist setting
2018-07-16 15:48:37 +03:00
Andreas Shimokawa
f2aa71e32c
Amazfit Bip: Support Russian language.
...
Closes #1145
2018-07-16 14:36:52 +02:00
Andreas Shimokawa
46f3686764
Mi Band 3: Also send AQI for weather to make current temperature appear
2018-07-16 14:19:02 +02:00
Andreas Shimokawa
dc1e831630
Mi Band 3: Fix Pairing, this MIGHT break pairing for other devices (Bip/Cor/Mi Band 2)
2018-07-16 13:38:51 +02:00
Vadim Kaushan
c43a564a47
Merge remote-tracking branch 'origin/master'
2018-07-15 00:53:47 +03:00
Vadim Kaushan
a94e0b9463
ID115: log IO exceptions
2018-07-15 00:46:11 +03:00
Carsten Pfeiffer
1030a118a4
Merge pull request #1148 from Lightwars/zetime
...
Add MyKronoz Zetime support
2018-07-14 22:23:07 +02:00
Vadim Kaushan
fe9ec9b88a
ID115: screen orientation preference
2018-07-14 13:23:21 +03:00
Vadim Kaushan
02b3f23329
ID115: set steps goal
2018-07-13 15:00:16 +03:00
Sebastian Kranz
18202bffbd
Fix timestamps of activities, cause the watch reports them with 6 hours offset.
2018-07-13 13:24:47 +02:00
Vadim Kaushan
d66e9e6a8b
ID115: change device icon
2018-07-13 14:22:17 +03:00