Gordon Williams
d978d3ff94
first compile with Bangle.js - very basic
2019-11-28 18:02:47 +00:00
Daniel Dakhno
02ee886934
Merge branch 'fossil-q-hybrid' of github.com:dakhnod/Gadgetbridge into q-hybrid-hr
2019-11-26 02:12:11 +01:00
Daniel Dakhno
e6ac9d91a5
added some fun and useless requests
2019-11-26 02:10:03 +01:00
Andreas Shimokawa
7a6e98c401
add migration for per-device button actions
2019-11-24 18:40:44 +01:00
dakhnod
2bba2c449f
fixed some syncing issues (hopefully)
2019-11-24 00:44:14 +01:00
Andreas Shimokawa
68a9bcc167
Mi Band 4: Whitelist FW 1.0.7.14
2019-11-23 22:50:34 +01:00
FYG_license_bot_ignore_me
8e5c4b4602
Update license headers
2019-11-23 21:53:22 +01:00
dakhnod
e1aa88d22a
added some logging
2019-11-21 23:22:55 +01:00
dakhnod
d344bfa6da
Merge branch 'fossil-q-hybrid' of github.com:dakhnod/Gadgetbridge into q-hybrid-hr
2019-11-21 22:37:52 +01:00
dakhnod
e0905703af
moved getModelName to superclass
2019-11-21 22:17:42 +01:00
dakhnod
afc177078a
modified logging
2019-11-21 22:12:10 +01:00
dakhnod
ecc8ae9175
added Hybrid HR base support
2019-11-21 21:00:35 +01:00
Daniel Dakhno
463e3d120d
added long to GenericConfigurationItem
2019-11-21 14:37:19 +01:00
Andreas Shimokawa
e5f5a671bd
Amazfit Bip: Make vibration after button action work
2019-11-21 13:24:06 +01:00
Mamut
dfe62fa28f
Merge pull request #3 from Freeyourgadget/master
...
Sync with Freeyourgadget
2019-11-20 20:39:31 +02:00
mamutcho
e03fd4357e
Add initial Watch X non-plus support
2019-11-20 20:38:02 +02:00
Daniel Dakhno
a56d180531
added second timezone button function
2019-11-20 18:59:13 +01:00
Andreas Shimokawa
c2db30274f
Make reconnect logic more device agnostic and remove pebble reconnect logic
2019-11-20 10:53:25 +01:00
Daniel Dakhno
a7c10bed42
added alarm settings
2019-11-20 00:56:09 +01:00
Daniel Dakhno
c037888623
added half-way-alarms and multi button
2019-11-19 23:42:06 +01:00
mamutcho
0cffd0f54c
Bump Gadgetbridge version to 0.39
...
Redesign Settings page
Ready to pull request
2019-11-19 20:53:19 +02:00
mamutcho
e3f838afa0
Bump version ot 0.39
...
Redesign Settings page
2019-11-19 20:51:37 +02:00
Andreas Shimokawa
c7053747cd
Add active reconnection
...
Closes #1724
Closes #1632
Closes #1452
Closes #1271
Closes #564
(Probably more)
2019-11-19 14:40:20 +01:00
Mamut
aefe7017f0
Merge pull request #1 from Freeyourgadget/master
...
Version to 0.39.0
2019-11-19 12:26:33 +02:00
Andreas Shimokawa
18d78bf05d
Amazfit Bip: Correct BipOS version
2019-11-18 21:53:03 +01:00
mamutcho
71ff71cb2c
Some fixes
2019-11-18 19:10:56 +02:00
Daniel Dakhno
30e098db93
added "show last notification" button function
2019-11-17 20:54:49 +01:00
mamutcho
4ff17153b6
Add weather icon
2019-11-17 17:02:51 +02:00
Daniel Dakhno
03e8925d9e
fixed unknown button setting exception
2019-11-17 15:56:44 +01:00
mamutcho
be47541a5e
Add new features
...
- Inactivity reminder
- Missed call reminder
- Watch language
2019-11-17 14:33:26 +02:00
Daniel Dakhno
ca18e1fe34
added button index hint
2019-11-17 05:03:23 +01:00
Daniel Dakhno
e04cd474dc
user can now assign a few more functions to buttons
2019-11-17 04:55:12 +01:00
Daniel Dakhno
7f5c432b82
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-11-17 01:13:00 +01:00
Daniel Dakhno
2cbc47defa
made buttons work with fossils api
2019-11-17 01:10:02 +01:00
Andreas Shimokawa
d60ceffb81
Amazfit Bip: Whitelist BipOS 0.5 firmware/res (non-latin)
2019-11-16 21:47:14 +01:00
Daniel Dakhno
1bdaa55937
code cleanup and crc handling
2019-11-16 03:02:29 +01:00
Daniel Dakhno
56d5b95181
adjusted some MTU specific file handling
2019-11-16 02:14:45 +01:00
Daniel Dakhno
5cab9fa9da
fixed notification count sync
2019-11-15 01:17:22 +01:00
Andreas Shimokawa
25bb16b0c3
Make button action setting per-device, enable for amazfip bip
...
TODO:
- preference migration
- support vibration on bip
2019-11-14 12:33:36 +01:00
Daniel Dakhno
63b4ffe555
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-fossil-api
2019-11-14 04:58:32 +01:00
Daniel Dakhno
34c9652962
fixed duplicate vibration settings
2019-11-14 04:57:27 +01:00
Daniel Dakhno
161236f3a2
fixed file upload bug
2019-11-14 04:56:34 +01:00
Daniel Dakhno
64b407da92
added mtu transactions
2019-11-14 04:53:19 +01:00
mamutcho
24439008ab
Add watch power mode and DND
2019-11-10 23:15:13 +02:00
mamutcho
3a2b718f09
Blood Pressure calibration
2019-11-09 22:16:10 +02:00
mamutcho
bf3889e519
work progress
2019-11-08 19:24:50 +02:00
mamutcho
33f18036d3
FIXES:
...
- Cleaned code for repeat watch vibration during phone ring.
- On my samsung phone and Bulgarian language, when call is ended, on watch shows notification with name "Phone" and vibrates until disconnect from app. Finally managed to fix it.
ADD:
- Add setting for ignore/reject phone call with device button.
- Add setting for ignore/reject phone call with shake device. (duplicates button action) P.S. to apply needs to reconnect device.
- Add setting for sending Missed call if call is missed.
- Add setting for continious vibration while phone ringing.
NEED MORE TESTING:
- When phone alarm trigger - send notification on watch. Works on samsung phone. Don't have other phones for testing.
P.S. To apply altitude calibration, need to disconnect and reconnect watch
2019-11-06 23:56:24 +02:00
mamutcho
81997e7725
FIXES:
...
- Fixed setting for repeat watch vibration during phone ring. (code need to be cleared and optimised)
- On my samsung phone, when call is ended, on watch shows notification with name "Phone" and vibrates until disconnect from app. I tryed to fix it, but don't know is it successful.
ADD:
- Add command for cancel notification, e.g. when answer phone call.
- Add blood pressure calibration status.
NEED MORE TESTING:
- On watch preserve small phone icon near bluetooth icon only when call is missed, in other cases clear it.
- When phone alarm triger - send notification on watch
P.S. To apply altitude calibration, need to disconnect and reconnect watch
2019-11-06 00:14:29 +02:00
vanous
53ce25a30c
Add Set Activity Fetch Time to debug to set lastSyncTimeMillis
2019-11-04 21:59:29 +01:00
vanous
c1d024876d
Add forward/backward buttons to charts
2019-11-04 20:42:59 +01:00
dakhnod
016ae8be13
still don't know what is goind on with uploading files...
2019-11-04 02:47:38 +01:00
mamutcho
54f4bbeeef
Add Device settings - altitude
...
Add repeat notification on phone call - need to refine
Add command for cancel text notification
2019-11-04 00:41:48 +02:00
Daniel Dakhno
1318b58ad2
changed request handling
2019-11-03 20:46:51 +01:00
mamutcho
fb08af6d04
Add Device settings (screen on, time format, disconnect reminder, find my phone).
...
Changed device icon.
2019-11-02 22:24:00 +02:00
Andreas Shimokawa
2b0656c9c0
Amazfit GTS: Enable flashing firmware (untested)
2019-10-31 15:30:05 +01:00
Andreas Shimokawa
a3cd99a4a3
Huami: move notification code from AmazfitBipSupport to HuamiSupport
...
probably fix notifications on GTS
2019-10-31 14:28:24 +01:00
Daniel Dakhno
fc9016e98e
refactored requests
2019-10-31 02:46:33 +01:00
Daniel Dakhno
e955330268
added exception notifications
2019-10-31 01:58:06 +01:00
Daniel Dakhno
00b66d45e7
fixed file upload issue (i hope at least)
2019-10-31 01:57:55 +01:00
Daniel Dakhno
66c677bcf9
added request
2019-10-31 01:57:23 +01:00
Daniel Dakhno
22aa823d35
improved bonding process and fixed some lint errors
2019-10-30 17:37:58 +01:00
Daniel Dakhno
d690dff5ca
fixed nah nah.
2019-10-30 16:43:29 +01:00
Daniel Dakhno
c09683de3d
implemented nah.
2019-10-30 16:42:44 +01:00
Daniel Dakhno
77fdce3cf2
adjusted FileUploadRequest
2019-10-30 16:28:59 +01:00
Daniel Dakhno
25a67b2ebb
updated some requests, still dunno why some files time out...
2019-10-30 02:50:00 +01:00
Manuel Ruß
0159657bd5
- AmazfitGTS Run basic functionalities (read data, ...)
2019-10-29 22:44:03 +01:00
mkusnierz
8f9466ee1c
Initial support for sleep data retrieval
2019-10-29 22:34:31 +01:00
mkusnierz
4069021924
Retrieve historical HR data from Watch X Plus and save to DB (WIP).
2019-10-28 22:55:34 +01:00
Andreas Shimokawa
42312bba60
Amazfit GTR: remove menu item settings, since we do not know how to do this yet
2019-10-28 15:41:55 +01:00
Daniel Dakhno
06d7568249
added some requests and logic
2019-10-28 12:35:22 +01:00
dakhnod
37d7df2d31
added some requests
2019-10-27 23:24:02 +01:00
dakhnod
7d5810fdf0
added some new api code
2019-10-27 23:21:21 +01:00
mkusnierz
7f085681c3
Added blood pressure measurement request and response handling.
...
Added heart rate history fetching (watch doesn't return data yet).
Steps data is saved to DB.
2019-10-27 18:04:38 +01:00
Andreas Shimokawa
3b42bdd42a
Amazfit Bip: Whitelist FW 1.1.6.34 (non-latin)and 1.1.6.32 (latin)
2019-10-26 23:56:04 +02:00
vanous
71b393932f
Add switch to set old/new style of sleep detection range
2019-10-26 10:39:15 +02:00
Daniel Dakhno
0fe97c687d
created api specific abstraction layer
2019-10-25 19:13:55 +02:00
Daniel Dakhno
7710b9ea2a
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-abstraction
2019-10-25 14:35:05 +02:00
vanous
31ce36e335
Add alternative color to heartrate in charts
2019-10-24 22:59:52 +02:00
Andreas Shimokawa
4110f0764a
Amazfit GTR: enable firmware flashing for those who dare (untested)
2019-10-24 22:35:57 +02:00
mkusnierz
4728d5b4d0
Perform Watch X Plus authorization request on each connect
2019-10-24 22:23:45 +02:00
Andreas Shimokawa
c2c240d7be
Amazfit GTR: Enforce auth key input when pairing, try to fix notifications
2019-10-24 21:51:10 +02:00
Andreas Shimokawa
cbd47a81cc
Amazfit GTR: initial support for testing
2019-10-24 21:41:11 +02:00
Daniel Dakhno
187600b076
added abstraction layer
2019-10-24 19:44:35 +02:00
mkusnierz
18d1a7ddc7
Use builder.queue() instead of performImmediately()
2019-10-23 23:32:40 +02:00
mkusnierz
45054bbcd9
Extracted some commons for Lenovo watches
2019-10-23 22:07:38 +02:00
HardLight
d627577e6f
Mi Band 4: Enable Emoji Font setting
2019-10-23 20:14:02 +03:00
vanous
21525adaae
Add uncommited second occurance of the same
2019-10-21 21:12:07 +02:00
vanous
7ed2c26b2f
Catch crash during ChangeLog displaying
2019-10-21 21:08:09 +02:00
dakhnod
90f685c1a7
improved activity hand handling
2019-10-21 15:15:59 +02:00
dakhnod
a2060470f8
changed parameter from byte to enum
2019-10-21 15:14:32 +02:00
dakhnod
b7277f02a6
fix notification lookup crash
2019-10-20 13:11:00 +02:00
mkusnierz
4601d827ae
Display calibration button for Watch X Plus
...
Use calibration activity from Watch9 for now
Partial heart rate history handling (WIP)
2019-10-20 10:34:29 +02:00
dakhnod
aeba34cc81
using getActiveNotifications when possible
2019-10-20 03:01:45 +02:00
dakhnod
2ebafa9eda
added ability to control activity hand via tasker/intent
2019-10-20 02:30:29 +02:00
dakhnod
30488989b1
fixed missing function
2019-10-20 01:44:35 +02:00
dakhnod
2a96f762af
added option to track notification count with activity hand
2019-10-20 01:42:31 +02:00
dakhnod
b6c744c8c6
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-19 23:55:55 +02:00
mkusnierz
34d9bccb86
Retrieve steps count
...
Tried to set weather, but without success
Handle ACK response
Enabled alarms
2019-10-18 23:36:56 +02:00
mkusnierz
290a90ec0e
Handle notifications with long body
2019-10-18 09:42:31 +02:00
mkusnierz
cf61ab9d38
Fixed battery level parsing from response
...
Added basic notification support
2019-10-18 00:02:53 +02:00
vanous
5c0c5ed952
Check for non empty list of sleep sessions
2019-10-17 14:35:45 +02:00
vanous
b5e3374a9e
Limit sleep charts range
2019-10-17 14:35:45 +02:00
Cre3per
395f63d3c1
makibes hr3 now pairs/bonds.
...
that way gb can reconnect after the band was disconnected.
2019-10-17 14:33:05 +02:00
Cre3per
45184c4bbc
makibes hr3 should now support the english version
2019-10-17 14:33:05 +02:00
Daniel Dakhno
58e81f04c6
added readable model names
2019-10-16 14:58:11 +02:00
Daniel Dakhno
0d60d308aa
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-16 14:57:22 +02:00
Andreas Shimokawa
5caa8e9097
Amazfip Bip Lite: Support firmware installation
...
Closes #1681
Closes #1682
2019-10-15 20:34:09 +02:00
Maciej Kuśnierz
2acb65b745
Merge https://github.com/Freeyourgadget/Gadgetbridge
...
# Conflicts:
# README.md
2019-10-13 00:18:00 +02:00
Andreas Shimokawa
074994d24b
Merge branch 'master' into fossil-q-hybrid
2019-10-12 20:47:19 +02:00
Andreas Shimokawa
7b5e333601
Skip service scan if supported device could be recognized without uuids during discovery
2019-10-12 20:15:09 +02:00
Andreas Shimokawa
4bf37ea70f
Mi Band 4/Amazfit Bip Lite: Display a toast and do not try to pair if there was no auth key supplied
2019-10-12 19:44:45 +02:00
Andreas Shimokawa
8fefd1b49e
* Mi Band 4/Amazfit Bip Lite: Trim white spaces and new lines from auth key
2019-10-12 19:04:12 +02:00
Andreas Shimokawa
80c902e568
Amazfit Cor 2: Enable Emoji Font setting and 3rd party HR access
2019-10-12 13:04:33 +02:00
Cre3per
c4f4f5081d
added vibrator to FindPhoneActivity.
...
added device settings for find phone.
makibes hr3 now uses GBDeviceEventFindPhone.
2019-10-12 12:44:38 +02:00
Cre3per
4437220c54
makibes hr3.
...
added quite hours.
2019-10-12 12:44:38 +02:00
Cre3per
5570ac8349
makibes hr3.
...
added fakeBattery.
fixed string comparison using operator.
2019-10-12 12:44:38 +02:00
Cre3per
1262970494
makibes hr3.
...
added lost reminder support.
2019-10-12 12:44:38 +02:00
Cre3per
4c98d8537f
makibes hr3.
...
added hud to device settings.
2019-10-12 12:44:38 +02:00
Cre3per
ec88a7d8e5
makibes hr3.
...
fixed step counting (needs multi-day testing).
fixed signed byte to int conversion.
2019-10-12 12:44:38 +02:00
Cre3per
fdffe813f2
makibes hr3.
...
download progress notification (needs to be tested).
2019-10-12 12:44:38 +02:00
Cre3per
cd3558cd50
makibes hr3.
...
fixed long notifications a a nullptrexception.
added vibration timeout.
added step history download.
2019-10-12 12:44:38 +02:00
Cre3per
da1a72c6c6
makibes hr3.
...
implemented deleteDevice.
implemented heart rate history download.
cleaned up sample handling.
2019-10-12 12:44:38 +02:00
Cre3per
c0a6566410
makibes hr3.
...
corrected alarm slot count.
2019-10-12 12:44:38 +02:00
Cre3per
40696cb3e6
makibes hr3.
...
added multi-byte command support.
now uploading personal data to the watch.
2019-10-12 12:44:38 +02:00
Cre3per
5e581f781a
added todos
2019-10-12 12:44:38 +02:00
Cre3per
fe667ffdd8
added makibes hr3 todo and heart rate constants
2019-10-12 12:44:38 +02:00
Cre3per
0a7639877b
fixed alarm repetition
2019-10-12 12:44:38 +02:00
Cre3per
81aa66c2d4
removed todo.
...
fixed typo.
2019-10-12 12:44:38 +02:00
Cre3per
8b7d853097
merged.
...
added makibes hr3 OnSharedPreferenceChangeListener.
added makibes hr3 reverse find device (find phone).
added makibes hr3 heart rate/steps/firmware version.
2019-10-12 12:44:38 +02:00
dakhnod
a2a0bc08dd
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-11 22:35:50 +02:00
Daniel Dakhno
b7a660ae58
allows to set custom notification icons per device
2019-10-11 20:15:38 +02:00
Daniel Dakhno
28ff99f534
adjusted to use custom icon
2019-10-11 03:49:59 +02:00
Daniel Dakhno
01728ecf11
allows to set custom notification icons per device
2019-10-11 03:49:08 +02:00
Andreas Shimokawa
5c3c81fe6f
do not recogize bip lite as bip
2019-10-10 21:21:19 +02:00
Daniel Dakhno
ca9761c336
adjusted DiscoveryActivity to use new scan
2019-10-10 02:09:23 +02:00
Daniel Dakhno
009888b688
fixed coordinator to filter device specific service
2019-10-10 02:06:37 +02:00
Daniel Dakhno
52ca3d3625
fixed coordinator to filter device specific service
2019-10-10 01:24:17 +02:00
Andreas Shimokawa
8d27ad1996
another try at bip lite support
2019-10-09 21:33:55 +02:00
Andreas Shimokawa
b5e9727dcd
Make some more settings per-device settings
...
- All ID115 settings migrated, allowing removal from settings activity
- All timeformat settings for all devices migrated
- All wrist location settings for all devices migrated (now you can have a mi band 3 on the left wrist and a bip on the right wrist :P)
Also deduplicated some strings from zetime/generic preferences
2019-10-05 22:35:30 +02:00
dakhnod
ea1653d616
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-05 19:09:07 +02:00
dakhnod
59e318dee1
notification does not requre hands any more
2019-10-05 18:59:52 +02:00
MyTimeKill
a0e3e060cc
Amazfit Bip: Whitelist fw 1.1.6.30 latin, res and latin ft
2019-10-03 22:18:01 +09:00
Andreas Shimokawa
21a287f6b1
Makibes HR3: Make settings per-device
...
Also so some minor cleanups on Makibes HR3 code
2019-10-02 23:45:19 +02:00
Cre3per
7409281c5a
very basic makibes hr3 support
2019-10-02 23:06:33 +02:00
MyTimeKill
8df99bf5bd
Amazfit bip: Support flashing latest latin font
2019-10-02 18:00:34 +09:00
dakhnod
73a698d5db
formatting
2019-10-01 21:57:01 +02:00
dakhnod
8be08d8c2c
added battery characteristic notification
2019-10-01 21:53:41 +02:00
Daniel Dakhno
71f9675768
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-01 17:09:52 +02:00
Daniel Dakhno
ebab69a063
added firmware check on connect
2019-10-01 16:05:47 +02:00
Marc Nause
a4c7cdb2a5
Show toast in case no app is installed which can handle GPX files
2019-09-29 18:48:13 +02:00
dakhnod
b20963348d
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-09-25 00:22:57 +02:00
dakhnod
5ce5b5d8a4
replaced BatteryLevelRequest with native characteristic
2019-09-25 00:21:16 +02:00
dakhnod
f912ae28a2
adjusted settings activity
2019-09-25 00:19:59 +02:00
Q-er
371ac276a5
Allow multiple sleep sessions per day
2019-09-22 21:34:03 +02:00
Andreas Shimokawa
744848fae7
register a fake PhoneStateListener on startup once, so that Lineage OS privacy guard asks for permissions
...
Closes #1649
2019-09-21 10:07:58 +02:00
Andreas Shimokawa
814f322e2a
Amazfit Bip: Recogize Amazfit Bip Lite as Amazfit Bip
2019-09-20 21:51:04 +02:00
cpfeiffer
17f24c06f8
Fix some LGTM issues
2019-09-19 23:18:17 +02:00
Andreas Shimokawa
e491a8c21d
no not refresh whole activity when deciding whether fab should be shown or not
2019-09-17 14:02:35 +02:00
Andreas Shimokawa
4641e51715
Fix possible KitKat crash in NotificationListener
...
Also fix some more warnings
2019-09-17 13:37:03 +02:00
vanous
29375be3e2
Refresh ControlCenterv2 on menu exit
2019-09-17 13:25:57 +02:00
Andreas Shimokawa
8374a2b8f8
Widget: also try to signal sleep/steps updates for pebble
2019-09-16 23:18:12 +02:00
Andreas Shimokawa
fcc9ad8f95
Widget: Also update for Pebble Misfit and Morpheuz
...
This commit also removes GBDeviceEventSleepMonitorResult since it was unused and highly Morpheuz specific
2019-09-16 22:48:21 +02:00
Andreas Shimokawa
a63cd90876
Widget: signal new data for No1F1 and ZeTime also
...
Pebble is still missing - since data is pushed and not fetched...
Will think about it.
2019-09-16 22:31:36 +02:00
Andreas Shimokawa
89c7066d32
Widget: Only signal new data only when syncing activity data (not on fetching logs etc), do the same for Mi Band 1
2019-09-16 22:25:58 +02:00
vanous
43bfa791ad
Adds plurals to a string of the Widget.
2019-09-16 20:45:21 +02:00
vanous
c58b980208
Connect device button settings and logic
2019-09-14 00:42:09 +02:00
vanous
b3d1068870
Change color, refresh charts
2019-09-14 00:24:40 +02:00
vanous
132e92041e
Split preferences, add chart settings activity, add button
2019-09-14 00:24:40 +02:00
Sebastian Kranz
194f5b04ae
Enable the unicode emoji support, even if the zetime has only some of the most used emojis on board.
2019-09-14 00:20:07 +02:00
Sebastian Kranz
0a6d0bd178
Add method to set the language of the watch. Note: Android Studio seems to have done automatic code formatting here.
2019-09-14 00:20:07 +02:00
Andreas Shimokawa
876515f1fd
Amazfit Cor: support custom emoji font
...
This commit refactors code and implements a custom device specific string
filter, which does nothing by default.
The implementation in HuamiSupport does the custom emoji conversion.
The setting has been moved from devicesettings_amazfitbip.xml to an extra file
As soon as there is a custom font for Mi Band 2/3/4 it is sufficient to add
"devicesettings_custom_emoji_font.xml" to the list of supported settings
in the appropriate coordinator and everything will work.
2019-09-14 00:05:39 +02:00
vanous
cf28ee48f4
add .apply()
2019-09-07 22:41:35 +02:00
vanous
975b698564
remove preference keys when deleting device
2019-09-07 22:41:35 +02:00
vanous
3d6ddb8d5e
make look nicer - font, uri string, buttons positions
2019-09-07 11:07:40 +02:00
vanous
503fe854eb
Add test button, @stringify strings, add headers
2019-09-02 23:06:39 +02:00
Andreas Shimokawa
4780c26dd8
Widget: change float to int where appropriate, remove code that did nothing from getTotalsStepsForActivityAmounts()
2019-09-01 22:48:52 +02:00
Andreas Shimokawa
3389fcdfdd
Widget: Fix null pointer exception when a device which has no activity database is used in Gadgetbridge
...
For example a vibratissimo :D
2019-09-01 22:35:02 +02:00
Andreas Shimokawa
8eb494ab85
Widget: some cleanups
...
- use LocalBroadcastManager when broadcasting new data event
- use constants for actions everywhere and move them
2019-09-01 22:09:09 +02:00
vanous
957d441859
Add Status and Alarms widget
...
Squashed commits from #1604
2019-09-01 21:35:53 +02:00
Nephiel
b40c3ade85
Amazfit Bip: Add emoji support when using custom font firmware
2019-08-31 22:32:18 +02:00
Andreas Shimokawa
ce9eab8def
Mi Band 4: really fix sending weather location
...
Really fixes #1609
2019-08-31 22:14:50 +02:00
Andreas Shimokawa
8f4489a21c
Mi Band 4: Fix call notifcation not stopping when call gets answered or rejected on the phone
...
This changes the way to how to stop call notification for all Huami device back to Mi Band 2
Also clean up unused code
Fixes #1612
2019-08-29 08:32:29 +02:00
Andreas Shimokawa
b38b83377c
Mi Band 2: enable third party hr sensor access setting
...
This works but since the Mi Band 2 has no "status" menu or activities, live activity has
to be started (charts swipe to right), but that spams the database...
2019-08-28 10:11:15 +02:00
Andreas Shimokawa
243eec042d
Mi Band 3/4, Amazfit Bip/Cor: Add setting to expose the HR sensor to 3rd party apps
...
Closes #1606
2019-08-27 11:13:45 +02:00
Andreas Shimokawa
da2e073dc2
Mi Band 4: Whitelist latest stable and beta firmware
2019-08-25 20:23:53 +02:00
Andreas Shimokawa
d07ca6faa6
Mi Band 4: Fix location not being updated on the Band
...
Also move generic code from AmazfitBipSupport to HuamiSupport where is belongs
Fixes #1609
2019-08-25 09:56:06 +02:00
Andreas Shimokawa
984db60c5f
Fix formatted values for charts
2019-08-24 12:55:33 +02:00
Andreas Shimokawa
a69a139602
Migrate to upstream MPAndroidChart v3.1.0
2019-08-24 12:41:26 +02:00
vanous
2d233141b4
adds custom renderer for better view of many columns
2019-08-24 11:58:32 +02:00
Andreas Shimokawa
8bed673a95
Annotate LineageOsWeatherReceiver as Android >=M, and only try to use it with Oreo or later
2019-08-22 21:31:08 +02:00
keeshii
a70aa5e749
Added LineageOs Weather receiver.
2019-08-22 21:28:13 +02:00
Andreas Shimokawa
5f998d8a95
add stripped down version of weather part of lineage sdk
...
Makes it possible to use the lineage weather provider without binary jar
(This is based on 63a590625c6c76f82e5ef43408a52238b2b34e43 of https://github.com/LineageOS/android_lineage-sdk )
2019-08-22 21:19:03 +02:00
Andreas Shimokawa
aec3d21216
Mi Band 4: remove unsupported DND setting from settings menu
2019-08-22 10:20:45 +02:00
Andreas Shimokawa
c1145e1244
Mi Band 4: Support flashing the V2 font that came with beta FW 1.0.6.00
...
Only tested with 1.0.6.00
It now contains new characters like äöüß and others.
2019-08-21 23:24:51 +02:00
ksiwczynski
0f6ef140e2
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge
2019-08-17 02:07:55 +02:00
Andreas Shimokawa
d7c6fad235
Mi Band 4: decode swim info (not used yet)
...
After swimming a lot on the sofa and desk this seems right and in line with the data displayed on the band
swimming styles I got so far are breast and freestyle. Others are probably missing.
Might be correct for Cor also (I don't have one)
2019-08-15 11:14:41 +02:00
Andreas Shimokawa
13b078aadd
fix verison typo (before I get a PR again :P)
2019-08-14 19:40:10 +02:00
Andreas Shimokawa
c17c3ed341
Improve parsing and debug output for activity summaries from Mi Band/Amazfit
2019-08-14 19:24:09 +02:00
Andreas Shimokawa
26165f9117
Amazfit Bip/Cor: Fix resetting of last fetched date for sports activities
...
For Mi Band 3/4 this does nothing, since the Mi Band seems to remove the activities from the Band immediately after fetching
2019-08-14 19:24:03 +02:00
Andreas Shimokawa
320f792d19
Add icons for "swimming" and "exercise"
...
Also set tint color to gray (for dark theme) and remove duplicate sleep icon
2019-08-14 07:55:10 +02:00
Andreas Shimokawa
b5ea3ca591
Hexdump sports activity packets for better analysis
...
type 2 seems to be pause, 3 resume.
type 8 and seems to be related to swimming activites
2019-08-13 23:02:10 +02:00
Andreas Shimokawa
f99bc0de64
Move another file from AmazfitBip to Huami which is no longer Bip specific
2019-08-13 22:20:18 +02:00
Andreas Shimokawa
ff7886765f
Add Swimming to sport activity types, rename some AmazfitBip stuff to Huami (these were things introduced with the bip but working with other devices now also)
2019-08-13 22:04:52 +02:00
vanous
a263059317
Modify charts range based on settings. More/Less labels density.
2019-08-13 14:30:54 +02:00
vanous
80bd31d894
Modify Charts Fragment's Titles
2019-08-13 14:30:54 +02:00
vanous
28fde846ea
Modify getTitle(). Probably not visible, but done for completness.
2019-08-13 14:30:54 +02:00
vanous
3017742cba
Added type to intent when sharing
2019-08-12 14:16:20 +02:00
vanous
5fe4ea7246
Clean commented code
2019-08-12 14:13:20 +02:00
vanous
7809655ef4
Add Average Settings. Addformat method to get average.
2019-08-12 14:13:20 +02:00
vanous
f11628b42b
Add Averages to Charts
2019-08-12 14:13:20 +02:00
Konrad Iturbe
da59991aa5
Use Rebble Store URI
2019-08-12 14:07:37 +02:00
Andreas Shimokawa
0fd4d523a0
Amazfit Bip: Whitelist new firmware versions I tested
2019-08-07 17:24:01 +02:00
Andreas Shimokawa
57a235742d
Properly disable new ble scanning for testing
...
(inverted logic committed accidentially)
2019-08-03 23:40:07 +02:00
Andreas Shimokawa
461842a945
fix copyright header for newly added file
2019-08-02 23:52:25 +02:00
Andreas Shimokawa
02d02d2329
Add Initial Mijia LYWSD02 support (Smart Clock with Humidity and Temperature Sensor)
...
This only sets the time on connect.
2019-08-02 23:49:14 +02:00
Andreas Shimokawa
aefd7520f3
Mi Band 3/4, Amazfit Cor/Bip: set language immediately when changing it (not only on connect)
...
Helps testing
2019-08-02 00:11:11 +02:00
Andreas Shimokawa
97540d734f
Mi Band 3/4: Allow enabling the "NFC" menu where supported
...
Pretty useless, because we do not support NFC - but nice for testing
2019-08-01 23:07:28 +02:00
dakhnod
8db0812ed0
fixed settings bug
2019-08-01 22:39:34 +02:00
dakhnod
961eb1c4ce
adjusted battery threshold
2019-08-01 01:02:48 +02:00
dakhnod
b089ad7531
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-07-29 00:56:32 +02:00
Andreas Shimokawa
124d03d171
Mi Band 4: Enable music info support (displays now on the band)
2019-07-28 14:34:04 +02:00
Andreas Shimokawa
261ddee707
Mi Band 4: Support setting date format (for built-in watchfaces)
2019-07-26 21:05:16 +02:00
Andreas Shimokawa
8d567c1e6d
fix build
2019-07-26 19:37:00 +02:00
dakhnod
32a2402048
removed Toast.makeText
2019-07-26 18:11:29 +02:00
dakhnod
f4d484f698
removed getDelegate()
2019-07-26 18:00:31 +02:00
dakhnod
1e936e4a85
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-07-26 17:57:12 +02:00
dakhnod
50483dd271
added UI elements and Activity data fetch
2019-07-26 16:43:38 +02:00
dakhnod
0b572505b3
removed DeviceSupportService hack
2019-07-26 16:42:53 +02:00
Andreas Shimokawa
8449e55f9e
Amazfit Cor: Fix empty menu on Amazfit Cor 2
...
Fixes #1563
2019-07-26 08:57:41 +02:00
Andreas Shimokawa
17599a797a
remove unused imports
2019-07-25 22:33:41 +02:00
Andreas Shimokawa
31db568832
Mi Band 4: Fix RES and FW update
2019-07-25 22:18:48 +02:00
Andreas Shimokawa
b6e78c1b9c
Mi Band 4: Support flashing watchfaces
...
FLASHING FIRMWARE/RES/FONT IS STILL UNTESTED
2019-07-25 20:51:28 +02:00
dakhnod
e1d2ba32da
fixed settings
2019-07-25 12:00:50 +02:00
dakhnod
1af8daba7a
added SetTime request
2019-07-25 11:47:08 +02:00
dakhnod
4772ec714c
addad DEVICE_CHANGED Intent
2019-07-25 11:38:56 +02:00
dakhnod
ca26d856ba
code cleanup
2019-07-25 11:34:37 +02:00
dakhnod
886113dad8
tweaked init process
2019-07-25 11:30:33 +02:00
dakhnod
ef692498af
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-07-25 11:12:50 +02:00
dakhnod
d802aa4ab1
added hardware version dependant function limiting
2019-07-25 11:12:24 +02:00
dakhnod
2ca1d69a17
reformatting
2019-07-25 10:56:03 +02:00
dakhnod
3f79592588
reworked init process
2019-07-25 10:52:27 +02:00
dakhnod
aaa9e7bef2
Formatted device information
2019-07-25 10:51:46 +02:00
dakhnod
8f996e04cd
Added device information and reworked notifications
2019-07-25 10:30:18 +02:00
dakhnod
8775255d69
Added Request
2019-07-25 10:29:45 +02:00
Andreas Shimokawa
5ff5561772
Mi Band 4: Fix notification icons and cut-off text
2019-07-24 09:33:53 +02:00
Andreas Shimokawa
044f6c11cd
Mi Band 4: WIP firmware update preparation
...
Nothing works yet
2019-07-23 23:49:21 +02:00
Andreas Shimokawa
9042966a40
Mi Band 4: Fix empty notifications
...
Icon still missing
2019-07-23 22:42:30 +02:00
dakhnod
57e28c2dd0
added SetCountdownSettings Request (with buff)
2019-07-23 22:26:51 +02:00
dakhnod
9d251d99d2
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-07-23 20:30:18 +02:00
dakhnod
8bda4790a9
added GetCountdownSettings Request
2019-07-23 20:30:00 +02:00
Andreas Shimokawa
a60268c05c
Mi Band 4: Bring your own key support (blindly done, I dont have my key)
...
THIS STILL REQUIRES MI FIT AND YOUR EXTRACTED KEY
HOWTO:
1) press + button in Gadgerbridge
2) LONG PRESS Mi Band 4
3) Tap "Auth Key"
4) Enter your key prefixed with 0x (eg. 0x112233445566778899aabbccddeeff00)
5) Go back
6) Tap Mi Band 4
Success? You tell me.
2019-07-23 08:56:26 +02:00
dakhnod
c0eb1420b2
adjusted initial sync
2019-07-21 17:21:42 +02:00
dakhnod
84952543e4
cosmetics
2019-07-21 17:10:55 +02:00
dakhnod
ed651ac976
fixed vibration setting
2019-07-21 17:09:14 +02:00
dakhnod
62feefb67e
reworked settings, nearly removed DeviceSupport Hack
2019-07-21 16:47:17 +02:00
dakhnod
7d015e3275
added different requests
2019-07-21 16:42:28 +02:00
dakhnod
e2a573e3e2
fixed button overwrite for commuter
2019-07-20 16:03:31 +02:00
dakhnod
c99a3c91b5
improved file upload error handling
2019-07-20 15:45:14 +02:00
dakhnod
f5c8ea39b1
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-07-18 11:24:15 +02:00
Andreas Shimokawa
8d50e8ef08
Mi Band 3: Allow setting date format in per-device settings
...
Closes #1544
2019-07-16 23:48:08 +02:00
Andreas Shimokawa
f7a4b3c06a
Mi Band 3: whitelist firmware 2.4.0.20
...
Closes #1557
2019-07-16 16:24:45 +02:00
Andreas Shimokawa
9163faf726
Merge remote-tracking branch 'github/pr/1555/zetime'
2019-07-16 00:41:04 +02:00
root
09f6cada87
Fossil Q hybrid and Skagen support added
...
Opening this branch for the second time inorder to purge certain files form the repo
2019-07-14 19:45:40 +02:00
Sebastian Kranz
1cd9a09ce5
BUGFIX: Really fix the timestamps now for everyone, everywhere. calculate the correct UTC of different timezones and daylight savings.
2019-07-12 08:08:52 +02:00
Andreas Shimokawa
27175cb336
Mi Band 4: Fix DeviceType emum
...
Reported by @goldfndr in #1536
2019-06-23 22:42:12 +02:00
Andreas Shimokawa
ce0bd27111
remove useless condition
2019-06-22 21:10:19 +02:00
Andreas Shimokawa
9385c26fae
Add missing MIBAND4 to switch
2019-06-19 22:15:42 +02:00
Andreas Shimokawa
8fce521e99
Fix crash when entering Mi Band 1 per-device settings menu
...
Fixes #1541
2019-06-18 22:07:43 +02:00
Andreas Shimokawa
d48d3cdea3
Add untested Mi Band 4 support (basically runs on Mi Band 3 code)
...
This is COMPLETELY untested, we do not have the device.
2019-06-12 23:44:01 +02:00
Andreas Shimokawa
d779310962
Move "activate display on lift wrist" and "rotate wrist to switch info" to per-device settings
...
"activate display on lift wrist" for Mi Band 2/3, Cor, Bip
"rotate wrist" only for Mi Band 2
2019-06-05 16:00:18 +02:00
Andreas Shimokawa
16090f0e21
Move fake device offset to Mi Band 1 preferences, remove support for other devices
...
Reasons for removal:
- I doubt we honored the offset correctly for new features anyway that are available on newer devices
- Newer devices have a display always displaying the wrong time
2019-06-05 14:11:44 +02:00
Andreas Shimokawa
b6a015c18b
move low-latency setting for Mi Band to per-device settings (only for Mi Band 1)
2019-06-05 12:48:33 +02:00
Andreas Shimokawa
d2988f987f
Mi Band 3: Whitelist FW 2.4.0.12
...
Closes #1530
2019-06-05 12:29:25 +02:00
Andreas Shimokawa
3aa36324c1
depuplicate code in the same fashion as in ZeTime preferences
2019-06-05 12:16:10 +02:00
Andreas Shimokawa
78dd7ef153
Mi Band 3: Fix setting menu items with 2.4 firmware and add support for the new timer menu
2019-05-29 15:53:44 +02:00
Andreas Shimokawa
12e16ac04a
add ignoring calls support to Amazfit Bip (probably Cor also and maybe Mi Band 3)
2019-05-25 22:19:19 +02:00
Andreas Shimokawa
e066e0fae3
Merge remote-tracking branch 'github/pr/1523/ignore_call'
2019-05-25 22:12:58 +02:00
Andreas Böhler
dc22aabb1c
Add support for muting an incoming call
2019-05-25 15:56:21 +02:00
Andreas Shimokawa
93f288b936
Move "Do not disturb" settings from Mi Band / Amazfit settings to per-device settings (Mi Band 2 and Mi Band 3 only)
2019-05-24 23:47:57 +02:00
Andreas Shimokawa
5e254baaa1
ZeTime: Do not include all the normal preferences again
...
This behavious was confusing, you could endlessly access ZeTime preferences from ZeTime prefrences from ZeTime preferences
2019-05-24 22:15:39 +02:00
Andreas Shimokawa
d1ba702e75
add more settings migration for settings that are now per-device
2019-05-23 23:24:49 +02:00
Andreas Shimokawa
3440485a51
Mi Band 2: move settings to per-device settings
2019-05-23 21:33:35 +02:00
Andreas Shimokawa
34e0c4e8bc
remove swipe unlock settings from cor (can only be set from the band itself)
2019-05-22 19:04:38 +02:00
Marvin D
530d0ddd7f
added FairEmail as a generic Email notification
2019-05-22 14:19:14 +02:00
Andreas Shimokawa
038f101a12
Migrate more settings to per-device settings
...
Also add icons.
2019-05-22 10:49:59 +02:00
Andreas Shimokawa
9bfef4cf4f
Make per-device settings more versatile, move more settings
...
This allows to construct per-device settings by device type very easily
device coordinators just do the following to declare which setting they support,
the settings activity is then composed at runtime.
@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
return new int[]{
R.xml.devicesettings_miband3,
R.xml.devicesettings_swipeunlock,
R.xml.devicesettings_pairingkey
};
}
2019-05-22 00:42:22 +02:00
Andreas Shimokawa
49667451d7
Mi Band 3: fix setting language (regression after todays refactoring)
2019-05-20 23:27:17 +02:00
Andreas Shimokawa
81b102654a
Make travis green again
2019-05-20 21:53:53 +02:00
Andreas Shimokawa
08e7d728c2
Huami: Migrate some settings to device specific settings
...
- Migrate language setting
- Migrate menu items setting
- Migrate lastsync timestamp from prefixed global shared prefercence
All settings should be automatically be converted (e.g. Amazfit Bip settings to all paired Amazfit Bip devices) and then deleted.
Cor Settings aleady completely vanished from the global settings menu.
When migration is done we will have a much cleaner settings menu. Will also remove confusion that some Cor settings have to be done in Bip settings.
2019-05-20 16:36:06 +02:00
Andreas Shimokawa
6b72292812
Recoginze "Xiaomi Band 3" as Mi Band 3
...
When running newer Firmwares (since 2.2.0.12) it is possible that devics name themselves "Xiaomi Band 3".
After a factory reset? Related to target market?
Closes #1517
2019-05-18 21:03:50 +02:00
DerFetzer
dd067eddd7
Amazfit Bip: Add new latin languages
2019-05-14 20:58:07 +02:00
Andreas Shimokawa
6031586131
Mi Band 3 NFC: Whitelist FW 1.7.0.4
...
Closes #1470
2019-05-09 15:43:57 +02:00
Andreas Shimokawa
34b4943918
Also export and import device specific preference files
2019-05-09 14:55:37 +02:00
Andreas Shimokawa
5ecf3cadc8
Database Management Activity: Also remove "Delete Legacy Database" title when there is no legacy database.
...
The title caused me to press the button below and killing all my data from the last two years
2019-05-09 13:38:14 +02:00
Andreas Shimokawa
58dca9a897
Amazit Cor 2: Add device specific warning when installing firmware (untested)
...
Also remove some Mi Band'ism from strings
2019-05-09 12:54:14 +02:00
Andreas Shimokawa
41e607ce9b
Amazfit Cor 2: Give own device type id, support flashing the firmware **UNTESTED**
2019-05-09 12:42:59 +02:00
Andreas Shimokawa
19be1121c9
Merge remote-tracking branch 'github/pr/1492/previous_app_management'
2019-05-09 11:34:56 +02:00
Andreas Shimokawa
2dc228029a
Mi Band 3: Whitelist FW 2.3.0.28
2019-05-09 11:28:24 +02:00
Andreas Shimokawa
f7fe3a836f
Mi Band 3: Support flashing latest Japanese-Korean font file
...
This increases the supported file size to 2.0MB.
Somehow it is confusing that the new file is version 1 and the old version 2.
Also according to firmare.json both are version 1....
2019-05-07 11:13:48 +02:00
Andreas Shimokawa
0399bc048c
Mi Band 3: Whitelist Firmware 2.3.0.6
2019-05-07 10:43:26 +02:00
Andreas Shimokawa
6d28af1132
Mi Band 2: enable per-device pairing keys
...
Now enabled for all Huami devices
2019-05-02 22:40:28 +02:00
Andreas Shimokawa
bb161aff59
Amazfit Cor: Also recognize "Amazfit Band 2" as Cor
2019-05-02 22:26:20 +02:00
Andreas Shimokawa
f6095f56ae
Merge remote-tracking branch 'github/pr/1503/work_profile'
2019-05-02 21:59:51 +02:00
Andreas Shimokawa
77c76a7bd3
Mi Band 3: enable per-device pairing keys
2019-05-01 21:56:36 +02:00
Andreas Shimokawa
67ac8dd335
Merge remote-tracking branch 'github/pr/1502/device_casio_improve_no_ble_scan'
2019-05-01 21:26:22 +02:00
Andreas Shimokawa
86270c0592
Try to enable Amazfit Cor 2 support but just using Amazfit Cor code.
...
Related to #1500
2019-05-01 19:51:32 +02:00
Andreas Böhler
aa6b0b7d5f
Also check work profile for number lookup
2019-05-01 15:13:08 +02:00
Andreas Böhler
e82ac8dfd7
Make use of GattServer in BtLEQueue, improve initialization sequence, improve pairing sequence and fix a few bugs
2019-05-01 15:04:02 +02:00
Matej Drobnič
580d70e910
add pebblekit extension for reopening last app
2019-04-23 20:12:53 +02:00
Andreas Shimokawa
f01c9414f5
fix a few warnings
2019-04-21 22:08:14 +02:00
Andreas Shimokawa
db48707764
Add a device specific settings activity, currently used for setting the auth key for Amazfit Bip/Cor
...
When connecting to a new device, a random key gets generated, which can be
looked up from the device specific settings (accessible via the gear icon in
the device card in the main activity). Old devices keep their 0123456789@ABCDE
key, they have to be re-paired to change that.
During pairing, long-pressing the device candidate in the discovery activity
will also start the device specific settings activity, where the auth key
can be set manually priror to pairing. This is usefull to keep the ability to
pair one device with multiple android devices.
Fixes #1308
2019-04-21 21:25:33 +02:00
Daniele Gobbetti
2a8fe5c3a0
Fix searching in application name when blacklisting.
...
The filter pattern is forced to lowercase, so also che application names
should be.
Fixes #1482
2019-04-21 21:21:21 +02:00
License Bot
9aadb2f2fd
Update license headers
2019-04-21 18:53:10 +02:00
Daniele Gobbetti
7c918ee191
Add UI to invoke device specific settings Activity
...
Currently the icon in the card is hidden for all devices, since the
functionality is not implemented yet
2019-04-21 15:59:39 +02:00
Johannes Schmitt
f92626f4a5
moved BFH-16 in JYOU "group"
2019-04-20 22:00:50 +02:00
JoSch
7200538993
Update DeviceSupportFactory.java
...
changed indent of MISCALE2
2019-04-20 22:00:50 +02:00
Sophanimus
7acc3580dd
added comment
2019-04-20 22:00:50 +02:00
Sophanimus
e86bc80016
improvements
2019-04-20 22:00:50 +02:00
Sophanimus
c7a6dc4b01
improvements
2019-04-20 22:00:50 +02:00
Sophanimus
070a132780
updated Copyright notes
2019-04-20 22:00:50 +02:00
Sophanimus
1e127c4de0
removed unnecessary space
2019-04-20 22:00:50 +02:00
Sophanimus
deb4d3a0ee
reordered functions in BFH16DeviceCoordinator
2019-04-20 22:00:50 +02:00
Sophanimus
0b1f3ee1d7
added Copyright notes
2019-04-20 22:00:50 +02:00
Sophanimus
1087a53216
some functions do now work
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
Sophanimus
6faf9fdae8
noticed similarities to JYOU, copyed JYOU functions, adapted heartrate, blood presure and satiation values
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
Sophanimus
2c1f87c81b
added BFH16DeviceSupport
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
Sophanimus
3ca589f730
BFH-16 Device-discovery working
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
ksiwczynski
369adb5d61
Merge remote-tracking branch 'remotes/upstream/master'
2019-03-21 05:17:07 +01:00
cpfeiffer
39388f48a9
Merge remote-tracking branch 'github/pr/1456'
2019-03-17 21:06:23 +01:00
Andreas Shimokawa
4638acf2d3
Add setting to enable voip call support (default off)
...
There were too many bugs reported, so make that optional
2019-03-17 19:02:18 +01:00
Andreas Shimokawa
665b1b6b5a
Bip: whitelist FW 1.1.5.16
...
Closes #1459
2019-03-17 18:26:47 +01:00
Nick Spacek
ccafda7f00
Adds default namespace declaration and fixes attribute use of namespace.
2019-03-16 11:12:35 -03:00
ksiwczynski
76427a3848
Watch X Plus discovery
2019-03-14 03:58:57 +01:00
criogenic
ff5ebe697b
Update DeviceSupportFactory.java
...
Insert break in CASIOGB6900 case.
2019-03-07 19:20:06 +01:00
Andreas Shimokawa
46567b1e87
Fix build
...
(...because we did not merge PRs in the correct order)
2019-03-05 22:32:49 +01:00
cpfeiffer
c9f1c110b0
Merge remote-tracking branch 'github/pr/1292'
2019-03-04 22:10:23 +01:00
Sebastian Kranz
0da866f70a
Change user goal distance preference to use meters instead of km.
2019-03-04 07:16:56 +01:00
Sebastian Kranz
71a1605445
Add function to save some big chunk of code at the preference listeners.
2019-03-04 06:34:10 +01:00
jfgreffier
072dcd28ec
Merge branch 'master' into master
2019-03-01 11:33:18 +01:00
cpfeiffer
e6ebe8b2bd
Don't crash on share when log file does not exist ( #1444 )
2019-02-28 22:04:05 +01:00
cpfeiffer
f3a7861fdb
Fix some lgtm warnings
2019-02-28 21:57:45 +01:00
cpfeiffer
ebdf385baa
Temporarily add back CasioGATTServer so that we can merge #1404
2019-02-27 21:36:00 +01:00
cpfeiffer
930a3ad9b2
Merge remote-tracking branch 'github/pr/1404'
2019-02-27 21:06:50 +01:00
cpfeiffer
8d6a9d98da
Silence lgtm error messages
...
If the index would indeed be out of bounds, we would simply catch the exception and deal with that.
2019-02-27 20:52:16 +01:00
Andreas Böhler
c091828205
Rename getActionSize() -> getActionCount() and make it abstract
2019-02-27 19:08:54 +01:00
Andreas Böhler
325add3f0a
Remove duplicate queue
...
# Conflicts:
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java
2019-02-27 09:27:50 +01:00
Sebastian Kranz
4f80a4327f
BUGFIX: setting alarms - create alarms with correct message and edit alarms, if they are already on the watch. The watch can handle much more than 3 alarms, but for now 3 should be sufficient.
2019-02-22 08:02:46 +01:00
Sebastian Kranz
c31d0c164c
BUGFIX: activity timestamps were 1 hour off compared to UTC time.
2019-02-21 09:24:51 +01:00
Sebastian Kranz
e0399a056f
Write heart rate alarm limits, when changed instead of on connect. - Missing reading of that preference.
2019-02-21 09:19:05 +01:00
Sebastian Kranz
40ebb7487c
Fix error after merging master trunk, which have a different alarm handling, now.
2019-02-20 14:55:07 +01:00
Sebastian Kranz
c05ae32ed3
Add dumy onReadConfig function override, to satisfiy changes I made.
2019-02-20 14:53:58 +01:00
Sebastian Kranz
6a04c78b0e
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into zetime
2019-02-20 14:24:59 +01:00
Sebastian Kranz
a7553188f9
Reading the device preferences from the watch and set them in the ZeTime menu.
2019-02-20 14:09:21 +01:00
Andreas Böhler
88ac816393
Fix queue handling if only server or client operation is present
2019-02-18 20:20:57 +01:00
Andreas Böhler
6577ad69b0
Add initial support for Gatt server in BtLEQueue
2019-02-18 20:20:57 +01:00
cpfeiffer
373e38eace
Merge remote-tracking branch 'github/pr/1424'
2019-02-13 23:06:34 +01:00
License Bot
8e4be724e1
Update license headers (fix duplicates) and contributors list
2019-02-13 21:01:14 +01:00
License Bot
beedb653e6
Update license headers
2019-02-13 20:43:31 +01:00
Andreas Shimokawa
c66fade081
Amazfit Bip: Support disconnect notifications
...
Might also work with Cor, did not work with Mi Band 3
2019-02-13 13:06:42 +01:00
Taavi
054c9722a7
Added a try-catch to not crash on de-emojifying
2019-02-13 04:26:04 +02:00
Andreas Shimokawa
095b2f53e5
Mi Band 3: Whitelist Firmware 2.3.0.2
2019-02-11 23:01:28 +01:00
Andreas Shimokawa
55f1dcc57b
Amazfit Bip: Whitelist FW 1.1.5.12
2019-02-10 23:09:34 +01:00
Andreas Shimokawa
fd15478a7a
Fix alarm corruption after user configured an alarm further down the list, leaving an unconfigured alarm in between configured alarms
...
This was not fixable though the UI, this commit also heals already corrupted configurations
Fixes #1419
2019-02-09 00:08:07 +01:00
Jean-François Greffier
4321a29e46
MIBCS update from android.support to androidx
2019-01-31 15:49:42 +01:00
jfgreffier
5ab075b373
Merge branch 'master' into master
2019-01-31 15:28:09 +01:00
cpfeiffer
92e92ae792
Merge remote-tracking branch 'github/pr/1396'
2019-01-30 22:20:24 +01:00
Jean-François Greffier
973bd1ad87
MIBCS weight mesure inital support
2019-01-29 22:37:41 +01:00
Andreas Böhler
fd68cf455f
Fix misleading comment
2019-01-28 20:31:03 +01:00
Andreas Böhler
9774dbfba9
Read/write connection parameters and try to improve stability
2019-01-28 20:26:19 +01:00
Andreas Böhler
fc17dec87b
Add explicit support for GB-6900B, GB-X6900B and GB-5600B
2019-01-28 20:26:02 +01:00
Andreas Böhler
df6547c287
Improve find device service (now always beeps)
2019-01-28 20:25:32 +01:00
Andreas Böhler
510d13037a
Add alarm configuration and fix a few small bugs
2019-01-28 20:25:16 +01:00
Andreas Shimokawa
dad7ba7aaa
Mi Band 3: Enable fetching sports activities and add "Exercise" type to generic code
2019-01-28 00:22:11 +01:00
Daniele Gobbetti
1832692b22
Skip duplicate notification prevention for apps that do not populate
...
the "when" field, like some Calendar apps.
Closes #1397
2019-01-26 16:17:51 +01:00
Daniele Gobbetti
75d3dffb14
Migrate to androidx support libraries and bump compile SDK version
...
"Optimize imports" has been run on all source files, there might be
unrelated changes, but these should be harmless.
2019-01-26 16:00:56 +01:00
Jean-François Greffier
2e7c7d8e52
MIBCS discovery
2019-01-23 21:19:25 +01:00
Andreas Shimokawa
4060efeeca
Mi Band 3: Whitelist Firmware 2.2.0.42
2019-01-21 23:01:15 +01:00
veecue
09cb8ca0fe
added nofications for VoIP calls
2019-01-19 20:03:01 +01:00
cpfeiffer
0b0d18dd9f
Merge branch 'master' into black_whitelist_for_notifications
2019-01-16 23:49:15 +01:00
cpfeiffer
3763a4ef6b
Use try-with-resources to close the db
2019-01-13 20:37:37 +01:00
abettenburg
86e92130d2
Updated PullRequest with recommended improvements
2019-01-12 10:00:33 +01:00
abettenburg
51399066a4
Merge remote-tracking branch 'upstream/master' into black_whitelist_for_notifications
...
# Conflicts:
# app/src/main/res/values/strings.xml
2019-01-12 09:55:53 +01:00
Andreas Shimokawa
e9982ccd56
remove supportsAlarmConfiguration() in favor of getAlarmSlotCount()
...
Coordinator that do not support alarms return 0 anyway.
2019-01-11 23:26:00 +01:00
M. Hadi
6e6f5f45e0
Update LanguageUtils.java
2019-01-11 22:28:36 +01:00
M. Hadi
3f06d3c7ed
Added some more Persian characters
2019-01-11 22:28:36 +01:00
cpfeiffer
3c0871f474
Improved toast messages for sleep widget
2019-01-11 00:03:17 +01:00
cpfeiffer
51632d16a2
Sleep Widget reacts to clicks now (on Android 8 at least), and...
...
sends the alarm directly to the wearable.
2019-01-10 23:59:19 +01:00
Andreas Shimokawa
b4bbf6186c
Catch SecurityException when Notfication access was not granted when getting media session
...
Fixes #1387
2019-01-10 17:30:49 +01:00
Johann C. Rode
00dfcd1564
fix typo
2019-01-07 23:53:00 +01:00
Johann C. Rode
f613926ce0
rectify (c)
2019-01-07 23:53:00 +01:00
Johann C. Rode
9d7b1fd6b7
Added support for popular Pebble watchfaces RealWeather and YWeather, fixed some typos
2019-01-07 23:53:00 +01:00
cpfeiffer
903b50c2c5
Improved DB-based alarms
...
- got rid of GBAlarm
- added migration for prefs-based alarms
- various cleanups
2019-01-07 01:15:49 +01:00
Andreas Böhler
cf870bff8a
Add handler thread to poll TX power level, properly use performInitialized(), correctly terminate threads
2019-01-06 11:31:50 +01:00
Andreas Böhler
0009badd71
Fixes from Code Review
2019-01-06 11:31:50 +01:00
Andreas Böhler
76aebd4e20
Add support for displaying music info
2019-01-06 11:31:50 +01:00
Andreas Böhler
81df586fbd
Fix music controls
2019-01-06 11:31:50 +01:00
Andreas Böhler
2c2d07067d
Add initial support for Casio GB-6900B
2019-01-06 11:31:50 +01:00
cpfeiffer
fb85326939
performConnected() -> builder.qeueue(getQueue())
2019-01-03 00:44:34 +01:00
jcrode
c69be1f94b
Pebble: add support for weather information for watchface M7S
...
Watchface name: Multifunctional Seven Segment
Repo: https://github.com/cfg1/pebble-mss
2018-12-27 16:20:29 +01:00
Matthieu Baerts
c239d1767b
emoji: only the init can be sync
...
I applied @cpfeiffer suggestion, then I saw it was already done :)
Here only the init part is set as 'synchronized', very small
optimisation but because this change is ready, why not sharing it :)
2018-12-26 20:52:49 +01:00