Commit Graph
100 Commits
Author SHA1 Message Date
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
Andreas Shimokawa 086fc75629 try to satisfy travis 2018-10-31 22:03:40 +01:00
Andreas Shimokawa 6b136210a1 bump android gradle plugin and build tools version 2018-10-28 21:31:09 +01:00
Andreas Shimokawa dde8a5044f Mi Band 3: Whitelist FW 1.8.0.0 2018-10-28 15:32:57 +01: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
Andreas Shimokawa c6d8086d32 add fastlane changelog 2018-09-17 23:11:42 +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
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
Andreas Shimokawa 4d1ce2b72c Mi Band 3: temporarily disable sunset/sunrise night mode setting
Will revert after we support setting sunrise/sunset
2018-08-27 22:58:30 +02:00
Andreas Shimokawa 0e4fb0f5b8 update feature matrix 2018-08-25 09:51:25 +02:00
Andreas Shimokawa 3d65911440 fix typos in changelog 2018-08-19 23:28:00 +02:00
Andreas Shimokawa 7d4df50c69 add fastlase and xml changelog for 0.29.1 2018-08-19 22:30:58 +02:00
Andreas Shimokawa 4895c1733d bump version, add changelog 2018-08-19 21:40:57 +02: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 ShimokawaandHosted Weblate 1e877c63c9 Translated using Weblate (German)
Currently translated at 93.0% (497 of 534 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2018-08-18 23:03:47 +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
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
Andreas Shimokawa 3af7b1dd3a fix version code 2018-08-12 10:02:45 +02:00
Andreas Shimokawa 5b683e10c1 update readme, add changelog 2018-08-12 09:40:13 +02:00
Andreas Shimokawa d070fb18d2 update changelog 2018-08-12 00:28:47 +02: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
Andreas Shimokawa 862bf79afb update changelog 2018-08-09 23:47:29 +02: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
Andreas Shimokawa 774797ea09 add changelog, bump version 2018-08-06 23:46:25 +02:00
Andreas Shimokawa 88714ece4d Amazfit Bip: fix current weather not being displayed with latest firmware 2018-08-05 15:27:28 +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
Andreas Shimokawa 872a91b0b5 Fix "Amazfit Bit" typo 2018-07-22 16:39:37 +02:00
Andreas Shimokawa 8b445bab20 Bump version, add changelog 2018-07-22 16:31:38 +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 c7125f78cf no comment 2018-07-17 16:12:15 +02:00
Andreas Shimokawa 1f6850a4b3 update changelogs 2018-07-17 16:01:41 +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
Andreas Shimokawa 78734f50cc Update changelog and readme 2018-07-16 14:49:58 +02: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
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
Andreas Shimokawa 27ea722021 bump gradle plugin version 2018-07-16 13:37:08 +02:00
Andreas Shimokawa 93117993e1 Bump version, start changelog 2018-07-15 03:04:43 +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
Andreas Shimokawa 6e34d313c7 Mi Band 3: allow setting language (english and spanish work) 2018-07-04 23:32:35 +02:00
Andreas Shimokawa a3e22d573f Amazfit Bip: Whitelist FW 1.0.2.00 2018-07-01 23:26:03 +02:00
Andreas Shimokawa 85176e7c3c Bump version, update changelogs 2018-07-01 23:07:39 +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
Andreas Shimokawa fbdd4ddb87 add xml and fastlase changelogs 2018-06-26 21:14:46 +02:00
Andreas Shimokawa f59c4cdf24 update CHANGELOG 2018-06-26 21:04:15 +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
Andreas Shimokawa 49a5f349b0 Amazfit Cor: Whitelist FW 1.0.7.88
Closes #1104
2018-06-25 21:37:26 +02:00
Andreas Shimokawa f8a1da8a83 Bump version, add CHANGELOG 2018-06-25 21:31:29 +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
Andreas Shimokawa c6b23041f7 Pebble: Always connect to SDP UUID on NON-LE Pebble
Fixes #726
2018-06-20 22:06:45 +02:00
Andreas Shimokawa 3f06a8c2a6 Rename file to match class name. 2018-06-18 21:22:34 +02:00
Andreas Shimokawa 9bcae3e000 Amazfit Bip: Whitelist FW 0.1.1.45 2018-06-16 23:35:02 +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
Andreas Shimokawa 985b34868a update changelogs 2018-05-20 20:00:15 +02:00
Andreas Shimokawa d1368c2ed8 Amazfit Bip: Whitelist FW 0.1.1.41 2018-05-20 19:42:29 +02:00
Andreas Shimokawa 3b25181a32 Amazfit Bip: allow enabling shortcuts (weather, Alipay) 2018-05-15 23:12:18 +02:00
Andreas Shimokawa d259b4ecbf Bump version, add changelog 2018-05-12 23:05:48 +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 b5a3290d8d update grade plugin 2018-05-12 21:12:10 +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
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
Andreas Shimokawa 5df799419e Mi Band 2: 2hitelist Firmware 1.0.1.81
Closes #1070
2018-05-07 21:54:44 +02:00
Andreas Shimokawa e36ecb1e2c shorten Geman fastlane short description also 2018-05-06 17:08:09 +02:00
Andreas Shimokawa a615ba6d82 bump version, update changelog 2018-05-06 16:43:17 +02:00
Andreas Shimokawa b585fde78a Amazfit Bip: Raise .res limit to 700000 bytes for modded files 2018-05-06 16:34:14 +02:00
Andreas Shimokawa 8fe0c213cb Amazfit Bip: Whitelist a bunch of new FW versions 2018-05-06 09:54:31 +02:00
Andreas Shimokawa 1996184d69 Amazfit Bip: fix fetching logs from device via debug menu 2018-05-03 23:31:18 +02:00
Andreas Shimokawa 9d0de4d455 update android support libraries 2018-04-29 23:10:28 +02:00
Andreas Shimokawa c663ba190d Amazfit Bip: try to fix byte sequence when setting menu items 2018-04-27 21:20:42 +02:00
Andreas Shimokawa cf438618aa Amazfit Bip: actually include FW 0.1.1.14 in the allowed firmwares that can change menu items 2018-04-27 21:05:52 +02:00
Andreas Shimokawa e1ef2455dc Amazfit Bip: allow to set displayed menu item in firmware >=0.1.1.14
NOTE:
- You will have to be connected while doing the changes in preferences (FIXME)
- It might not work at all since I did not test after the latest changes :P
2018-04-27 09:28:33 +02:00
Andreas Shimokawa c036701722 xml sucks 2018-04-25 22:36:22 +02:00
Andreas Shimokawa db9d1426a2 add changelog, bump version 2018-04-25 22:24:55 +02:00
Andreas Shimokawa a1308e816e typo 2018-04-16 20:17:24 +02:00