1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-10 15:34:50 +02:00
Commit Graph

2648 Commits

Author SHA1 Message Date
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
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
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