Arjan Schrijver
be73e84829
Fossil Hybrid HR: Restructure settings menus for calibration, file management and physical buttons
2021-05-11 11:22:55 +02:00
jhey
58d3eaaa9f
WIP initial Miband 6 support ( #2277 )
...
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2277
Co-authored-by: jhey <jhey@noreply.codeberg.org>
Co-committed-by: jhey <jhey@noreply.codeberg.org>
2021-05-09 22:52:36 +02:00
Andreas Shimokawa
a1005ae479
Add "list wrist for background light" setting to Amazfit Neo settings
...
Closes #2285
2021-05-09 08:56:28 +02:00
TaaviE
e4d70ade2a
Improved PineTime/InfiniTime firmware DFU metadata parsing and checks
2021-05-03 00:12:51 +03:00
Andreas Shimokawa
97a8aebdb3
Fossil Hybrid HR: Fix crash and connection problem when using non-ascii in quick replies
2021-04-29 22:38:44 +02:00
Arjan Schrijver
2f37d4c839
Fossil Hybrid HR: Dismiss incoming call with a quick SMS reply ( #2264 )
...
Merge branch 'master' into fossil_hr_quick_replies
Fossil Hybrid HR: Allow between 1 and 16 quick replies to be configured
Fossil Hybrid HR: Dismiss incoming call with a quick SMS reply
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2264
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-04-27 12:51:14 +02:00
beardhatcode
32a6049207
huami: send windspeed in beaufort ( #2247 )
...
fixup! huamni: send windspeed in beaufort
BipS: send windspeed as km/h
huami: Always send sunrise and sunset
There is no need to look at send_sunrise_sunset, this is peble spesific
because it could be annoying on that platform (an extra line in the
timeline). On huami devices, the watchface desides what to show.
Signed-off-by: Robbert Gurdeep Singh <git@beardhatcode.be>
Mi5: set supportsSunriseSunsetWindHumidity to true
Signed-off-by: Robbert Gurdeep Singh <git@beardhatcode.be>
huamni: send windspeed in beaufort
Signed-off-by: Robbert Gurdeep Singh <git@beardhatcode.be>
Co-authored-by: Robbert Gurdeep Singh <git@beardhatcode.be>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2247
Co-Authored-By: beardhatcode <beardhatcode@noreply.codeberg.org>
Co-Committed-By: beardhatcode <beardhatcode@noreply.codeberg.org>
2021-04-21 17:12:20 +02:00
Robbert Gurdeep Singh
2d7bd6ae7b
clean: remove unused slots in calander for huami devices
...
If an event is deleted, it may still remain on the device without this
change
2021-04-21 16:38:36 +02:00
Arjan Schrijver
31d2563a18
Fossil Hybrid HR: Show correct notification icons ( #2251 )
...
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-04-20 09:55:27 +02:00
Vianney le Clément de Saint-Marcq
12baabe3c7
Amazfit GTS2/GTR2: Send windspeed and sunrise/sunset
2021-04-07 17:59:30 +02:00
Vianney le Clément de Saint-Marcq
c1b7ce2308
Amazfit GTS2/GTR2: Fix menu items ( #2249 )
...
Amazfit GTS2/GTR2: Add missing menu items
Fixes #2193
Fixes #2230
Fixes #2242
Amazfit GTS2/GTR2: Fix setting menu items
At least on the GTR2e, including the "watchface" menu item causes the
configuration request to be ignored. Assuming the other GTS2 and GTR2
variants behave the same, this patch ensures the forceWatchface argument
is set to false when setting display items.
Additionally, we now use the correct resource ID for the default
settings.
Co-authored-by: Vianney le Clément de Saint-Marcq <code@quartic.eu>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2249
Co-Authored-By: Vianney le Clément de Saint-Marcq <vianney@noreply.codeberg.org>
Co-Committed-By: Vianney le Clément de Saint-Marcq <vianney@noreply.codeberg.org>
2021-04-07 17:58:24 +02:00
Andreas Shimokawa
b7e0e6e44d
InfiniTime: Implement find device by simulating a phone call
2021-04-05 17:40:47 +02:00
Andreas Shimokawa
787216f1bc
InfiniTime: support title for notifications on firmware 0.15
...
also drop support for firmware priror to 0.9
2021-04-05 13:05:24 +02:00
Andreas Shimokawa
bb1df11650
InfiniTime: Add support for battery info
2021-04-05 12:53:05 +02:00
Andreas Shimokawa
9aed3a6b25
Relax check for UIHH header, there seem to be some with 0x02 at position 4, dont know if this is a version or whatever
2021-04-03 18:59:07 +02:00
Andreas Shimokawa
7698b84826
Amazfit GTR2: probably finally fix firmware / watchface installaation
2021-04-03 18:30:20 +02:00
vanous
71cb53a440
adjust Steps Charts steps values offset to account for large phone screen sizes
2021-04-02 16:08:02 +02:00
vanous
e63b6986c6
make Activity Charts dates move as calendar months and to go to now if jumping past today
2021-04-02 16:07:36 +02:00
vanous
63fc6b7ab6
make Battery Info time span jump as calendar months and not as days
2021-04-02 16:06:21 +02:00
Andreas Shimokawa
417923aef1
Amazfit GTR2/GTS2: Prevent emoji transliteration. Seems to support emoji.
2021-04-01 19:23:59 +02:00
Andreas Shimokawa
db9a0c0a76
Try to fix flashing watchfaces on GTR2/GTS2
2021-04-01 16:50:08 +02:00
vanous
b65c10907f
allow fitness apps to send ongoing notification
2021-03-28 22:39:34 +02:00
vanous
9fc02ff09b
move transliteration to per device to DeviceCommunicationService, plus migration, fix #2237
2021-03-28 13:33:08 +02:00
Andreas Shimokawa
51c87f138d
Amazfit Neo: re-enable firmware flashing support and fix ft installation
2021-03-27 09:16:32 +01:00
Andreas Shimokawa
c410f0e4a7
Amazfit Neo: Implement firmware update but keep it disabled for now
...
Flashing to the latest firmware breaks Gadgetbridge compatibility
2021-03-24 23:49:52 +01:00
Andreas Shimokawa
9dc4dde5e7
Amazfit Neo: Support sound settings
2021-03-24 20:02:48 +01:00
Andreas Shimokawa
6f6db01bce
Fix list exception (regression from previous Neo commit)
2021-03-24 10:49:46 +01:00
Andreas Shimokawa
1c3398a319
Amazfit Neo: Fix notifications
2021-03-24 09:51:51 +01:00
Andreas Shimokawa
a234c1d527
Amazfit Neo: Fix setting menu items
...
- Fixes a bug with cycling through entries
- adds steps, distance, calories, battery
- removes world clock (does not seem to work)
2021-03-24 00:44:13 +01:00
cpfeiffer
e9766da89c
Fossil Hybrid HR: fix initialization on older firmwares
...
Avoid NPE when no applications are available
2021-03-21 19:27:32 +01:00
Robbert Gurdeep Singh
7c213f5807
Huami: show event title for events as reminder
...
The Mi app only has a reminder field and no description field, so
I'm assuming we can only send one string.
In bffb8e8f87
it was noticed that the
title was not displaying so I'm changing this for all Huami devices.
2021-03-14 22:21:58 +01:00
Robbert Gurdeep Singh
99aa59e7da
Add friendly reminder of number of bytes to javadoc
2021-03-14 22:21:58 +01:00
Andreas Shimokawa
91b27901e7
Fossil Hybrid HR: prevent hard crash when choosing a remote URL in FIle Mananger
2021-03-13 22:00:12 +01:00
Andreas Shimokawa
2d17f06d6d
Fossil Hybrid HR: Fix resolving file path from chosen file for many file managers
...
Tested with Lineage 17.1 file chooser.
2021-03-13 21:31:28 +01:00
Andreas Shimokawa
2e67321adb
Fossil Hybrid HR: do nothing in renderWidget() on firmware 1.0.2.20 or later
...
It seems that newer firmwares have watchfaces which are a special kind of apps
This means that a simply specifying the layout of widget does not longer work
(At least we do not know how)
This commit fixes bluetooth communication being completely stuck when
Gadgetbridge tries to render widgets (for example when switching force
white mode or when having the notification widget enabled in settings)
2021-03-12 22:22:28 +01:00
Andreas Shimokawa
ae40afb827
Revert "Fossil Hybrid HR: Do not try remove notifications from the watch in unauthenticated mode"
...
This reverts commit faf8ca55c1
.
2021-03-12 00:16:00 +01:00
Andreas Shimokawa
faf8ca55c1
Fossil Hybrid HR: Do not try remove notifications from the watch in unauthenticated mode
...
This does not seem to work and breaks all further communication with the watch.
2021-03-11 23:53:19 +01:00
Arjan Schrijver
2cbb42ba53
Fossil Hybrid HR: disable unsupported functions for newer firmwares
2021-03-11 17:19:31 +01:00
Andreas Shimokawa
54409fbe55
Pebble: Make use of new generic per-device autoremove notification setting
2021-03-08 15:05:33 +01:00
Andreas Shimokawa
ecc0f78848
Fossil Hybrid HR: move autoremove notifications settings to own xml for reusability
2021-03-08 14:58:54 +01:00
Arjan Schrijver
cff4b65fb8
Fossil Hybrid HR: Sync notification dismissals to watch ( #2219 )
...
Fossil Hybrid HR: Move check for autoremove_notifications pref to NotificationListener
Fossil Hybrid: Rename logger to LOG and replace printStackTrace calls
Keep and maintain list of notifications pushed to device
Fossil Hybrid HR: Make autoremove notifications toggleable in device settings
Fossil Hybrid HR: Sync notification dismissals to watch
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2219
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-03-08 14:29:08 +01:00
Daniel Dakhno
b4a115d2c3
UM25: fixed bonding style
2021-03-08 12:29:21 +01:00
Daniel Dakhno
b7b45e199d
UM25: removed lambda expression
2021-03-08 12:29:21 +01:00
Daniel Dakhno
6b4cec5996
UM25: fixed formatting
2021-03-08 12:29:21 +01:00
Daniel Dakhno
0fecdf0e18
UM25: added base device support for UM25C voltage meter
2021-03-08 12:29:18 +01:00
Arjan Schrijver
627bf033c3
Fossil Hybrid HR: Fix up/back navigation and add titles
2021-03-08 12:08:57 +01:00
vanous
fdea7ed24d
Add header-title to Activity detail
2021-03-08 09:59:14 +01:00
vanous
01e99d2809
Add chart to each item in Activity list
2021-03-07 19:42:14 +01:00
Andreas Shimokawa
5746c9aa63
Also ignore com.google.android.dialer, not only com.android.dialer where appropriate
...
Should fix #2209
2021-03-05 19:27:32 +01:00
vanous
69d9695eac
Use Gb DBaccess for Battery level storing
2021-03-05 11:57:00 +01:00
vanous
6aeb297aa5
Battery info - use Gb DBAccess
2021-03-05 09:05:01 +01:00
Arjan Schrijver
0f5f036057
Fossil Hybrid HR: Make more strings translatable
2021-03-04 13:25:32 +01:00
Andreas Shimokawa
9179b2f51e
Wasp-OS: Fix crash on Android<8
...
Fixes #2216
2021-03-04 13:07:59 +01:00
vanous
e848a7cb71
Add Activity list dashboard summary calculations
...
Accessible via FAB in Activity list
Adds DebugActivity checkbox to show large date range
2021-03-03 19:03:02 +01:00
Andreas Shimokawa
1959f1c579
Sony SWR12: Fix broken support
...
The wasp-os commit was missing a break :/
2021-03-03 18:27:03 +01:00
vanous
47d211013c
Remove description label from Battery chart
2021-02-27 11:05:16 +01:00
vanous
5758c9e564
Adds ongoing activity snackbar + preference
2021-02-27 10:51:58 +01:00
vanous
b8f42b6bee
Separate some UI components into reusable widgets
2021-02-27 10:48:13 +01:00
vanous
a6de25918b
Make Battery chart to use AbstractGBFragment with a bg thread
2021-02-27 10:31:43 +01:00
Andreas Shimokawa
00e5f1caf2
InfiniTime: Implement call control and notification
2021-02-22 23:35:34 +01:00
Stephan Lachnit
0118469c9f
InfiniTime: fix music UUIDs for real
...
Fixup for b9647e26c3
Closes #2199
2021-02-21 14:32:13 +01:00
vanous
0a2920a5ec
Battery Info: add styled date range UI
2021-02-14 18:33:32 +01:00
Stephan Lachnit
b9647e26c3
InfiniTime: update music UUIDs ( #2200 )
...
Merge branch 'master' into p/infinitime-music-uuids
InfiniTime: update music UUIDs (Closes #2199 )
Updated UUIDs from ccbe2e8e1b
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2200
Co-Authored-By: Stephan Lachnit <stephanlachnit@protonmail.com>
Co-Committed-By: Stephan Lachnit <stephanlachnit@protonmail.com>
2021-02-14 00:47:44 +01:00
vanous
cde018399a
add time span and select date
2021-02-13 23:28:16 +01:00
vanous
99830f5a84
flip and scale GPX canvas
2021-02-13 18:10:42 +01:00
Andreas Shimokawa
79c73e378b
Amazfit Bip S Lite: Fix broken support (probably)
2021-02-11 15:01:02 +01:00
Andreas Shimokawa
b294fd97d5
Amazfit GTS2e: Really fix broken support (probably)
2021-02-11 12:56:00 +01:00
Andreas Shimokawa
54f96288d9
update changelog, bump version
2021-02-09 22:33:17 +01:00
Andreas Shimokawa
f23c51f3d3
Change Amazfit X key and fix GTS2e key (was the same as GTR2e)
2021-02-08 00:07:16 +01:00
Stefan Bora
5d4f70499d
Added support for Amazfit X
2021-02-07 23:59:26 +01:00
pommes
6fb483c3a6
Fix device name for Amazfit GTS 2e ( #2192 )
...
Fixes device name for Amazfit GTS 2e
Co-Authored-By: pommes <pommes@noreply.codeberg.org>
Co-Committed-By: pommes <pommes@noreply.codeberg.org>
2021-02-07 23:19:39 +01:00
Andreas Shimokawa
6d02e8c488
Amazfit GTS/GTR2 (all variants): Try to fix missing menu items
...
This was reported in #2189 for the GTS 2 Mini, but let's assume it is the same problem for all variants.
2021-02-07 16:23:45 +01:00
vanous
c167724415
disable battery info activity
2021-02-06 22:46:42 +01:00
Andreas Shimokawa
85130a15d8
Inital support for Amazfit GTS 2e
...
Also fix missing break in Zepp E block
2021-02-06 21:56:28 +01:00
Andreas Shimokawa
bf9b45f964
Charts: Also count steps for not worn samples
...
The Mi Band 5 also seems to display those steps
It could also be that the sample type is wrong in Gadgetbridge
2021-02-05 19:17:35 +01:00
Andreas Shimokawa
092d527158
Move Amazfit GTR 2e code in the Amazfit GTR 2 package, they are too similar
2021-02-04 23:15:16 +01:00
vanous
3e04778696
initial battery level collector and simple chart
2021-02-04 21:21:38 +01:00
Daniel Thompson
9e6c121dd9
wasp-os: Introduce a new device type
...
wasp-os is an open-source firmware, based on MicroPython, for smart
watches that are based on the nRF52 family of microcontrollers.
Currently this includes the hacker friendly PineTime from Pine64 as
well as the Colmi P8, which is a popular device with watch modders.
For GadgetBridge integration wasp-os is very similar to handling
Espruino/BangleJS: the watch will interact with the bridge by
providing REPL-over-BLE via the Nordic UART service.
wasp-os implements the same JSON-wrapped-in-GB()-function-call
protocol used for BangleJS buy the differences in capability
between the two firmwares lead us to introducing a different
device type... and also a different icon since the lead devices
for wasp-os are square!
I plan to keep as aligned as possible with the BangleJS device
type, however at present the major differences include:
1. Specify the bonding style (wasp-os currently does not support
bonding... so no need to ask).
2. Disable some of the not-yet-implemented features.
3. Reduce the minimum packet size to fix communication reliability
issues with the MicroPython NUS implementation.
4. Switch the date/time setting syntax from JavaScript to MicroPython.
2021-02-04 20:03:44 +01:00
Daniel Dakhno
1981998fc7
Fossil HR: splitted button config and menu config
2021-02-03 22:25:20 +01:00
Andreas Shimokawa
6ca3424035
Amazfit GTR2e: fix creating from firmware info class
2021-02-02 23:12:12 +01:00
Jochen S
b945af1531
Added support for Amazfit GTR 2e. ( #2182 )
...
Merge branch 'master' into master
Added support for Amazfit GTR 2e.
Co-authored-by: Jochen S <tsalin@noreply.codeberg.org>
Co-authored-by: arisel <arisel@arisel.de>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2182
Co-Authored-By: Jochen S. <tsalin@noreply.codeberg.org>
Co-Committed-By: Jochen S. <tsalin@noreply.codeberg.org>
2021-02-02 23:06:11 +01:00
Daniel Dakhno
24c2c99890
Fossil Classic: fix unknown wearing state
2021-02-01 17:22:57 +01:00
Daniel Dakhno
f8a25ad18e
Fossil Classic: allow synchronizing activity data
2021-02-01 17:13:34 +01:00
Daniel Dakhno
60aaccb15f
Fossil HR: fixed bug with unknown data
2021-02-01 17:08:45 +01:00
Daniel Dakhno
1505c355ce
Fossil HR: allow app management on watch from GB
2021-02-01 01:57:13 +01:00
Andreas Shimokawa
1dc5164423
Zepp E: Address problems mentioned in #2180
...
Also move the package to huami
2021-01-31 22:55:59 +01:00
Andrew Watkins
3cfc6c596b
Huami Zepp E support ( #2180 )
...
Added support for Huami Zepp E
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2180
Co-Authored-By: Andrew Watkins <randnv20@noreply.codeberg.org>
Co-Committed-By: Andrew Watkins <randnv20@noreply.codeberg.org>
2021-01-31 22:41:01 +01:00
Daniel Dakhno
9fe0b691a7
Fossil HR: removed toast
2021-01-30 23:36:18 +01:00
Daniel Dakhno
b85c1a803b
Fossil HR: enumerate apps on watch on every connect
2021-01-30 22:20:07 +01:00
Daniel Dakhno
ec77345632
Fossil Hybrid: file handle can be passed to service as string
2021-01-30 21:10:36 +01:00
Andreas Shimokawa
251aee8c74
Amazfit GTS2 mini: Fix device name as stated in #2152
2021-01-29 01:00:57 +01:00
Daniel Dakhno
614d711226
Fossil Hybrid: file handle can be passed to service as string
2021-01-28 11:34:43 +01:00
Daniel Dakhno
3a4c5f6483
Fossil Hybrid: dont write buttons unauthenticated
2021-01-28 11:33:58 +01:00
Andreas Shimokawa
0c6ce453b2
Amazfit GTS 2 Mini: Initial support
...
(See #2152 )
This also fixes a glitch with GTS2 firmware update code which is still untested
2021-01-26 23:31:35 +01:00
vanous
57fe621ba8
honor Imperial units settings in Widget, Activity list and Workouts, fixes #2041
2021-01-23 21:43:32 +01:00
Andreas Shimokawa
fb2c9158e4
Huami: Add "Strength Training" activity type
...
Used on at least the Amazfit Bip U
2021-01-22 22:14:49 +01:00
vanous
0fd2de2bd3
show all eligeble devices in Widget Configuration Activity, fix #2170
2021-01-22 20:29:00 +01:00
Andreas Shimokawa
61395b210c
Amazfit Bip U: Fix summary data for summery version 519
...
For now this just skips new, previously unknown data , see #2063
2021-01-22 11:28:43 +01:00
xaos
4d47d53a8f
Basic Amazfit Neo support ( #2117 )
...
Merge branch 'amazfit_neo' of codeberg.org:xaos/Gadgetbridge into amazfit_neo
updated menu items and settings, also disabled music info
added some classes, strings, etc. for Amazfit Neo (shows up but does not connect)
Merge branch 'amazfit_neo' of codeberg.org:xaos/Gadgetbridge into amazfit_neo
Merge branch 'master' into amazfit_neo
updated menu items and settings, also disabled music info
Merge branch 'authkey_errmsg' into amazfit_neo
refined error message for invalid authentication keys
added some classes, strings, etc. for Amazfit Neo (shows up but does not connect)
Co-authored-by: xaos <xaos@xaos.tech>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2117
Co-Authored-By: xaos <xaos@noreply.codeberg.org>
Co-Committed-By: xaos <xaos@noreply.codeberg.org>
2021-01-20 16:03:58 +01:00
Toby Murray
203176a01e
Update GATT characteristic list
...
The current GATT characteristic list mentions it was up to date as of populated 2015-09-28. In the last 6 years, significantly more characteristics have been added to the Bluetooth spec. While it's not necessary to have all these constants available in Gadgetbridge, it's useful while implementing new features for a device or adding support for a new device
This was retrieved from https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf . The GATT characteristics were parsed from that PDF and converted to constants with names via:
```
String description = uuid.description.trim().toUpperCase().replace(' ', '_').replace('-', '_');
System.out.println("public static final UUID UUID_CHARACTERISTIC_" + description + " = UUID.fromString((String.format(AbstractBTLEDeviceSupport.BASE_UUID, \"" + uuid.uuid + "\")));");
```
2021-01-18 19:38:16 -05:00
vanous
198040c935
add UUID to to GPX with opentracks namespace
...
ensure that GPX has trackpoints
improve GPX track name if null
2021-01-17 00:07:55 +01:00
Hasan Ammar
894102e45a
Prevent unnecessary widget refresh on notification removal
2021-01-12 21:46:49 +01:00
vanous
5c7254b7b8
adds a 'Delete files from export directory' to Data management
2021-01-10 23:39:38 +01:00
License Bot
1b5402dcb4
update license headers
2021-01-10 23:38:13 +01:00
Andreas Shimokawa
5d8eb432fc
fix missing import
2021-01-06 22:52:59 +01:00
Andreas Shimokawa
50ce99b838
Amazfit GTS2: Also use new protocol for calls like GTR2
...
This is an assumption
2021-01-06 22:15:22 +01:00
Andreas Shimokawa
c896e476f4
Amazfit GTR2: Try to fix incoming calls blindly
2021-01-06 16:29:11 +01:00
Andreas Shimokawa
a50cc8d42d
InifiniTime: set device busy during firmware upgrade
...
Since this is the only busy task in use we just call gbDevice.unsetBusyTask()
upon completion/error
2021-01-06 15:12:41 +01:00
Andreas Shimokawa
c0090e29cb
Revert reordering of ids introduced by #2153
...
This fixes the Verge Lite id back to 29 and changes Amazfit Bip U Pro to 30 (and Live View to 320)
Liveview has no activity data and proably has very few if any users. So re-pairing should be acceptable
2021-01-06 10:17:15 +01:00
DanialHanif
2b8cd6013a
Add Amazfit BIP U Pro support
2021-01-06 10:13:50 +01:00
vanous
6f0245a23c
Data(base) Management screen clarifications
...
- rename to Data management in menu and activity
- expand texts and explain files meaning
- add confirmation screen to export
- change layout to Linear, rather then Grid
- add listing of file content in the /files directory
- allow Data management activity to rotate
Add missing widget string to strings
2021-01-03 15:46:12 +01:00
Andreas Shimokawa
2828ca59a1
Amazfit GTS2: fix pairing
...
Fixes #2140
2020-12-28 22:07:54 +01:00
TaaviE
09eb470b64
Renamed removeBroadcastReceivers to a more correct name
2020-12-28 22:03:41 +01:00
Toby Murray
ab306b1352
Add BlueTooth receivers in onResume
...
Pairing some devices requires a PIN to be entered. E.g. the flow is: confirm you'd like to pair, pass off to Android which prompts for a PIN to pair with (typically shows up on the non-phone device's screen or is hard coded in the manual), then return back to the app.
When this pairing request screen pops up, it takes focus. This invokes onPause and onStop in the DiscoveryActivity, which removes the BlueTooth broadcast receivers. Returning focus (after successful pairing), there's nothing to listen to the event. Practically speaking, GadgetBridge last saw the device as BOND_BONDING, so it's out of sync. If queried, the device is BOND_BONDED, so it's good to move on to the next step.
Many existing pairing activities (Lenovo, MiBand, Pebble, Watch9) have an implementation of onResume() to presumably tackle this issue, this adds it to `DiscoveryActivity` as well. Testing with some other supporting code, this allows a Garmin vivosport to appear in Gadgetbridge.
2020-12-28 22:03:41 +01:00
t-m-w
5a9d1e23f5
Update Do Not Disturb support to allow priority notifications to break through.
2020-12-28 22:02:05 +01:00
Daniel Dakhno
df2300777d
Fossil Hybrid: avoid unnessecary widget rendering
2020-12-24 14:35:22 +01:00
vanous
be53130dba
ensure that correct device is used for activity launched from widget
...
remove code to trigger error, forgotten from testing
update changelog
2020-12-21 11:23:01 +01:00
angelpup
4676c50afc
Added Support for Amazfit Verge Lite
...
Co-Authored-By: angelpup <angelpup@noreply.codeberg.org>
Co-Committed-By: angelpup <angelpup@noreply.codeberg.org>
2020-12-20 22:39:51 +01:00
vanous
502f689862
Rework the Daily Widget:
...
- make layout transparent rather then red, update the preview image
- move battery to top row to reduce size, add status indicators with icons
- add preference settings, to choose for which device this widget is
- data is no longer calculated for all devices but for a selected device
- add debug items to view and erase widget settings and registrations
(debug items are intentionally not translatable yet)
2020-12-20 19:01:00 +01:00
Andreas Shimokawa
ec95766d1f
add missing AbstractGBX100ActivitySample
...
Closes #2123
2020-12-20 18:21:20 +01:00
xaos
68e7a5fea9
refined error message for invalid authentication key
...
Co-Authored-By: xaos <xaos@noreply.codeberg.org>
Co-Committed-By: xaos <xaos@noreply.codeberg.org>
2020-12-20 00:25:44 +01:00
andyboeh
02b85f4c11
Casio GBX-100: Add step count data and more device settings
...
Co-Authored-By: andyboeh <andyboeh@noreply.codeberg.org>
Co-Committed-By: andyboeh <andyboeh@noreply.codeberg.org>
2020-12-20 00:22:35 +01:00
vanous
074bc885c8
send broadcast and vibration on button action only if enabled
2020-12-18 10:56:42 +01:00
Andreas Shimokawa
09bf9db799
Huami: Use blue icon instead of rainbow color icon for Signal (the rainbow icon was blue in early days)
2020-12-14 17:15:01 +01:00
Andreas Shimokawa
4fb79ac2b2
Huami: Add new option to disting to properly distinguish connected adverising and 3rd party hr exposure
2020-12-13 22:38:03 +01:00
TinfoilSubmarine
2f89de6250
Add Amazfit Bip U menu items and remove shortcuts ( #2107 )
...
fix a tab vs. space misalign
add missing menu items for Bip U (and possibly others)
remove shortcut config from Amazfit Bip U settings
add (most) menu items for Amazfit Bip U
Co-authored-by: AluminumTank <joel@beckmeyer.us>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2107
Co-Authored-By: TinfoilSubmarine <tinfoilsubmarine@noreply.codeberg.org>
Co-Committed-By: TinfoilSubmarine <tinfoilsubmarine@noreply.codeberg.org>
2020-12-05 16:22:09 +01:00
Gordon Williams
480ec40ff2
Fix realtime data, add suggestions from https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2106
2020-12-04 16:30:19 +00:00
Gordon Williams
c1195ba05d
Support for HRM and steps activity recording in Bangle.js
2020-12-04 15:14:00 +00:00
Andreas Shimokawa
d0c5ffec28
Amazfit Bip S: Fix crash with notifictions with only a title (GitNex does this)
...
Probably affects other newer Huami devices
2020-12-02 17:07:40 +01:00
Andreas Shimokawa
c7f75c3dc3
Amazfit TRex: Fix previous commit
2020-12-01 21:29:32 +01:00
Andreas Shimokawa
aa6e2a291a
Amazfit TRex: add missing menu items, remove non-existent
2020-12-01 18:56:37 +01:00
Andreas Shimokawa
85da3594fc
Amazfit Bip U: Probably fix totally broken sleep/step data
2020-12-01 15:19:27 +01:00
Andreas Shimokawa
d4308d1782
Amazfit Bip U: fix detection
2020-11-30 23:38:37 +01:00
Andreas Shimokawa
ffa46482fd
Add missing code from last commit
2020-11-30 17:13:48 +01:00
Andreas Shimokawa
1bad73e20c
Amazfit Bip U: Blindly add untested support
...
Based on Bip S, don't know what works and what not
2020-11-30 17:09:29 +01:00
Andreas Shimokawa
6042d285bb
compile fix
2020-11-30 17:08:35 +01:00
Daniel Dakhno
55449c1d25
Fossil Hybrid: added fallback vibration to old Q's
2020-11-29 17:15:03 +01:00
Daniel Dakhno
66d3cdcc5c
Merge remote-tracking branch 'origin/master'
2020-11-29 17:10:19 +01:00
Daniel Dakhno
996674836e
Fossil Hybrid: added firmware upgrade to old Q's
2020-11-29 17:10:10 +01:00
vanous
98bb01dfa1
Make charts tabs selectable sortable
2020-11-28 23:42:30 +01:00
vanous
d180442b47
Allow to clear activity label. Select device for foreign sport activiry.
2020-11-26 23:21:50 +01:00
Daniel Dakhno
7fe8a88ee7
Fossil Hybrid: keep widget values after widget reload
2020-11-26 21:12:56 +01:00
vanous
5c3c23ea50
Improve Sports Activities dashboard and Filter
...
- makes nicer dashboard, unify with design in Activity List
- dashboard is now part of the sports activities list (had to overcome
some hurdles, because of the multiselect for sharing)
- add icons to Spinners in Sports Filter
2020-11-26 17:19:08 +01:00
Andreas Böhler
b0a0a29bcb
Casio GB-5600B/GB-6900B: Add configurable disconnect notification
2020-11-23 22:59:16 +01:00
Andreas Böhler
6f18a1dd73
A few fixes to the init sequence
2020-11-21 22:12:19 +01:00
Andreas Böhler
8fd0e1f13f
Add support for synchronizing profile settings
2020-11-21 22:12:19 +01:00
Andreas Böhler
2ef9128cf8
Move BCD functions to its own Util class
2020-11-21 22:12:19 +01:00
Andreas Böhler
4fd904d33f
Rebuild notification handling to work with postTime() instead of getId()
2020-11-21 22:12:19 +01:00
Andreas Böhler
80df573ccf
Improve initialization sequence
2020-11-21 22:12:19 +01:00
Andreas Böhler
9d710308fa
Limit the number of temporarily stored notification IDs
2020-11-21 22:12:19 +01:00
Andreas Böhler
5edac523f0
Improve notification removal
2020-11-21 22:12:19 +01:00
Andreas Böhler
4ad8eaab89
Fix removal of notifications
2020-11-21 22:12:19 +01:00
Andreas Böhler
4fe057e56b
Fix firstConnect when bonding is not required
2020-11-21 22:12:19 +01:00
Andreas Böhler
ae02c825b4
Fix reconnect and initialization
2020-11-21 22:12:19 +01:00
Andreas Böhler
92986724ee
Fix watch init (only do the bare minimum) and add basic
...
notification support. Reconnect is WiP.
2020-11-21 22:12:19 +01:00
Andreas Böhler
b653789b66
Add preliminary support for Casio GBX-100: connecting and time synchronization.
2020-11-21 22:12:19 +01:00
Andreas Böhler
08ff70ac41
Refactor Casio support for multiple watches
2020-11-21 22:12:19 +01:00
Andreas Shimokawa
0e88adbaf7
Mi/Amazfit Band 5: Support flashing watchfaces
2020-11-20 22:03:23 +01:00
Andreas Shimokawa
bd0c645db5
Add support for Amazfit GTS2 (untested)
...
Also change icon for GTR2 to a round one
2020-11-15 16:25:47 +01:00
Andreas Shimokawa
cc7a7b7caf
Fossil Hybrid HR: delete activity data after syncing
...
This partially reverts f6a7435b7e
2020-11-14 22:17:24 +01:00
Andreas Shimokawa
435808467b
Amazfit GTR2: Make sure new firmware upgrade code gets used (shamelessly assume it uses this right from the start)
2020-11-14 22:04:09 +01:00
marco.altomonte
ac66885848
Fix main fab behavior
2020-11-14 12:21:38 +01:00
vanous
e3a5a63e08
Separate AboutUser and link to it from Charts Settings
2020-11-14 10:06:55 +01:00
vanous
71f6fd77cb
Add final tweaks to Daily Sessions List Dashboard view
2020-11-13 14:22:15 +01:00
Andreas Shimokawa
5f85bba438
Amazfit GTR: Also fix firmware flashing for the chinese(?) variant
2020-11-12 18:06:52 +01:00
Andreas Shimokawa
66bb6f694e
Amazfit GTR Lite: Prevent using new firmware flashing code (they have not upgraded the protocol yet)
2020-11-12 17:47:31 +01:00
Andreas Shimokawa
c3b8604338
Amazfit GTR: FIx firmware flashing on newer firmares
2020-11-12 17:29:25 +01:00
vanous
447e9110db
Simplify HR calculation
2020-11-12 13:50:44 +01:00
vanous
db7280b359
Adjust personal settings defaults to prevent zero values
...
Show/hide intensity in sleep per preference
Optimize icons
2020-11-12 13:50:44 +01:00
vanous
551a5c1a66
Add Activity List Dashboard/Summary view
2020-11-12 13:50:44 +01:00
vanous
9c90452f92
Add intensity to Sleep charts
2020-11-12 13:50:44 +01:00
Daniel Dakhno
79939b7339
Fossil Hybrid: can now delete notifications from watch
2020-11-12 12:35:29 +01:00
Daniel Dakhno
02b9cedcb7
Fossil Hybrid: fixed async action flag
2020-11-12 12:13:10 +01:00
Daniel Dakhno
b40e33f086
Fossil Hybrid: added "decline call" notification flag
2020-11-12 12:11:54 +01:00
Daniel Dakhno
fc1e74d154
Fossil Hybrid: fix "delete notification" to not cancel calls
2020-11-12 03:51:57 +01:00
Daniel Dakhno
39ed94de87
Fossil Hybrid: added unauthenticated, limited mode
2020-11-12 03:49:52 +01:00
Andreas Shimokawa
f157a2ac78
Amazfit GTS: Try to fix firmware flashing not working in newer firmwares
...
Reported in #2075
2020-11-11 12:51:58 +01:00
Andreas Shimokawa
cd8ac94a93
Mi Band 5: Whitelist FW 1.0.2.24
2020-11-11 09:48:50 +01:00
Andreas Shimokawa
9d6f9f7d57
Huami: Unify menu id lookup tables and simplify code
2020-11-10 21:56:00 +01:00
Andreas Shimokawa
5b55898059
Mi/Amazfit Band 5: Add support for setting/sorting shortcuts
2020-11-10 11:33:37 +01:00
pangwalla
c4eb1c0879
Support for Amazfit GTR 2 ( #2072 )
...
Merge branch 'master' into master
fixed GTR2 getActivitySampleSize override
Support for Amazfit GTR 2
Co-authored-by: Pangwalla <pangwalla@protonmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2072
2020-11-09 20:53:02 +01:00
Andreas Shimokawa
f178c478c9
Amazfit Bip: Also make shortcuts sortable
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
d20e6516c8
Humai: Implement menu sorting for remaining devices (except Mi Band 2)
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
8cb2fb980a
Ímplement sorting menu items for newer Huami devices
...
- Amazfit GTR/GTS
- Amazfit Bip S
- Mi Band 5/Amazfit Band 5
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
e1f2e0c830
Experiment with a draggable sort list.
...
I left the non-preference related dslv code untouched and took it from here
https://github.com/sbolotovms/drag-sort-listview
(This is one of many forks, which had migrated android to androidx)
The base for the code in DragSortListPreferenceFragment.java and
DragSortListPreference.java comes from:
https://github.com/kd7uiy/drag-sort-listview
I heavily modiefied it moved it to androidx
2020-11-07 22:48:34 +01:00
vanous
4c39dceecd
Add minimum/maximum heart rate popup, fixes #1483
2020-11-01 23:58:54 +01:00
vanous
6960b10e5d
Add confirmation dialog to Find device, fixes #1330
2020-11-01 14:41:58 +01:00
vanous
329c47fff2
Add heart rate average to Activity and Sleep → Sleep
2020-11-01 11:06:59 +01:00
Daniel Dakhno
e8534e01f8
Fossil Hybrid: dynmically generate check byte
2020-10-31 12:40:20 +01:00
Daniel Dakhno
d8ade53cdf
Fossil Hybrid: fixed missing class
2020-10-30 04:25:11 +01:00
Daniel Dakhno
12e67312c7
Fossil Hybrid: auto-detect iv incrementor
2020-10-30 04:19:21 +01:00
Daniel Dakhno
f6a7435b7e
Fossil Hybrid: temporarely keep activity file after sync
2020-10-30 04:19:07 +01:00
Daniel Dakhno
6b1d2cab50
Fossil Hybrid: added device security version info
2020-10-30 03:38:10 +01:00
Daniel Dakhno
8e543d0b9c
Fossil Hybrid: code cleanup
2020-10-29 02:49:44 +01:00
Daniel Dakhno
8a87bd9700
Fossil Hybrid: added verbose decryption logging
2020-10-29 02:48:28 +01:00
Daniel Dakhno
c1352a7c3c
Fossil Hybrid: added app exec test code
2020-10-29 02:43:21 +01:00
Daniel Dakhno
0845d15ba2
Merge remote-tracking branch 'origin/master'
2020-10-29 02:43:01 +01:00
Daniel Dakhno
6850837a30
Fossil Hybrid: cleaned up handle handling
2020-10-29 02:42:52 +01:00
Daniel Dakhno
f11977597b
Fossil Hybrid: use GB.toast()
2020-10-28 21:42:12 +01:00
Daniel Dakhno
d14687388b
Fossil Hybrid: show warning on wrong key format
2020-10-28 21:42:12 +01:00
Andreas Shimokawa
1224cfeffc
Amazfit Bip S: unify shortcuts code with display items code
2020-10-28 00:12:37 +01:00
Andreas Shimokawa
50f99a5b59
Amazfit Bip S Lite: add new device type for the lite variant
...
See #2055
2020-10-27 12:56:27 +01:00
Andreas Shimokawa
f61c06630a
Fossil Hybrid HR: Only do a factory reset when really requested, not also on reboot.
2020-10-27 11:47:55 +01:00
vanous
b364029f82
Level up icons in Activity List. Improve empty record.
2020-10-27 09:20:32 +01:00
Maxim Baz
e2a75d75d4
Add Wire messenger to the chat applications
...
This is a chat app that uses end-to-end encryption algorithm similar to Signal.
2020-10-26 23:29:58 +01:00
Daniel Dakhno
7dd50fc31a
Fossil Hybrid: added factory reset option
2020-10-26 03:55:32 +01:00
Daniel Dakhno
89f9f69b0d
Merge remote-tracking branch 'origin/master'
2020-10-26 02:51:47 +01:00
Daniel Dakhno
2535342ac4
Fossil Hybrid: refactored requests to use fileHandle enum
2020-10-26 02:50:30 +01:00
vanous
95c35deb90
Add version to About screen
2020-10-24 21:55:48 +02:00
vanous
4d42e169b9
Add GPS fragment to Sport Activity detail
...
add GPX parser
fix possible swiping issue after device rotation
use window background color for screenshots
2020-10-24 18:27:51 +02:00
JF
9d6ac2b985
Improve notification support for InfiniTime (PineTime) :
...
- InfiniTime 0.9 now supports messages up to 100 chars (instead of max 18 previously)
- Remove the hack that was implemented as a workaround to a bug in InfiniTime that would ignore the last character of the notification message (https://github.com/JF002/Pinetime/issues/109 ).
These 2 features are enabled only if the firmware version is >= 0.9.
2020-10-24 00:19:45 +02:00
Daniel Dakhno
c85e30cb07
Fossil Hybrid: added hands calibration
2020-10-22 12:43:40 +02:00
Andreas Shimokawa
4131f19f8d
Amazfit Band 5: Allow setting Sp=2
...
Also unify code to set display items on newer devices
2020-10-21 20:03:26 +02:00
vanous
f60ba212c6
Make Sports Activities list use Activity List style
2020-10-17 14:55:12 +02:00
Andreas Shimokawa
7c374181dc
Amazfit Band 5: Try to blindly use Mi Band 5 support for now
2020-10-17 11:58:22 +02:00
Daniel Dakhno
7ce2688c29
Fossil Hybrid: removed unused variables
2020-10-17 04:00:25 +02:00
Daniel Dakhno
d3dc6c4c5f
Fossil Hybrid: reformatted requests to avoid raw files
2020-10-17 03:58:04 +02:00
Daniel Dakhno
45df4cd35c
Fossil Hybrid: refactored fileGetRequest
2020-10-17 03:40:12 +02:00
Daniel Dakhno
0c3c749149
Fossil Hybrid: use polled supported file versions
2020-10-17 03:30:53 +02:00
Daniel Dakhno
a8311cabe5
Fossil Hybrid: removed redundant code
2020-10-17 02:33:34 +02:00
vanous
e7b5053b13
Add Step length preference to About you
...
Add new distance icon
Distance in meters or km based on distance
Remove unnecessary definitions
Optimize new drawables
Map intensity to min steps
2020-10-16 21:07:57 +02:00
vanous
92407d3490
Fix trailing activity 0 duration
...
Hide intensity if not present in data
2020-10-16 21:07:34 +02:00
Daniel Dakhno
3b2a16b6fc
Fossil Hybrid: added manual file down/upload
2020-10-16 01:50:44 +02:00
Daniel Dakhno
57f6b225d8
Fossil Hybrid: removed unused request
2020-10-16 01:49:34 +02:00
Daniel Dakhno
f36c68b065
Fossil Hybrid: extracted file handles to enum
2020-10-16 01:48:40 +02:00
Daniel Dakhno
be2f8aaedc
Fossil Hybrid: added translation handling
2020-10-15 22:42:39 +02:00
Daniel Dakhno
7ecb5543f7
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-hybrid-new-firmware
2020-10-14 02:02:00 +02:00
Daniel Dakhno
f1034f94b3
Fossil Hybrid: send response to app events
2020-10-14 02:00:43 +02:00
vanous
64d8504b7d
New item layout, icons, logic and defaults for daily activity list.
2020-10-14 01:52:27 +02:00
Daniel Dakhno
2b1fb0e342
Fossil Hybrid: fix for newer firmware
2020-10-13 05:00:27 +02:00
Daniel Dakhno
05a4c0ce68
Fossil HR: added long and double button presses
2020-10-13 03:06:05 +02:00
Andreas Shimokawa
0d49eaaf9e
Pebble: move canned message to per-device settings (including migration)
...
This also cleans up some useless preferencehandlers that only change summary by
using app:useSimpleSummaryProvider="true" for EditText
2020-10-13 00:27:22 +02:00
Daniel Dakhno
36b38c2f11
Fossil Hybrid: set time on connect
2020-10-12 18:18:29 +02:00
Daniel Dakhno
2335a7a337
Merge remote-tracking branch 'origin/master'
2020-10-12 18:15:11 +02:00
Daniel Dakhno
e47599f15f
Fossil Hybrid: fixed text color
2020-10-12 18:15:04 +02:00
Andreas Shimokawa
1156ec22a4
Mi Band 5: Whitelist FW 1.0.2.08
2020-10-12 14:05:12 +02:00
vanous
26f199a010
Remove testing reflection code trying to disable pull to refresh in Activity List
2020-10-11 18:24:36 +02:00
TaaviE
c41fda5072
Rearranged the code in PineTime support a bit
2020-10-11 19:16:31 +03:00
TaaviE
2cd783feca
Updated progress string and context handling
2020-10-11 19:16:31 +03:00
TaaviE
c46e931221
Extracted new and already existing string resources
2020-10-11 19:16:31 +03:00
TaaviE
3b5f35f34a
Added PineTime (InfiniTime) Nordic DFU support
2020-10-11 19:16:31 +03:00
TaaviE
2b889a2e4c
Improved documentation in UpdateFirmwareOperation, it's not NotificationListener it's handleNotificatioNotif
2020-10-11 19:16:31 +03:00
TaaviE
29431a0813
Fixed a bug with com.Slack's package name being impossible to look up
2020-10-11 19:16:31 +03:00
TaaviE
3636410191
Fixed weird formatting in MiBandFWHelper
2020-10-11 19:16:31 +03:00
TaaviE
42b7dd6d2a
Renamed a few variables in FwAppInstallerActivity
2020-10-11 19:16:31 +03:00
TaaviE
5c25bc65ca
Removed an unused leftover function
2020-10-11 19:16:31 +03:00
TaaviE
77a6e6107a
Added a helper function and attribution to an existing one
2020-10-11 19:16:31 +03:00
TaaviE
e496aa8f7b
Made Nut support available in discovery
2020-10-11 19:16:31 +03:00
TaaviE
01feaabffd
Added support for Nut devices
2020-10-11 19:16:31 +03:00
TaaviE
c0c35a0931
Minor improvements to iTag-related documentation
2020-10-11 19:16:31 +03:00
vanous
46a1d2908a
Sharing Sports Activity improvements
2020-10-11 18:09:22 +02:00
opavlov
1fbfb1cae1
fixed copyright info
2020-10-11 17:27:30 +03:00
opavlov
1ba454a89b
refactored settings to "per-device" according to wiki
2020-10-11 17:24:11 +03:00
opavlov
78ec2a4a14
fixed issue with sleep data(wrong order of reading bits). removed rest useless methods from band classes.
2020-10-11 17:24:11 +03:00
opavlov
06a12300a1
added support for sony swr12
2020-10-11 17:24:11 +03:00
TaaviE
48abd91e72
Reordered a few functions, constructor to be more sensible
2020-10-11 14:29:14 +03:00
TaaviE
d892e8d963
Separated InfiniTime characteristic UUIDs into a separate file
2020-10-11 14:26:03 +03:00
TaaviE
d4f383f885
Added support for more music information with backwards compatibility
2020-10-11 14:23:20 +03:00
vanous
0b7d37c7eb
Improve Activity List processing
2020-10-11 09:40:15 +02:00
Yukai Li
d6bed776c5
Lefun: Use existing time format setting with handling for automatic format
...
Also fix "interface language" string name
2020-10-10 22:03:46 +02:00
Yukai Li
0f123022f9
Lefun: Fix license headers
2020-10-10 22:03:46 +02:00
Yukai Li
1242009b55
Lefun: Add comments
2020-10-10 22:03:46 +02:00
Yukai Li
6974a86b87
Lefun: Implement settings
2020-10-10 22:03:46 +02:00
Yukai Li
31078647b1
Lefun: Limit notification length further
...
In addition to the 255 pieces limit, the band also uses a byte for total message length, so cap that too to not run over previous message data.
2020-10-10 22:03:46 +02:00
Yukai Li
2c1167b1b3
Lefun: Use proper handler for firmware info
2020-10-10 22:03:46 +02:00
Yukai Li
a2090eeccb
Lefun: Use proper handlers for find phone and battery level
2020-10-10 22:03:46 +02:00
Yukai Li
e220acb1b4
Lefun: Implement live step counting
2020-10-10 22:03:46 +02:00
Yukai Li
b225ab98a8
Lefun: Fix typo
2020-10-10 22:03:46 +02:00
Yukai Li
741fdbcbd2
Lefun: Tweak notifications for empty message handling
2020-10-10 22:03:46 +02:00
Yukai Li
c2375f95f4
Lefun: Implement notification support
2020-10-10 22:03:46 +02:00
Yukai Li
a1737c39fb
Lefun: Add missing license headers
2020-10-10 22:03:46 +02:00
Yukai Li
0dd44ae2d6
Lefun: Implement limited find phone support
2020-10-10 22:03:46 +02:00
Yukai Li
b7abd328bb
Lefun: Implement set alarm
2020-10-10 22:03:46 +02:00
Yukai Li
3d108d9d11
Lefun: Implement heart rate test
2020-10-10 22:03:46 +02:00
Yukai Li
d161415046
Lefun: Implement activity data sampling
2020-10-10 22:03:46 +02:00
Yukai Li
6c32a3a99d
Lefun: Add operation status to requests
2020-10-10 22:03:46 +02:00
Yukai Li
1fc2356189
Lefun: Change queuing
2020-10-10 22:03:46 +02:00
Yukai Li
9fbfee945c
Lefun: Allow keeping request in queue (for multirecord responses)
2020-10-10 22:03:46 +02:00
Yukai Li
4992e4c15b
Lefun: Fix command length checks, again
2020-10-10 22:03:46 +02:00
Yukai Li
61039f1749
Lefun: Add find device support, toast on error
2020-10-10 22:03:46 +02:00
Yukai Li
9454684974
Lefun: Add device support and initialization code
2020-10-10 22:03:46 +02:00
Yukai Li
b46960e0a7
Lefun: Fix response parsing
2020-10-10 22:03:46 +02:00
Yukai Li
8662041e5a
Lefun: Fix checksum generation
2020-10-10 22:03:46 +02:00
Yukai Li
c7edfc0b54
Lefun: Fix response ID
2020-10-10 22:03:46 +02:00
Yukai Li
265260810a
Lefun: Add command serializers
2020-10-10 22:03:46 +02:00
Yukai Li
fd56db55c4
Lefun: Add device coordinator
2020-10-10 22:03:46 +02:00
vanous
bd90b59f92
Initial implementation of Activity list.
2020-10-10 07:19:42 +02:00
TaaviE
824784fd43
Enhanced logging in BondingUtil
2020-10-09 22:49:17 +03:00
TaaviE
3c842bd441
Made the find phone activity start instantly when allowed
2020-10-06 22:00:42 +03:00
TaaviE
ad30c528e5
Fixed a bug caused by incorrect PendingIntent.getActivity usage
2020-10-06 20:35:26 +03:00
Daniel Dakhno
cf302a6ba0
Fossil: optimized time settings
2020-10-06 03:07:38 +02:00
Andreas Shimokawa
e57025cd82
Fix wind speed and direction not being paceled
...
This also introduces a version to check befor unpaceling.
2020-10-01 13:56:03 +02:00
Andreas Shimokawa
f4115fa617
Amazfit Bip S: Also send wind and humidity
...
Does not work with most weather sources, but it is better to send something to remove garbled characters
2020-09-30 18:47:19 +02:00
Andreas Shimokawa
1337644a14
Amazfit Bip S: Send sunrise and sunset on latest firmware if enabled
...
This still has to be enabled in Pebble settings..... :/
2020-09-30 18:16:25 +02:00
Andreas Shimokawa
5bdee2c130
Amazfit Bip S: Fix firmware flashing on DTH variant with firmware 4.1.5.55
2020-09-29 21:58:13 +02:00
Andreas Shimokawa
247366bf9d
Amazfit Bip S: Implement new Firmware update mechanism introduced with Firmware 2.1.1.50
...
This is probably mandatory for other devices now also!
2020-09-28 12:05:09 +02:00
Gordon Williams
5c2ee15988
Remove hard-coded name list and use Java Reflection to get the correct field names - fixes issue where call state reporting was corrupted
2020-09-28 10:09:27 +01:00
vanous
ac5e7608fc
Handle device null state when being disconnected
2020-09-28 09:49:08 +02:00
Andreas Shimokawa
8087390336
Huami: recoginze GPS firmware 19439,3aa3392,135 and whitelist it for Bip S
2020-09-27 12:07:52 +02:00
vanous
7371fb37c2
Add charts into Sports Activity Details. Improve pingpong icon.
2020-09-23 21:53:16 +02:00
Andreas Shimokawa
49e7cc4c9b
InfiniTime: implement music control and info
2020-09-23 12:12:45 +02:00
vanous
30ebad8617
Activity icons, fastlane screenshots, pebble widget steps fix
2020-09-17 21:38:01 +02:00
Andreas Shimokawa
4da74e7375
Amazfit Bip S: Whitelist 2.1.1.46
2020-09-13 19:26:23 +02:00
Memiks
70a140f358
HPlus notficiation encoding weather improvments ( #2012 )
...
fix indent change
add only new functions from master branch
correct issue with reformated code
Merge branch 'master' into HPlus_improve_notifications
update code formatting with Android Studio
remove bad update of .gitignore
HPlusSupport rebuild indexation
remove unecessary change for pull request
Improve HPlus support
- update unicode support
- update notification function
- add first weather notification
Merge pull request 'update master from upstream repository' (#4 ) from Freeyourgadget/Gadgetbridge:master into master
Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/4
Merge pull request 'update master from upstream repository' (#2 ) from Freeyourgadget/Gadgetbridge:master into master
Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/2
use my own android sdk image
Sign apk
add signed apk
remove .drone.yml from git
add drone.io compilation
Merge pull request 'update master from upstream repository' (#1 ) from Freeyourgadget/Gadgetbridge:master into master
Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/1
Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org>
Co-authored-by: Memiks <contact@memiks.fr>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2012
2020-09-13 19:13:45 +02:00
vanous
db47992199
Re-do logo logic for AboutScreen to keep aspect ratio
2020-09-10 10:49:05 +02:00
Andreas Shimokawa
1c2218079b
Pinetime-JF: Recognize device if it annouces itself as InfiniTime
2020-09-09 23:40:36 +02:00
vanous
1d51c58f15
Fix warnings and colors for AboutScreen
2020-09-09 23:26:46 +02:00
vanous
ac1b65e727
Fine-tune filter. Ignore BaseAltitude == 20000.
2020-09-09 22:15:17 +02:00
Andreas Shimokawa
6c86381fa8
ZeTime: Fix weather forecast icons on older firmware versions
...
If we do not have a firmware version try use old icon mapping.
Previously weather was not working at all in that case.
2020-09-08 23:09:30 +02:00
Andreas Shimokawa
d5cdf21154
Amazfit Bip S: allow flashing gps almanac (only cep worked before)
2020-09-07 22:57:18 +02:00
Andreas Shimokawa
ce8021ec9b
Huami: Add new activity types found in recent Bip S firmware
2020-09-07 21:40:20 +02:00
vanous
874b510784
Add more features to ActivitySummariesFilter
...
Add possibility to pick individual SportsItem items into filtered view
Add quick time range selector
add deviceFilter for devices that supportsActivityTracks
add baseAltitude
add average speed, calculated from from distance/active time
make Activity Details layout scrollable
2020-09-05 20:22:04 +02:00
Andreas Shimokawa
faef4fd92f
Amazfit Bip S: fix flashing some font files
2020-09-03 23:09:00 +02:00
Andreas Shimokawa
f2bfab0491
Huami: do not write elevation to GPX if we have a base altitude of -20000
...
( #2001 )
2020-09-03 23:01:59 +02:00
TaaviE
4aea2e626c
Improve icon size consistency in ControlCenterv2 ( #2000 )
...
Tinted the ic_delete_forever.xml correctly
Updated the default icon to look consistent with the rest
Due to being used in FABs, made ic_add white by-default and tinted ic_block properly
Adjusted Amazfit Bip and the ic_no_watch drawables to look more uniform with the rest
Re-imported the Amazfit Bip icon to fit the rest
Re-imported all material.io icons with the same DPI, renamed to original names, optimized and tinted every icon the same way
Updated the ic_switch_left icon to look better on smaller screens
scale refresh in control center to match the rest
Improved the icon size consistency in ControlCenter
Co-authored-by: TaaviE <taavi.eomae@gmail.com>
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2000
2020-09-01 21:27:07 +02:00
Andreas Shimokawa
9c239ec371
Amazfit Cor/Cor2: Allow workout syncing
2020-09-01 20:05:06 +02:00
TaaviE
116b2572dd
Avoided a NullPointerException when queue is null
2020-08-30 17:19:56 +02:00
TaaviE
cbc99b49ab
Caught an another exception that occurs when there's no access to the notifications
2020-08-30 17:53:50 +03:00
frederic lesur LESUR Frederic
c67ec5f71c
Change id of Lemfo SG2 to 44
...
Change name from SG2 to Lemfo SG2
2020-08-29 23:17:42 +02:00
frederic lesur LESUR Frederic
997504c01a
Add first support of SG2 HPlus watch
2020-08-29 23:17:42 +02:00
vanous
4c1208400e
Ensure that Sports Activity Filter has correct first item. Make Sports Filter buttons follow default theme
2020-08-29 02:19:06 +02:00
TaaviE
6cd59fbd24
Refactored all pairing and bonding activities ( #1989 )
...
Fixed a few warnings
Refactored all bonding and bonding activities
Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1989
2020-08-28 15:38:18 +02:00
TaaviE
c5daa28214
Optimized vector images ( #1996 )
...
Improved the screenshot vector image a bit to look more uniform with the rest
Improved the about activity a bit for Android 10+
Cleaned up and optimized all vector drawables
Co-authored-by: TaaviE <taavi.eomae@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1996
2020-08-28 13:21:21 +02:00
vanous
39a472216a
Better handling of end of summary items list
2020-08-26 21:12:54 +02:00
vanous
723bd6fb6e
Controllable backgroundColor to item view. Split lines Activity Kind and Activity Name Label to prevent overflow
2020-08-26 20:45:38 +02:00
TaaviE
3bf2d4f086
Fixed a warning with witdh
being used as height
parameter.
2020-08-26 14:02:22 +02:00
Bot
40852d3641
Fixed a bunch of misspellings and formatting
2020-08-26 14:37:40 +03:00
Andreas Shimokawa
c9d98e60a9
Huami: Mark all devices as supporting device actions except mi band 2 (need to check that one, assuming newer ones to work)
...
Also add high_mtu setting to Rex, GTR, GTS, Mi Band 5
2020-08-26 10:00:06 +02:00
TaaviE
010785113b
Fixed a few more warnings
2020-08-26 09:38:31 +02:00
TaaviE
7db3b68047
Fixed a bunch of warnings
2020-08-26 09:38:31 +02:00
vanous
db29de4a9c
Material design Edit Icon, unified in Device alias and Activity name
2020-08-25 15:29:55 +02:00
vanous
df6f59213b
Make nicer format for Date/Time in ActivitySummaryList
2020-08-24 16:54:05 +02:00
vanous
34eee787d7
Add margins to AlertDialog.Builder
2020-08-24 13:50:10 +02:00
vanous
9b30369a88
Add edit Sport Summary Name. Add filtering by this name.
2020-08-24 00:09:10 +02:00
Andreas Shimokawa
c990a4f6fc
Pinetime JF: Fix setting the time
2020-08-23 17:27:32 +02:00
Andreas Shimokawa
52f15e331c
Pinetime JF: display firmware and hardware revisions, work around missing byte in notifications
2020-08-23 17:18:53 +02:00
Andreas Shimokawa
ef3edd9932
Huami: igrore min/max pace for certain workout types they all display the same bogus value
2020-08-23 15:03:40 +02:00
vanous
7b46a5e950
Tweak Sports Filter when a GBActivity now...
2020-08-23 13:01:54 +02:00
Andreas Shimokawa
b6abcc8c7b
Huami; swap min/max pace in parser
2020-08-23 00:14:36 +02:00
vanous
f8d22e9ec7
Make Filter be a normal activity. Fix s/m→m/km conversion
2020-08-23 00:04:23 +02:00
vanous
78745420ca
Make Sports Activity Detail data take full width
2020-08-23 00:04:23 +02:00
Andreas Shimokawa
645c22b10a
Huami: decode average HR where available (newer devices)
2020-08-22 21:59:18 +02:00
Andreas Shimokawa
fcb1df6c68
Huami: decode some more sports summary values on Bip S (probably other new devices also)
2020-08-22 21:53:26 +02:00
vanous
f05ad85f73
Make string values of summary data translatable
2020-08-22 10:31:32 +02:00
vanous
b236a6af16
Add Activity Summary Statistics Drawer
...
Move SummaryStatistics JSON Summary to own place
2020-08-21 23:51:46 +02:00
Andreas Shimokawa
ebc70b3fd5
TinyWeather: Patch incoming current weather with current timestamp
2020-08-20 23:07:24 +02:00
Andreas Shimokawa
f05ddd2d24
display swim style as string
2020-08-20 22:27:33 +02:00
Andreas Shimokawa
98b71e78bc
Parse swim summary data from Bip S (version 518)
...
This still looks wrong for some values
2020-08-19 23:37:10 +02:00
vanous
03b45d1071
Add better Sport Activities Filering
2020-08-19 19:45:23 +02:00
Andreas Shimokawa
164c73c955
WatchXPlus: Fix code setting units to imperial
...
Fixes #1955
2020-08-18 17:51:59 +02:00
Andreas Shimokawa
c800a18a46
Prevent NPE in notification filter code
...
Closes #1984
2020-08-18 15:58:18 +02:00
Andreas Shimokawa
715fb67859
Do summary parsing on the fly if raw binary data is available
2020-08-18 10:39:44 +02:00
Andreas Shimokawa
034b6d01e9
add yoga icon
2020-08-17 14:13:48 +02:00
Gordon Williams
8599d2f8db
Add wind speed to JSON produced for Bangle.js - fixes https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/1974
2020-08-17 11:06:16 +01:00
Andreas Shimokawa
2ca2636142
Huami: Recognize missing workout types from the Bip S (and other devices where those are supported)
2020-08-16 23:45:52 +02:00
Andreas Shimokawa
28a3ab1518
Huami: save raw summary data in new binary blob column for later interpretation
2020-08-16 22:50:59 +02:00
vanous
20faa23843
Add events forwarding for HUAMI Bip, MB3 ( #1980 )
...
Remove unneeded function call
Re-done to simplify
Add media actions
Rename function to make meaning clearer
Add events forwarding for HUAMI Bip, MB3
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1980
2020-08-16 22:07:55 +02:00
vanous
19ac94e138
Make alternate row color honor set theme
2020-08-16 20:45:03 +02:00
vanous
78cd8e55b7
Add back arrow ← to Sports Activity Detail
2020-08-15 14:54:24 +02:00
vanous
7cc4b16852
Animate on swipe when at end ranges of Sport Activity Detail data
2020-08-15 14:11:35 +02:00
Andreas Shimokawa
e73c881aa9
Revert "swap +/- :)"
...
This reverts commit e027f3d526
.
2020-08-14 22:54:39 +02:00
vanous
c21206fbe4
Swapping min/max elevation
2020-08-14 22:53:00 +02:00
vanous
ed5b4ac793
SwipingView of Sports Activity Detail ( #1977 )
...
Swipable view done
WIP. Basic POC.
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1977
2020-08-14 22:48:03 +02:00
TaaviE
8a4be070ab
Added a custom icon for PineTime
2020-08-12 08:48:35 +02:00
vanous
f4bf457232
Add filter to Sports Activities
2020-08-12 07:36:53 +02:00
Andreas Shimokawa
e208549d1d
Decode a bit more for new acticity summaries (Bip S)
...
This also adds disabled code to create a binary dump for better analysis
2020-08-11 00:06:24 +02:00
vanous
3bff745b38
Make icon long press to toggle raw/calculated data
2020-08-10 22:40:58 +02:00
vanous
e027f3d526
swap +/- :)
2020-08-10 18:27:30 +02:00
vanous
f08b109deb
Finalized Sports view. Recalculate seconds to duration.
2020-08-10 18:23:16 +02:00
vanous
4a4362eec4
Use textViews. Remove groups from data.
2020-08-10 10:56:54 +02:00
Andreas Shimokawa
555eb34575
Start to support activity summary version 518
...
Incomplete, lot of missing stuff. no swimming, etc.
2020-08-10 00:19:13 +02:00
vanous
ec3334f037
move averageStride to Activity
2020-08-09 21:56:58 +02:00
vanous
bce85beb21
Use localized names and dates. Pass only needed data between activities.
...
Better display view. Cleaning up.
Add km/h and calculate speed to it.
Special casing calc not per key but per unit
solved min/maxPace, localized several missing labels.
totalStride is Total strides in m. Fix missing start_label
2020-08-09 21:56:31 +02:00
Andreas Shimokawa
c20810059d
Fix crash when opening GPX file, reformat code
2020-08-09 21:56:31 +02:00
vanous
c3887ddb86
minimum working version
2020-08-09 21:56:25 +02:00
vanous
7a46d39193
ActivityDetail with steps
2020-08-08 08:40:23 +02:00
Andreas Shimokawa
94afcba363
Add text column to BaseActivityData for storing unstructured data to be displayed later
...
As a test first test, this currently only stores the average heart rate.
2020-08-07 23:12:29 +02:00
Andreas Shimokawa
9b8f4d329e
Experiment with Pinetime-JF
2020-08-04 22:38:11 +02:00
Andreas Shimokawa
66f2eb8479
Amazfit Bip S: whitelist firmware 2.1.1.26 and 2.1.1.36
2020-08-03 22:42:07 +02:00
TaaviE
fb70a07f64
Tried fixing a LineageOS quirk with regular BT scans
2020-08-02 23:59:42 +03:00
TaaviE
749cf91f63
Handled the potential case of the same scan finishing twice and canceling a running scan being displayed
2020-08-02 23:43:00 +03:00
TaaviE
83f3b8565e
Removed duplicate UI updates
2020-08-02 22:06:18 +03:00
TaaviE
d7ce49a2f3
Improved UX when Bluetooth is disabled mid-scan
2020-08-02 21:55:16 +03:00
TaaviE
9627360fac
Fixed an UI error when Bluetooth discovery starting fails
2020-08-02 21:23:14 +03:00
TaaviE
61c74e9b15
Made the scans time out nicely
2020-08-02 21:07:14 +03:00
TaaviE
498c0d42e2
Made sure to check if location permission has been given by the user for scanning
2020-08-02 21:07:14 +03:00
TaaviE
aa9abd4b61
Added a log message that might help with debugging in some cases
2020-08-02 21:07:14 +03:00
TaaviE
f526bbe632
Added an API version guard to the new type of BLE scanning
2020-08-02 21:07:14 +03:00
TaaviE
b76a8267b8
Added CompanionDeviceManager support, added target 29 support, refactored the scan display and UI.
2020-08-02 21:07:14 +03:00
TaaviE
1b43468b9e
Improved the ITag coordinator class a bit
2020-08-02 21:07:14 +03:00
Andreas Shimokawa
a619fdb168
Huami: Prevent setting an MTU of < 23, which is either a special value or a parsing error of Gadgetbridge
...
This fixes a problem where writeToChunked algorithm results in out of bounds writes or an endless loop.
Closes #1936
2020-08-02 13:11:41 +02:00
TaaviE
f9dc625c5c
Printed a few rather fatal exceptions in case they happen for easier debugging ( #1946 )
...
Removed a few more occurrences of double logging
Removed double logging
Printed a few rather fatal exceptions in case they happen for easier debugging and a few other small cleanups
Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1946
2020-08-02 10:55:06 +02:00
TaaviE
2ba6b88ff9
Made scan results a bit more detailed by displaying special cases
2020-08-02 03:33:08 +03:00
Cristian Alfano
637a7d5d07
Adding support for Mi Band 5's new FW and res versions and new languages supported: italian, french and german.
2020-08-01 23:03:21 +02:00
TaaviE
da529579f4
Made it possible to disable asking for a few permissions.
2020-08-01 17:27:26 +03:00
TaaviE
1ceaf48ba7
Only request ANSWER_PHONE_CALL above API 26
2020-08-01 17:27:15 +03:00
TaaviE
bb1b31bcb4
Made sure to check notification listener access even after first launch because not having it can cause issues
2020-08-01 17:27:15 +03:00
TaaviE
8da7a7aced
Added a checkbox to un-ignore bonded devices
2020-08-01 15:49:54 +02:00
Andreas Shimokawa
c735dd0dd4
fix compilation
2020-07-31 14:05:45 +02:00
115ek
58711ff2d2
TLW64: Add basic settings
...
* inactivity warnings
* activate display on lift
* timeformat
* TODO: screen timeout, find-my-device,...
2020-07-30 15:00:34 +02:00