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
cpfeiffer
ad9b45a94d
Make EmojiManager initialization synchronized
2018-12-23 23:40:02 +01:00
Matthieu Baerts
e12561dd1d
emoji: add missing face_throwing_a_kiss
...
I just saw that order was wrong and one 'face' emoji was missing.
2018-12-23 23:39:09 +01:00
Matthieu Baerts
22904667b8
emoji: do a lazy initialisation
...
The goal is not to slowdown the startup but also to do this
initialisation only when it is needed.
Suggested-by: cpfeiffer
2018-12-23 23:39:09 +01:00
Stan Gomin
efd7195725
Avoid KIA Sportage appearing in the list of devices
2018-12-23 12:57:34 +01:00
Matthieu Baerts
c845e16cfa
amazfitbit support: fix typo
...
senderOrTiltle -> senderOrTitle
2018-12-23 12:52:49 +01:00
Matthieu Baerts
ad0dbcb96a
emoji: add support for simple emoji
...
Instead of displaying 'stuck_out_tongue', ':-P' is printed. Only the
common faces with ascii equivalent are mapped.
2018-12-23 12:52:49 +01:00
Matthieu Baerts
8d78c45e7d
messages: convert emoji's to supported chars
...
Some devices don't support emoji's and display a series of `?` chars.
Instead of that, replace them by `:<emoji>:` text, e.g. `A 🐱 ` is
replaced by `A 🐱 `.
This is done by using 'android-emojify' project and their
`EmojiUtils.shortCodify(text);` function.
For more details about this lib released under MIT license:
https://anitrend.github.io/android-emojify/
2018-12-23 12:52:49 +01:00
Daniele Gobbetti
87d41bf09f
Amazfit Cor: Whitelist firmware 1.7.20 and res 69 (stable)
2018-12-19 20:33:41 +01:00
Andreas Shimokawa
a354bdca30
try to satisfy lgtm
2018-12-18 10:26:29 +01:00
Andreas Shimokawa
0e6c0e8926
Mi Band 3: Whitelist FW 2.2.0.14
...
Closes #1365
2018-12-16 16:11:43 +01:00
Andreas Shimokawa
b020d59f54
Implement factory reset feature in debug activity
...
Implemented for Mi Band 1/2/3, Cor, Bip
Could be implemented for Pebble by deleting all blobdbs etc
Related to #109
2018-12-16 16:06:12 +01:00
Andreas Shimokawa
198b7cc9c6
Do not display paired devices that were not added to Gadgetbridge or have been deleted from Gadgetbridge
...
Closes #1360
2018-12-09 20:03:15 +01:00
Andreas Shimokawa
29a5878d22
Mi Band 3: Whitelist FW 2.2.0.12
...
Closes #1353
2018-12-09 17:55:29 +01:00
Andreas Shimokawa
983bc606a4
Amazfit Bip: Allow flashing latest (beta?) GPS firmware
...
Closes #1358
2018-12-09 17:26:56 +01:00
AndrewBedscastle
f90ba76fc0
No more hardcoded strings
...
Save and load packageName as lowercase String
Do not save empty strings as Notification Filter Entry
2018-12-06 15:11:50 +01:00
AndrewBedscastle
c5358bcbdf
Merge branch 'upstream_master' into black_whitelist_for_notifications
2018-12-06 12:54:14 +01:00
abettenburg
d6190e6e59
Apps Notification can now be configured to filter notification content based on black- and whitelists
...
Go to notification blacklist, allow an app if blacklisted, than configure it's behavior with the menu icon on the right hand side.
Should be pretty much self explanatory.
Database Scheme raised to 20
2018-12-03 09:48:16 +01:00
Mormegil
657fc16f80
Enable No1F1 support for a Chinese clone
...
This cheap Chinese dummy-smart-watch apparently uses the same chip/protocol, but it reports with a different name, so we need to add it to the hardcoded name-based detection.
2018-12-02 23:34:01 +01:00
AndrewBedscastle
a0e6ee490e
*** WIP ***
2018-11-30 15:36:20 +01:00
Matthieu Baerts
d60d10ddb1
notif: sanitize strings set by external apps
...
It seems some apps like Telegram add a lot of Unicode Control sequences
for unknown reasons. Because these strings are set by external apps, it
is safer to sanitize them. For the moment, only Unicode control
sequences are stripped.
Fixes : #1344
2018-11-26 07:33:44 +01:00
Matthieu Baerts
cbe3aa49f1
Apps: added p≡p as generic email app
...
This app is a fork of K9 Mail with a slightly different design and a
built-in security integration feature.
More details: https://f-droid.org/en/packages/security.pEp/
2018-11-24 12:46:48 +01:00
Andreas Shimokawa
740cf103f6
Initial support for per-device alarms and raising the number of available alarms
...
TODO:
- Fix alarm widget (how can we get the deviceId?)
- Get rid of GBAlarm in favour of DAO generated Alarm class
- Find better defaults
- Bonus: migrate old preferece based shared settings
2018-11-24 12:16:47 +01:00
Andreas Shimokawa
2facd9df6c
Fix endless loop and resulting OOM when RTL support is enabled and a word is exactly the configured max line length
...
This should be reviewed by the original author
And could be connected to #1311
2018-11-22 19:02:04 +01:00
Andreas Shimokawa
6f51d96879
bump version, update changelog
2018-11-17 16:43:14 +01:00
Andreas Shimokawa
7cf6a59420
fix everything
2018-11-17 16:35:37 +01:00
Andreas Shimokawa
b228c7b061
bump version, add changelogs
2018-11-15 20:30:15 +01:00
Andreas Shimokawa
59f8e72410
Notification actions refatoring and fixes
...
- Fixes "Mute, Open, Dismiss" to work again on pebble
- Greatly reduces complexity in PebbleProtocol, since all logic for adding specific reply actions to notification have been moved to generic code
Fixes the rest of #1336 (the part that says "Additionally, dismissing a notification on the watch no longer dismisses it on the Android device")
2018-11-15 15:53:04 +01:00
Andreas Shimokawa
bd874089d0
Ignore group summary of k9 notifications
...
Fixes part of #1336
2018-11-14 23:59:26 +01:00
Andreas Shimokawa
d6a06d0c16
Amazfit Bip: Whitelist Firmware 1.1.5.04
...
Closes #1333
2018-11-13 19:34:03 +01:00
Andreas Shimokawa
3207d32818
Amazfit Bip: Whitelist Firmware 1.1.5.02
2018-11-08 17:53:24 +01:00
Andreas Shimokawa
3f062e5732
Amazfit Bip: Attempt fixing GPS tracks recorded with latest firmware
2018-11-08 17:13:00 +01:00
Andreas Shimokawa
10b982f0ea
Pebble: Proper fix for crash when no replies are set
...
Also:
- Support for multiple reply actions with canned replies (there must have been a crash before)
- When no replies are set use the firmware internal defaults
Fixes #1323
2018-11-08 08:36:37 +01:00
Andreas Shimokawa
8b3ba38344
Mi Band 3: Whitelist FW 2.0.0.4
2018-11-08 07:12:49 +01:00
Andreas Shimokawa
78addcb75c
Pebble: try to prevent crash when no canned replies have been set
2018-11-07 22:02:58 +01:00
cpfeiffer
5644ae5925
Display measured hr value in Debug activity + cleanup
...
Fixes #1320
2018-11-05 23:27:29 +01:00
cpfeiffer
7cfe7d900a
Comment out excessive logging #1311
2018-11-03 23:26:58 +01:00
Andreas Shimokawa
17a82f09f2
Pebble: Temporarily disable broken autoremove notification feature
2018-11-03 20:49:49 +01:00
Andreas Shimokawa
61872b7bbd
Mi Band 3/Amazfit Bip/Amazfit Cor: Send Fahrenheit if units are set to imperial
...
Closes #1315
2018-11-03 20:44:30 +01:00
Andreas Shimokawa
fcfcc5cb0b
Pebble: unify code for 2.x and >= 3.x notification encoding
...
Not very clean but deduplicated a lot of code which was no longer maintainable twice
2018-11-02 21:10:31 +01:00
cpfeiffer
effffddd8d
fixed lgtm warnings
2018-11-02 00:09:30 +01:00
José Rebelo
ca32a2b5ac
Start new activity with FLAG_ACTIVITY_NEW_TASK ( fixes #1306 )
2018-11-01 22:49:02 +01:00
cpfeiffer
7e9a9ca875
Added a TODO
2018-11-01 22:05:38 +01:00
cpfeiffer
435898ebc9
Move MiBand3-ism to MiBand3Support
2018-11-01 22:05:38 +01:00
Daniele Gobbetti
549dfce2e7
Pebble: generalize handling of incoming actions (from watch)
...
Also add missing casts back to int in NotificationListener
2018-11-01 19:40:26 +01:00
Andreas Shimokawa
7c0c50e960
Pebble: fix non-working SMS reply regression
2018-11-01 19:12:43 +01:00
Andreas Shimokawa
5fc2a704a3
Pebble: Always allow reply action even if untested features are turned off
2018-11-01 17:02:33 +01:00
Andreas Shimokawa
e54f1eaccc
SMS: add reply action in generic code (no longer explicitly handled in PebbleProtocol)
2018-11-01 16:58:20 +01:00
Andreas Shimokawa
f05cc83848
Pebble: set MIN_ACTION_LENGTH = 6, which is correct
2018-11-01 16:02:29 +01:00
Andreas Shimokawa
22de76620d
Debug: Add button to send a PebbleKit notification
2018-11-01 15:04:16 +01:00
Andreas Shimokawa
f3e16c5b1d
Pebble: Fix regression causing "Open on Phone" and "Dismiss" to appear on Pebble notification with no corresponding Android notification (i.e. PebbleKit notifications)
2018-11-01 14:55:14 +01:00
Daniele Gobbetti
eede85a9c9
Various improvements and bugfixes to notification handling
...
Prevent duplicate notifications with a dedicated data structure (not reusing
the anti-burst one) #1062 , #657
Pebble: Forward the actions attached to notifications (not only reply)
inspired by the work of dnastase #705
2018-10-31 21:47:12 +01:00
Daniele Gobbetti
b9999edf2a
Ignore notifications that are older than the last forwarded one for the
...
same source.
This reuses the data structure populated to prevent overflow, but avoids
to forward notifications that are older than the reference.
2018-10-29 18:39:38 +01:00
Daniele Gobbetti
29dc806fb1
Ignore notifications that are older than 1 second
...
In case of grouped notifications, we get multiple notifications
also if the android device shows only one.
This means that with this change the most recently updated chat
will get through, but others will not.
This should help with #1062 and #657
2018-10-28 18:03:01 +01:00
Andreas Shimokawa
dde8a5044f
Mi Band 3: Whitelist FW 1.8.0.0
2018-10-28 15:32:57 +01:00
উৎসব রায়(Utsob Roy)
e66d0a2d10
Enhancement and Fixes for Bengali Transliteration. ( #1263 )
...
* Added various fixes and enhancment for Bengali transliteration.
* various fixes and enhancment for Bengali transliteration
* fixed a coding typo [master]
* Boolean lowercase and added .project in .gitignore
* Boolean lowercase and added .project in .gitignore
* typo fix [master]
* fixed negative index error [master]
* fixed negative index error [master]
* unprinted character fix [master]
* enhanced transliteration [master]
* lowercased boolean and replaced Integer with int [master]
* removed .setting, .classpath and .project and added them to .gitignore too.
* bug fix and multilingual testcase [master]
2018-10-01 23:04:51 +02:00
Sebastian Kranz
6b82340093
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into zetime
2018-10-01 06:39:08 +02:00
Pavel
add75a567f
Update DeviceType.java
...
Take the TECLASTH30
2018-10-01 02:33:32 +03:00
Sebastian Kranz
6fa2dc04f3
Setting the signal types is written to the watch now.
2018-09-28 19:36:35 +02:00
José Rebelo
e62fe36391
Roidmi 3: Fix and enable support
2018-09-28 16:35:09 +01:00
Pavel
c86b58fec9
Update Y5Coordinator.java
2018-09-27 01:12:23 +03:00
Pavel Elagin
fbb75694c7
Add support JYou Y5 device.
2018-09-27 01:05:40 +03:00
Andreas Shimokawa
b1b318a18b
Amazfit Bip: Allow flashing latest gps firmware from Mi Fit 3.5.1.1 (Mili_dth.gps)
...
This file seems to be for the Bip2, but firmwares.json also refereces this for the Bip.
And it seems to work.
2018-09-23 12:02:34 +02:00
cpfeiffer
60397c88c0
Avoid possible NPE
2018-09-23 11:27:35 +02:00
Sebastian Kranz
2df8dfed18
Add a submenu to choose between different signal types.
2018-09-20 14:38:06 +02:00
cpfeiffer
6d4d92fd88
Live Activity: don't enable notifications every second
...
This caused the BLE queue to fill up more and more.
2018-09-17 23:02:18 +02:00
cpfeiffer
d3fd203c6c
Avoid possible NPE
2018-09-17 23:02:18 +02:00
cpfeiffer
cfddba0e4d
Remove unused field and redundant casts
2018-09-17 23:02:18 +02:00
Newline Bot
a55c3d7220
Replace CRLF with LF (no content changes)
2018-09-17 18:28:56 +02:00
Sebastian Kranz
bc20db44f4
BUGFIX: use correct preference key to toggle wrist flick on and off. Add: fill function onFindDevice with test commands for the signaling of the watch, if watch is set to buzzer just the buzzer is used, ... and so on.
2018-09-17 14:43:09 +02:00
Sebastian Kranz
ecfd83ae65
Add setting alarms. Choose the type of the signaling in the preferences.
2018-09-17 13:53:24 +02:00
Sebastian Kranz
ba0fdb8c96
Part 2: Add inactivity alert - complete now. Add checkbox to en-/disable the heart rate alarm and group this with the limits in its own screen.
2018-09-17 08:10:49 +02:00
Sebastian Kranz
828df4898f
First part: Add inactivity alert.
2018-09-17 05:53:24 +02:00
cpfeiffer
934f36f45a
Use ActivityUser.defaultUserStepsGoal instead of hardcoded values
...
ActivityUser has room for improvement, though.
2018-09-16 20:49:00 +02:00
Carsten Pfeiffer
226ae54ae6
Merge pull request #1265 from elagin/live_activity_2
...
Enhancement LiveActivityFragment (2)
2018-09-16 20:43:59 +02:00
Pavel
62e080d5ac
Update LiveActivityFragment.java
...
I'm sorry, I wanted to add entry if > min HR
2018-09-16 20:35:28 +03:00
cpfeiffer
8c1a1861e4
Fix some static analysis warnings
2018-09-16 13:59:16 +02:00
cpfeiffer
c1de677448
Remove redundant null checks
2018-09-16 13:58:01 +02:00
cpfeiffer
100ed9f50c
Use \n as line endings
2018-09-16 13:55:57 +02:00
cpfeiffer
5028458fe8
Fix some static analysis warnings
2018-09-16 13:54:56 +02:00
cpfeiffer
08dfa2a47d
Log the stacktrace as well
2018-09-16 00:12:52 +02:00
cpfeiffer
f142003f09
Avoid boxing
2018-09-16 00:12:40 +02:00
cpfeiffer
ce2f984e9f
Fix some file closing issues
2018-09-15 23:54:51 +02:00
cpfeiffer
8aad6cd620
Avoid autoboxing, remove redundant cast
2018-09-15 23:51:51 +02:00
cpfeiffer
898165ce0b
Avoid lots of false static analysis warnings
2018-09-15 23:30:39 +02:00
cpfeiffer
08595f4e3d
Avoid autoboxing
2018-09-15 22:52:30 +02:00
cpfeiffer
87bee53ef3
Add a tiny bit of javadoc
2018-09-15 22:43:45 +02:00
cpfeiffer
f9e600d369
Deduplicate code
2018-09-15 22:38:20 +02:00
cpfeiffer
d6f5e36e12
Huami devices: Fix seldom fetch failures (better support for app level ble feedback)
...
Fixes #1264
2018-09-15 22:24:27 +02:00
Sebastian Kranz
6be181047a
Add more preference settings for ZeTime: time and date format, activity tracking, do-not-disturb scheduling, wrist-flick, analog mode and calories type.
2018-09-14 13:32:18 +02:00
Sebastian Kranz
6617c45fec
Add setting heart rate alarm values. Make the settings of the wearside and screen on duration interactive - give them their own activity. Also make the auto heart rate measurement work.
2018-09-13 14:55:38 +02:00
Pavel Elagin
e85257b545
Show current / max heart rate. Ignore heart rate < user settings. Invisible button bar into LiveActivity. Auto scale totalStepsChart. Fix time x axis history chart. Draw total and per minute steps. Set limit on per minute chart by user settings.
2018-09-13 12:51:52 +03:00
Sebastian Kranz
59a73d47af
BUGFIX: setting goals now correct! Add automatic heart rate measurement settings - but the function got not called. Add option to leave activity data on the watch or delete them.
2018-09-12 13:59:45 +02:00
cpfeiffer
b6d68207cb
Don't store the live step values in the db
2018-09-11 23:26:51 +02:00
cpfeiffer
add9be5ff6
Another place to handle possible negative steps values
2018-09-11 23:24:27 +02:00
cpfeiffer
aee0e54d05
Handle possible negative steps values
2018-09-11 23:08:29 +02:00
cpfeiffer
fbcd2840ca
No need to call method twice
2018-09-11 23:04:18 +02:00
Andreas Shimokawa
59ddedcf9a
Mi Band 3: Whitelist FW 1.6.0.16
2018-09-11 21:35:30 +02:00
Andreas Shimokawa
6644ad0bb0
Mi Band 3: Allow enabling the "Workout" menu item
...
(This is called "Activity" in Gadgetbridge, since we have that on the Bip, we should probably rename that to Workout also for consistency with the menus)
2018-09-11 21:32:13 +02:00
cpfeiffer
88ad6cf0e0
Improve balance handling
2018-09-10 23:41:01 +02:00
Pavel Elagin
4592d35cc6
Calculation and display of weekly balance by steps and time of sleep.
2018-09-10 23:41:01 +02:00
Sebastian Kranz
8bbc473bc0
Add icons for ZeTime.
2018-09-07 13:24:54 +02:00
Sebastian Kranz
8062729ea8
Send user info to the watch, add more daily targets (goals) and send them to the watch.
2018-09-07 10:53:33 +02:00
cpfeiffer
a2bd8212f6
Attempt to fix connection problems on Samsung devices
2018-09-06 18:25:41 +02:00
Sebastian Kranz
ca7108c153
Add ZeTime settings: choose on which wrist you wear the watch and set screen on duration.
2018-09-06 14:51:29 +02:00
Sebastian Kranz
88ba3e8e14
merge master branch
2018-09-06 14:46:25 +02:00
Carsten Pfeiffer
7b709dd975
Merge pull request #1250 from haditim/persianTransliteration
...
Persian transliteration
2018-09-05 23:33:34 +02:00
Roi
b3e8e92441
fix long word bug in Rtl support
2018-09-05 23:21:18 +03:00
Roi
3e6ddcc714
fix long word bug in Rtl support
2018-09-05 23:19:35 +03:00
Roi
5a1733f5ec
Add Farsi contextual form
2018-09-05 22:44:40 +03:00
Carsten Pfeiffer
449184c591
Merge pull request #1253 from skweee/android9callerid
...
Fix caller ID for incoming calls on Android 9
2018-09-05 21:37:24 +02:00
cpfeiffer
4f7e5b256a
Use constants for "rtl" and "contextualArabic" preferences
2018-09-05 21:32:06 +02:00
Carsten Pfeiffer
e67398af87
Merge pull request #1233 from roigreenberg/master
...
Adding RTL support
2018-09-05 20:48:15 +02:00
Johannes Tysiak
d4ea5dfd44
Fix caller ID for incoming calls on Android 9
...
Fixes #1252
2018-09-05 20:41:01 +02:00
M. Hadi
ddecab7d25
Changes Persian transliteration such that it does not alter Arabic. Test should run fine now. Also added punctuations.
2018-09-05 10:08:10 +02:00
Roi Greenberg
761d8327f9
Add Unittest for Rtl + some small fixes
2018-09-05 01:39:01 +03:00
cpfeiffer
19ee3a14d4
Handle batter state LOW without a level
...
Fixes #1197
2018-09-04 22:31:12 +02:00
Carsten Pfeiffer
5e4ecd774b
Merge pull request #1181 from Dikay900/remove_invalid_hr_data
...
remove incorrect HR data <10 from the graphs
2018-09-04 21:08:21 +02:00
Roi
f233ad79fa
move fixRtl to Rtlutils
2018-09-04 02:00:14 +03:00
Roi
e35240c91e
fix bugs.
...
Use getDirectionality instead of serchinf areas
2018-09-04 01:10:54 +03:00
Dikay900
a844db7927
do not use synchonized singleton for HeartRateUtils
2018-09-02 12:59:38 +02:00
Dikay900
64da085942
make heart rate values configurable and use singleton for heartrateutils
...
to listen for preference changes
2018-09-02 12:57:52 +02:00
Roi
5503c562a3
test
2018-09-02 05:04:32 +03:00
Dikay900
71447d0a8f
remove incorrect data <10 from the graphs
2018-09-01 19:28:20 +02:00
José Rebelo
c973c2f4c6
Roidmi: fix duplicated DeviceType key
2018-09-01 13:20:38 +01:00
Carsten Pfeiffer
ece0f094eb
Merge pull request #1236 from uroybd/master
...
Better Bengali transliteration.
2018-09-01 09:35:23 +02:00
Utsob Roy
91ddb2c3dd
Removed unnecessary containsKey check.
2018-09-01 08:59:57 +06:00
Utsob Roy
6a293bd40a
Done the recommended edits, added more testcases, and fixed a bug.
2018-09-01 00:38:15 +06:00
José Rebelo
2fe4b84a10
Roidmi: Initial Support
...
Roidmi 3 support is disabled for now, since it is not working.
2018-08-31 14:03:47 +01:00
José Rebelo
cc6c57bd4c
Add support for LED Color, FM Frequency
2018-08-31 14:03:39 +01:00
Daniele Gobbetti
3e989cd89a
Amazfit Cor: Whitelist FW 1.2.5.00 and RES
2018-08-29 21:33:38 +02:00
License Bot
696653eabf
Update contributors list and license headers.
2018-08-29 21:30:23 +02:00
M. Hadi
5460de37d2
Improved Persian transliteration
...
Persian (Farsi) transliteration was incomplete and most of the characters were proposed according to Arabic transliteration which would be confusing for Persians. I changed some of them and added new ones like question mark, etc.. Please note that Persian has several "z" and "s" since the language alphabet share a lot of similarity with Arabic. However, these are all pronounced the same way in Persian and it makes more sense to have the same character for all in each group.
2018-08-29 16:45:15 +02:00
Andreas Shimokawa
b8c7bb2c2e
Amazfit Bip: whitelist firmware 1.1.2.05
2018-08-28 22:19:53 +02:00
Andreas Shimokawa
13ff40c7a5
Mi Band 3: Whitelist some firmware version I tested
2018-08-28 22:10:58 +02:00
Roi Greenberg
280a2f56e9
Merge branch 'master' into master
2018-08-28 23:10:51 +03:00
Pavel Elagin
6904a62d41
Add share log file. Issue #1146
2018-08-28 21:50:12 +02:00
José Rebelo
9fda67b297
Mi Band 3: Night Mode
2018-08-27 22:54:37 +02:00
kalaee
915ad99886
Added Scandinavian characters
2018-08-27 21:58:23 +02:00
Roi
1ece83374b
Add some docstring
2018-08-26 02:09:50 +03:00
Roi Greenberg
6b57809646
Fix missing space
2018-08-26 02:06:45 +03:00
Roi Greenberg
deee908fb0
Convert Arabic to contextual form
2018-08-25 22:31:14 +03:00
Roi
5a9e47cec4
remove debug logs and add documentation
2018-08-25 22:31:13 +03:00
Roi
5697ebc8ea
Add rtl support
2018-08-25 22:31:12 +03:00
Utsob Roy
98e747c5f5
Various Fixes
...
1. Updated test.
2. Fixed a composite letter issue.
3. Moved some redundant codes to a function.
2018-08-24 22:33:25 +06:00
Utsob Roy
8f12f10bfe
added some comments. [master]
2018-08-24 20:57:38 +06:00
Utsob Roy
8ca1b6e864
better bengali transliteration. [master]
2018-08-24 14:42:27 +06:00
José Rebelo
fa1e9b8938
Support minimum time between notifications
2018-08-19 11:07:58 +01:00
Andreas Shimokawa
ffc6bd5a73
Mi Band 3: Also fix diplay of SMS and EMAIL
...
We have to send a fake app source that is never displayed to make the text appear... :P
2018-08-19 00:51:04 +02:00
Andreas Shimokawa
3d70314e8c
Mi Band 3: Fix messages not being displayed (send app source with notifications and use chunked characteristics where available)
...
This also sends the app name for Bip and Cor, which is actually displayed when there is no icon (unknown app for the device)
Fixes #1203
2018-08-19 00:35:50 +02:00
Andreas Shimokawa
c81965b88d
Mi Band 3: Raise limit of RES files to 150000 bytes
...
Fixes #1223
2018-08-18 23:02:36 +02:00
Carsten Pfeiffer
c4411a9c48
Merge pull request #1206 from UncleInf/transliterate_lithuanian
...
Adding Lithuanian transliteration
2018-08-18 13:08:40 +02:00
Aniruddha Adhikary
b942db166e
add Bengali Transliteration
2018-08-18 13:05:15 +02:00
cpfeiffer
d93799e72a
Improve Teclast H1 and H3 device matching #1207
2018-08-18 12:57:21 +02:00
cpfeiffer
50295864f5
Use a custom IntentListener callback instead of LocalBroadcastManager for ble profiles
...
The issue here is the following:
- we used intents in the generic BleProfile classes to notify about the results of e.g. certain read requests
- we used to send these results asynchronously via LocalBroadcastManager.sendBroadcast(), which always used the main thread for sending
- however, we noticed that reconnecting to devices sometimes failed because the results arrived too late and the next action in the BLE queue lacked the necessary information
- the fix was to use LocalBroadcastManager.setBroadcastSync(), so that the results arrive in time
- this unfortunately meant that they were not sent in the main thread anymore, and especially, this would send all pending intents that were previously queued via sendBroadcast() also in the "wrong" thread (in order to keep the order of events)
The fix is to use a custom IntentListener callback interface for synchronous notifications of ble profile results
*without* also causing other, previously queued intents to be sent.
Fixes #1218
2018-08-18 00:39:14 +02:00
cpfeiffer
98cd54657a
Avoid unnecessary boxing
2018-08-17 00:28:00 +02:00
cpfeiffer
c6bfd296a6
Avoid another potential NPE
2018-08-17 00:22:52 +02:00
cpfeiffer
f96b10cca0
Avoid potential NPE
2018-08-17 00:19:10 +02:00
cpfeiffer
0b63fa1c59
Remove some (now) unnecessary casts
2018-08-17 00:13:38 +02:00
cpfeiffer
0145013597
Add some @Nullable
2018-08-17 00:13:38 +02:00
Carsten Pfeiffer
26fcb3cbbb
Merge pull request #1212 from elagin/legend_wordwrap_center
...
Enable word wrap and set center horizontal alignment for legend into …
2018-08-16 23:58:00 +02:00
Carsten Pfeiffer
73f699c602
Merge pull request #1207 from Dougal19/master
...
Support added for H3 watch strap
2018-08-16 23:54:33 +02:00
Pavel Elagin
354ab79285
Display start and end sleep. #164
2018-08-16 17:59:56 +03:00
Pavel Elagin
65d36d2c81
Enable word wrap and set center horizontal alignment for legend into ActivitySleepChart and WeekSleepChart
2018-08-15 18:03:32 +03:00
Dougal19
e520cf57eb
Test add support for H3 watch strap
2018-08-13 17:49:38 +01:00
Andreas Shimokawa
74f47c8e2e
Mi Band 3: Support setting language to German, Italian, French, Polish, Japanese, Korean
...
NOTE:
- Needs latest firmware
- Setting to Japanese or Korean leads to empty menus on the device. When
reconnecting you, will get a sceen which telling you to update. I highly
suspect it requires flashing Mili_wuhan.ft.kj (kj=korean,japanese)
2018-08-13 00:00:46 +02:00
Thomas
93dcb2be0d
Adding Lithuanian transliteration
2018-08-12 11:31:35 +03:00
Andreas Shimokawa
3bb75a62be
Mi Band 3: whitelist tested firmwares
2018-08-12 00:28:27 +02:00
Andreas Shimokawa
b48b52b175
Mi Band 3: Make order of menu items on screen deterministic again
...
(This partly reverts the logic of the previous commit)
2018-08-12 00:16:56 +02:00
José Rebelo
470efa3e51
Mi Band 3: Change display items
2018-08-12 00:00:38 +02:00
Daniele Gobbetti
9517fa211e
Intercept alarm actions of the google clock application
...
Implemented blindly based on the information provided in #1199
Fixes #1199
2018-08-10 18:36:29 +02:00
Pavel Elagin
76d704cb04
Misprints
2018-08-10 00:00:12 +02:00
José Rebelo
338251597b
Mi Band 3: Band screen unlock
2018-08-09 23:41:25 +02:00
José Rebelo
b671289a49
Mi Band 2/3: New icon
2018-08-09 23:41:25 +02:00
Carsten Pfeiffer
4a07c63381
Merge pull request #1194 from elagin/string_toString
...
Redundant String.toString()
2018-08-08 21:34:45 +02:00
Carsten Pfeiffer
95e39cabba
Merge pull request #1190 from maxirnilian/watch9
...
Watch 9: Initial support
2018-08-08 21:16:59 +02:00
Daniele Gobbetti
797a671ccd
Amazfit Cor: only send music information when needed
2018-08-08 17:48:23 +02:00
Pavel Elagin
723b5af50f
Redundant String.toString()
2018-08-08 12:55:25 +03:00
Andreas Shimokawa
da58e22afe
Only start MusicPlaybackReceiver if device supports music info
...
Also block sending music info in HuamiSupport if device does not support it
2018-08-07 12:44:00 +02:00
cpfeiffer
e15afaab2f
Probe connected devices first for firmware installation
2018-08-06 23:13:59 +02:00
Daniele Gobbetti
3fac021ff2
Amazfit Cor: implement basic music controls
...
Play/pause and skip to previous/next song work. The currently playing song
name is shown on the Cor. The track length and progress are now shown as
we don't know how to send these yet.
2018-08-06 23:11:40 +02:00
cpfeiffer
cc3c70b161
Send results of AbstractBleProfile synchronously
...
This should fix issues like a ConditionalWriteAction failing with an NPE when GBDevice.getFirmwareVersion() returns null even though the DeviceInfoProfile had already received the firmware version (but the intent notification has not been received yet).
2018-08-06 20:51:28 +02:00
cpfeiffer
ec0d62f67b
If firmwareRevision is null, use softwareRevision
2018-08-06 20:26:39 +02:00
cpfeiffer
92bd3122f3
Improve logging
2018-08-06 20:22:10 +02:00
cpfeiffer
f7c9828cc1
Avoid potential NPE
2018-08-06 20:22:10 +02:00
maxirnilian
4ff04870ca
Watch 9: Initial support
2018-08-06 18:30:38 +02:00
Andreas Shimokawa
88714ece4d
Amazfit Bip: fix current weather not being displayed with latest firmware
2018-08-05 15:27:28 +02:00
protomors
fd68700b9a
NO1 F1: Set time during initialization.
2018-08-05 00:09:43 +02:00
protomors
343239ff9e
NO1 F1: Fixed typo.
2018-08-05 00:09:43 +02:00
cpfeiffer
5bca05caac
Fix loop condition!
2018-08-04 23:10:11 +02:00
Andreas Shimokawa
fe401bdcf5
Amazfit Cor: allow music control
2018-08-02 22:35:02 +02:00
Andreas Shimokawa
66391e10c9
Amazfit Cor: Allow to enable music menu on device
2018-08-02 22:29:52 +02:00
Andreas Shimokawa
cc7f6d7263
More Huami refactoring
...
- Rename MiBand2Service to HuamiService
- Move preferences around (Mi Band 2 has its own device specific settings now)
- Fix Cor menu items not syncing immediately in settings
- Try to support settings menu items on Mi Band 3 (buggy, disabled code for now)
2018-08-02 10:55:30 +02:00
Andreas Shimokawa
f464604b27
Amazfit Cor: Fix notification menu not being enabled
2018-08-01 23:13:36 +02:00
Andreas Shimokawa
c247efc720
add missing file
2018-08-01 22:58:41 +02:00
Andreas Shimokawa
486d7bdca6
Amazfit Cor: Allow setting menu items
...
(Also rename/refactor stuff from Mi Band 2 to Huami - still WIP)
2018-08-01 22:56:01 +02:00
cpfeiffer
16fb1a584d
Errors during activity track timestamp fixup should be non-fatal
...
So just log them. #1134
2018-08-01 19:49:09 +02:00
cpfeiffer
df84927954
Fix filename generation and add testcasce
...
Fixes #1169
2018-08-01 19:33:33 +02:00
cpfeiffer
7f1c0521ea
Small fixes to activity point timestamp fixup
2018-08-01 19:33:33 +02:00
szilardx
14a086c1f3
Add missing ActivityPoints and timestamp
2018-08-01 19:33:33 +02:00
Vadim Kaushan
e3408197f2
Merge remote-tracking branch 'upstream/master'
2018-07-31 09:18:50 +03:00
cpfeiffer
163b547395
Remove level_list_device.xml, just use the DeviceType icon
2018-07-30 22:49:00 +02:00
Vadim Kaushan
9a13d5ea4a
ID115: code cleanup
2018-07-30 23:24:20 +03:00
Vadim Kaushan
fd7a0cb124
ID115: fetching activity data
2018-07-30 23:23:13 +03:00
Vadim Kaushan
caabe0ed0a
ID115: use SendNotificationOperation for message and call notifications
2018-07-29 21:30:31 +03:00
Vadim Kaushan
14dc3ad9c5
ID115: add supportsFindDevice() function
2018-07-29 19:34:34 +03:00
Vadim Kaushan
458a363f11
Merge remote-tracking branch 'upstream/master'
2018-07-29 19:31:40 +03:00
José Rebelo
18b13b7772
Add missing break
2018-07-27 14:39:01 +01:00
José Rebelo
a43934651a
Allow devices to not support being found
2018-07-27 14:38:33 +01:00
Daniele Gobbetti
2147ab4948
Revert "Revert "remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate""
...
This reverts commit 63231ec49a
.
Please note that the comment of the reverted commit was inaccurate, as the Mi Band HRX was left untouched by it
and is left untouched byt this commit.
2018-07-27 15:13:21 +02:00
cpfeiffer
63231ec49a
Revert "remove unused getPrimaryActivity() from coodinators, mark Mi Band HRX as non-heartrate"
...
This reverts commit 495ba81edc
.
See discussion in https://github.com/Freeyourgadget/Gadgetbridge/issues/1165
2018-07-27 13:15:10 +02:00
dakhnod
63cb70ac9a
Fix missing sourceAppID field
2018-07-23 02:50:05 +02:00
Daniele Gobbetti
2da6749a40
Add activity kind (if known) to gpx filename
...
Fixes #1161
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
67a1191a3c
Use UTC timezone in GPX points
...
Fixes #1152
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
a5dd88df53
Fix discovery on devices with Android version < Lollipop
...
also reduce the amount of lines logged in discovery activity.
2018-07-22 16:14:36 +02:00
Daniele Gobbetti
290c6c53fb
Fix wrong mapping yahoo weather conditions to openweathermap.
2018-07-22 16:14:36 +02:00
Andreas Shimokawa
e96dcc69ab
Amazfit Bip: try to support weather in newer firmwares
2018-07-21 17:18:08 +02:00
Andreas Shimokawa
d1253348dc
Mi Band 3: whitelist tested firmware, res and font
2018-07-19 12:00:17 +02:00
Andreas Shimokawa
eef38d4680
Only use 0x00 as auth flags on Mi Band 3 - to not disturb other devices
2018-07-17 00:29:36 +02:00
Andreas Shimokawa
aa143577f8
Amazfit Cor: Support language switching on newer firmwares
...
I shamelessly assumed the firmware version (chose the version that was included in the same Mi Fit version when bip started to support the new command)
2018-07-16 15:18:46 +02:00
Vadim Kaushan
b6bd100f28
ID115: remove useless debug messages
2018-07-16 15:50:29 +03:00
Vadim Kaushan
65fbb4da5b
ID115: wrist setting
2018-07-16 15:48:37 +03:00
Andreas Shimokawa
f2aa71e32c
Amazfit Bip: Support Russian language.
...
Closes #1145
2018-07-16 14:36:52 +02:00
Andreas Shimokawa
46f3686764
Mi Band 3: Also send AQI for weather to make current temperature appear
2018-07-16 14:19:02 +02:00
Sebastian Kranz
c30ec7d407
BUGFIX: use newer weather icons, if firmware build is B41 or higher. The new firmware supports 24 icons, older ones have only 6.
2018-07-16 13:41:59 +02:00
Andreas Shimokawa
dc1e831630
Mi Band 3: Fix Pairing, this MIGHT break pairing for other devices (Bip/Cor/Mi Band 2)
2018-07-16 13:38:51 +02:00
Vadim Kaushan
c43a564a47
Merge remote-tracking branch 'origin/master'
2018-07-15 00:53:47 +03:00
Vadim Kaushan
a94e0b9463
ID115: log IO exceptions
2018-07-15 00:46:11 +03:00
Carsten Pfeiffer
1030a118a4
Merge pull request #1148 from Lightwars/zetime
...
Add MyKronoz Zetime support
2018-07-14 22:23:07 +02:00
Vadim Kaushan
fe9ec9b88a
ID115: screen orientation preference
2018-07-14 13:23:21 +03:00
Vadim Kaushan
02b3f23329
ID115: set steps goal
2018-07-13 15:00:16 +03:00
Sebastian Kranz
18202bffbd
Fix timestamps of activities, cause the watch reports them with 6 hours offset.
2018-07-13 13:24:47 +02:00
Vadim Kaushan
d66e9e6a8b
ID115: change device icon
2018-07-13 14:22:17 +03:00
Vadim Kaushan
c9e7a2ff1d
ID115: notification support
2018-07-13 14:08:11 +03:00
Vadim Kaushan
4bea2a3407
ID115: fix logger name
2018-07-13 13:54:19 +03:00
Sebastian Kranz
e54930788b
Add a divisor and divide the rawintensity to normalize it. It would be better to scale the divisor based on all steps of the day or something like that.
2018-07-13 11:06:21 +02:00
Sebastian Kranz
99bdb4a30a
Use evaluteGBDeviceEvent to send events to the app/android system, instead of calling directly the handle ufunctions.
2018-07-13 10:35:18 +02:00
Sebastian Kranz
f0174d904a
Bugfix: calendar needs the date as number. Add comment about converting date digits to characters.
2018-07-13 10:10:41 +02:00
boun
11c545362a
Do not crash inside the emulator ( #1150 )
...
As there is no bluetooth support in the emulator
2018-07-12 18:25:18 +02:00
Vadim Kaushan
36b956aed6
ID115: set manufacturer string
2018-07-12 16:53:57 +03:00
Vadim Kaushan
8a0263d3ff
ID115: Fix date calculation
2018-07-12 15:57:00 +03:00
Vadim Kaushan
814ca76733
ID115: basic support
2018-07-12 15:48:09 +03:00
Vadim Kaushan
26a1f97e43
ID115: coordinator
2018-07-12 15:47:08 +03:00
Vadim Kaushan
0e1331f172
ID115: declare device type
2018-07-12 15:45:00 +03:00
Sebastian Kranz
6781e1e14a
Rework onNotification function: Assemble the message and send decide, which icon should show up on the watch. Email support seems broken in newest firmware (1.7 Build 41) of the watch!
2018-07-12 07:30:41 +02:00
Sebastian Kranz
888d08ae77
Replace performConnected() with builder.queue(getQueue()) to write the commands and data to the watch.
2018-07-11 11:59:32 +02:00
Sebastian Kranz
c1673554ee
Better use bit shifting and masks to avoid negative values.
2018-07-11 07:17:40 +02:00
Sebastian Kranz
f3264fab0a
Fix typo.
2018-07-11 06:49:01 +02:00
Sebastian Kranz
7d8d484133
Merge branch 'master' into zetime
2018-07-10 06:48:20 +02:00
jonnsoft
09a36aa5e7
MiBand3 pairing fix
...
(cherry picked from commit 3656ed9648b28475c35764da8a5cbeb420cfc307)
2018-07-09 22:56:16 +02:00
cpfeiffer
f2ff1991da
Comment out chatty debug output
2018-07-09 22:55:20 +02:00
Andreas Shimokawa
3236e20657
Amazfit Bip/Cor: rework fimware detection to rely on strings instead of version numbers
...
The new version scheme and the fact that recent Bip and Cor firmwares are
impossible to distinguish by comparing data at fixed offsets make it necessary
to dynamically search for sequences of data. We do this now by searching for
"Amazfit Bip Watch" and "Amazfit Cor".
2018-07-08 12:16:26 +02:00
Sebastian Kranz
edee0904ff
Add all activity data to the database; at the moment not all are displayed. Try to fix value calculations, because negative results do not make sense here. Restrict the body length from notification to the max value of 256 characters.
2018-07-06 21:59:30 +02:00
Sebastian Kranz
0a37b8ef87
Fix music control. Now everytime the track changes the correct title is displayed. Set limits for volume up and down. Set a initial value of 50% at connect...
2018-07-06 20:33:45 +02:00
Sebastian Kranz
c2d608b0ef
Add time synchronization. Some values/parameters are fixed at the moment, which shouldn't be maybe.
2018-07-06 08:19:04 +02:00
Sebastian Kranz
fec1f1afc6
Fill function to to add a calendar event at the day view.
2018-07-05 10:28:27 +02:00
Sebastian Kranz
7c65fa4fc0
BUGFIX: correct the length needed if a string includes multi bytes. Because a character is encoded of up to 4 bytes. Fix using the correct progess and available variables for the activities. Also restict the volume up and down commands to 16 steps.
2018-07-05 07:25:17 +02:00
Andreas Shimokawa
6e34d313c7
Mi Band 3: allow setting language (english and spanish work)
2018-07-04 23:32:35 +02:00
Sebastian Kranz
ed20f69cc4
Add functionality to control the music playback from the watch. Not sure if all of this is correct. Having issues that the track title isn't updated until you issue a play, pause command from either the phone or watch.
2018-07-04 14:52:21 +02:00
Sebastian Kranz
6882127bec
Add function to sync weather data to the watch, translate weather codes to icons.
2018-07-04 07:09:50 +02:00
Sebastian Kranz
497372f377
Add support for sending some generic notifications for incoming calls, missed calls, sms, email, social and messenger.
2018-07-03 13:09:46 +02:00
Andreas Shimokawa
a3e22d573f
Amazfit Bip: Whitelist FW 1.0.2.00
2018-07-01 23:26:03 +02:00
Martin
91cbdfde10
added time limited on auto-fetch, and removed the creation of multiple autoFetchReceivers
2018-07-01 22:57:48 +02:00
Andreas Shimokawa
d1cba54425
Mi Band 3: Allow flashing fonts (untested)
2018-07-01 22:41:37 +02:00
Andreas Shimokawa
9303214997
Amazfit Cor: allow flashing fonts (seem to be the same as for bip, untested)
2018-06-30 00:32:29 +02:00
Andreas Shimokawa
87f9424ee3
Amazfit Bip: allow flashing latest beta firmware
2018-06-29 23:04:38 +02:00
Sebastian Kranz
59095dc29b
Clean-up the merge.
2018-06-29 11:18:36 +02:00
Sebastian Kranz
1b152c86ea
Merge branch 'master' into zetime
2018-06-29 10:43:11 +02:00
Sebastian Kranz
5e236e113f
Fix function to put step data into database, using the full unix epoch now. Add function for putting sleep and heartrate data into the database.
2018-06-28 13:48:41 +02:00
Konrad Iturbe
0f38c9a30e
Add RomanPort's AppStore Endpoint ( #1126 )
2018-06-27 09:02:55 +02:00
Sebastian Kranz
789fba95d1
Add function to check available activities and then get them. Add function to get the steps. First try to get the data into the database.
2018-06-27 09:01:26 +02:00
Andreas Shimokawa
2dda978453
Amazfit Bip/Cor: Fix scheduled setting for "display on lift wrist" preference
...
Fixes #1102
2018-06-26 17:43:54 +02:00
Sebastian Kranz
3539dd3e34
Get the also the device firmware version. Add function for messages that are broken down into two transmissions, because of their length.
2018-06-26 07:29:11 +02:00
Andreas Shimokawa
49a5f349b0
Amazfit Cor: Whitelist FW 1.0.7.88
...
Closes #1104
2018-06-25 21:37:26 +02:00
License Bot
225a600aed
Update license headers
2018-06-25 18:35:46 +02:00
Andreas Shimokawa
979a44a077
Mi Band 2: Grey out "rotate wrist to switch info" when "activate display upon lift" in not enabled in preferences
...
Closes #1124
2018-06-24 22:05:45 +02:00
Andreas Shimokawa
9d01989b27
remove unused import
2018-06-24 21:00:33 +02:00
Sebastian Kranz
e18b043d27
request activity info with a function.
2018-06-24 12:25:34 +02:00
Daniele Gobbetti
6807714af3
Register autofetch receiver in DeviceCommunicationService
...
This allows the register to be registered only when the device is connected,
and also toggling without completely exiting the application.
The logic in the receiver itself was simplified and an explanation added
to the preference summary.
2018-06-23 11:19:09 +02:00
Daniele Gobbetti
2a30e9486c
Reduce the amount of lines in the logcat for binary dumps
...
Concatenate the binary values instead of logging one byte per line.
2018-06-23 11:15:03 +02:00
Kranz
65f12bc1ee
Fix error inside the isMsgFormatOK function. Add DeviceInfoHandler to read the hardware info and notify about battery level.
2018-06-22 07:20:45 +02:00
Sebastian Kranz
1213ecc344
Add function for requesting device info and battery level.
2018-06-21 19:56:13 +02:00
Andreas Shimokawa
c6b23041f7
Pebble: Always connect to SDP UUID on NON-LE Pebble
...
Fixes #726
2018-06-20 22:06:45 +02:00
Daniele Gobbetti
f99895da0c
Remove activity transfer toast, add title to the transfer notification
...
Also create a separate channel that allows "muting" transfer notifications
on android oreo and above.
2018-06-19 22:03:49 +02:00
Martin
36aae1e81c
Auto sync feature ( #1127 )
...
* Auto fetch feature
fixes #1116
2018-06-19 21:54:15 +02:00
Daniele Gobbetti
b81de63b30
Use checkboxes for notification and pebblemsg blacklist
...
also support dark theme and add a menu entry for accessing blacklist functionality
2018-06-19 18:26:06 +02:00
Daniele Gobbetti
d55d551943
Add overflow menu to blacklist and whitelist all installed applications
...
Fixes #679
2018-06-18 21:29:12 +02:00
Andreas Shimokawa
3f06a8c2a6
Rename file to match class name.
2018-06-18 21:22:34 +02:00
Daniele Gobbetti
2ca8e4a4e4
Forward notifications marked as local only if they are emitted by skype
...
Also add skype for business package name.
Blind implementation as I don't have access to these apps.
Fixes #1109
2018-06-18 20:52:26 +02:00
Daniele Gobbetti
4d0020ae1d
Add the option the blacklist applications also for Pebble Messages
...
Fixes #996
2018-06-18 20:38:37 +02:00
Daniele Gobbetti
2f4c9ef0d9
Keep the embossed logo visible behind the device cards.
2018-06-18 20:27:38 +02:00
Daniele Gobbetti
3c00332a77
Always stop BT/BTLE discovery when exiting the Discovery Activity
...
Hopefully solves the leaks
2018-06-18 20:26:28 +02:00
Daniele Gobbetti
45ecdaa213
Pebble: Webview: do not use the contextWrapper if it's null.
...
It should never happen but I had a crash on API 19, possibly a race condition
somewhere.
2018-06-18 20:23:23 +02:00
Andreas Shimokawa
9bcae3e000
Amazfit Bip: Whitelist FW 0.1.1.45
2018-06-16 23:35:02 +02:00
Kranz
c611042e51
Add more commands. Add message check function.
2018-06-15 13:40:16 +02:00
Kranz
89c8c9cdfb
First communication test between ZeTime and GB. Ask about activitys, sleep and heart-rate infos available. ZeTime responds correctly
2018-06-15 11:23:44 +02:00
Andreas Shimokawa
99dec159f7
Mi Band 3: add untested and incomplete support
...
This also improves firmware/RES probing to distinguish Mi Band 2/3 firmware files and Mi Band 3/Bip RES files.
Notes:
- Firmware flashing should might but is untested
- This basicall runs off the Amazfit Bip code which will probably incorrect (Mi Band 3 is proabably something between the Bip and the Mi Band 2)
2018-06-14 18:16:49 +02:00
Andreas Shimokawa
3dd1929436
Huami devices: Minor refactoring
2018-06-14 16:30:43 +02:00
Sebastian Kranz
48affad220
Add some UUIDs and Cmds. Connect further.
2018-06-08 16:28:05 +02:00
Kranz
905f49101b
Set activity support to true. Add bonding style none.
2018-05-29 12:57:08 +02:00
tiparega
3852f925da
Added support for Q8 devices
2018-05-20 19:52:08 +02:00
Andreas Shimokawa
d1368c2ed8
Amazfit Bip: Whitelist FW 0.1.1.41
2018-05-20 19:42:29 +02:00
Daniele Gobbetti
3c3e38741a
Pebble: remove the legacy countdownlatch on Pebble GATT server code
...
The GATTServer code is now in line with the new GATTClient code.
2018-05-19 22:42:05 +02:00
Daniele Gobbetti
f1736808cb
Auto connect at boot on recent androids respecting the user settings
...
Automatically connect at boot if gadgetbridge is configured to start at
boot and to attempt an automatic connection when bluetooth is available
Fixes #693 and fixes #891
2018-05-16 19:08:53 +02:00
Daniele Gobbetti
65b0d9da4b
Explicitly register the bluetooth state change receiver on Oreo
...
The implicit manifests declaration is not enough anymore
2018-05-16 19:03:06 +02:00
Daniele Gobbetti
d109630e74
Use TelephonyManager getCallState() instead of the provided extras
...
According to the documentation the current call state might be not correctly
contained in the extra, and using getCallState() is the right thing to do
Might help for #799 (and #756 )
2018-05-16 18:56:36 +02:00
Andreas Shimokawa
3b25181a32
Amazfit Bip: allow enabling shortcuts (weather, Alipay)
2018-05-15 23:12:18 +02:00
Daniele Gobbetti
e6748c34fc
Update the notification from DeviceManager instead of DeviceCommunicationService
...
Since the device object (local to DCS) is set to null on disconnect, the
notification could not get updated from within the receiver. DeviceManager
does not have such issues.
The problem appeared with 3f421facab
2018-05-13 20:19:09 +02:00
Andreas Shimokawa
f46c204c75
Amazfit Cor: Whilelist FW 1.0.7.52
...
Closes #1087
2018-05-12 22:20:49 +02:00
Andreas Shimokawa
511fef7f62
Pebble 2: when using client only mode, no not wait for PPoGATT ACKs after each package
...
This speeds up things up a lot. We should still somehow limit it, but not by waiting
after one PPoGATT ACK after each complete PP package.
This leaves the old mode untouched, so we have something to compare
2018-05-12 17:18:19 +02:00
Andreas Shimokawa
eb08e66674
Amazfit Cor: make sure that Veats firwmare does not get detected as a Cor firmware...
2018-05-12 00:15:14 +02:00
Andreas Shimokawa
746cb00460
Amazfit Cor: Fix recogition of new firmwares
...
Newer Cor and Bip firmwares seem to be indistinguishable,
What we do for now is use the version we already search for say
Bip firmwares are valid from 0.0.8.00 to < 1.0.5.00 (lastest as of today is 0.1.0.39)
Cor firmwares are valid from 1.0.5.00
This should work for a while.
Fixes #1095
2018-05-12 00:05:30 +02:00
Andreas Shimokawa
3f421facab
Always cleanup device and receiver in service when disconnecting
...
Fixes #1093
I have no idea why the code was like this, so the change might have some bad consequences...
2018-05-11 20:50:29 +02:00
Martin Piatka
00ee9b6828
Mi Band 2: wait at least 4s before sending notification text
...
This fixes notification text not displaying when a short vibration
pattern is set.
If the notification text is sent while the icon is still visible
it is not displayed. We need to wait until it disapears (about 4 seconds)
2018-05-11 18:07:50 +02:00
Andreas Shimokawa
9e2558beac
Pebble 2: make gatt client only mode available to users
2018-05-11 14:23:41 +02:00
Andreas Shimokawa
cdf6039d4c
Pebble 2: fixes for experimental client only gatt code
...
This basically makes sure that
- only one gatt write operation is in progress
- data is not sent from within callbacks to prevent a deadlock when waiting for a nre callback that cant happen yet beause the current has not been retuned
2018-05-11 13:21:40 +02:00
Andreas Shimokawa
f6131772d6
Pebble2: WIP broken and disabled GATT client only support
...
This will eliminate the need for the Phone being a GATT Server and might lead
to better connection stability once it is ready.
NOTE: Enabling this in the code (change clientOnly=true in PebbleLESupport)
will only work for a few packets before in totally breaks, so only enable
if you want to fix it :P
2018-05-10 22:03:03 +02:00
Andreas Shimokawa
bd012cab2a
fix typo
2018-05-07 22:20:18 +02:00