1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-28 07:50:11 +02:00
Commit Graph

3633 Commits

Author SHA1 Message Date
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
vanous
f1d83670d0 ensure minimal forecastConditionType lenght for weather notifications 2020-12-28 22:04:05 +01:00