1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-30 08:46:16 +02:00
Commit Graph

2005 Commits

Author SHA1 Message Date
João Paulo Barraca
ae9ebc1be8 Refactoring some parts. Added support for param synchronisation with band 2016-12-21 23:57:57 +00:00
João Paulo Barraca
5b3ef8999f Add preliminary support for HPlus devices, such as the Zeblaze Zeband (and many others)
Working: Text and call notifications, setting most user data, date and time, heart rate monitoring, sleep monitoring (alfa)
2016-12-21 12:51:25 +00:00
Daniele Gobbetti
846c74aa86 Forward also group summary notifications, if they contain wearable actions. Hopefully helps with #456
Tested with conversations and there is no regression. Also a specific workaround for telegram was removed, hopefully this does not break #395
2016-12-18 18:00:16 +01:00
Daniele Gobbetti
f1965c7b00 Log the flags also when passing the notification to device #456 2016-12-18 11:03:54 +01:00
Daniele Gobbetti
861c655b5d Log the incoming notification flags.
Should help further diagnosing #456
2016-12-18 10:40:30 +01:00
Daniele Gobbetti
1f1a34cf25 Replace the contributors.md file with a self-generating contributors.rst file.
The contributors.rst file is a bash quine originally found here https://gist.github.com/danielegobbetti/c691740ec6f815c75c065049fdc35243
2016-12-17 18:16:28 +01:00
Andreas Shimokawa
97aed43518 Pebble: fix for previous commit
(potential crashes when installing and receiving notifications)
2016-12-17 00:17:05 +01:00
Andreas Shimokawa
321298e08a update CONTRIBUTORS.md
(manually remove duplicates)
2016-12-17 00:00:31 +01:00
Andreas Shimokawa
2b3592f354 Pebble: allow sending data to the pebble during installation on FW >= 3.0
It seems to be no problem to recieve notifications etc during app installation with non legacy firmwares :)
2016-12-16 23:47:59 +01:00
cpfeiffer
375aa491d4 Another build fix 2016-12-15 21:06:17 +01:00
cpfeiffer
caaa38ed04 Mi2: support for current battery status #449
so far we understand
- last charge date
- current level
- state normal
- state charging

and we are notified on changes.
2016-12-14 00:50:43 +01:00
cpfeiffer
dd48869fa5 Mi2: move Miband2Support into the package it belongs 2016-12-14 00:28:35 +01:00
cpfeiffer
ed36410500 Empty commit to get f-droid to try another build
(apparently there was a build problem on f-droid's side)
2016-12-13 17:43:59 +01:00
cpfeiffer
efe3f2773b Mi2: mention firmware update 2016-12-11 23:43:13 +01:00
cpfeiffer
6e633e948a Updated translations from transifex (Thanks!) 2016-12-11 23:36:41 +01:00
cpfeiffer
c69889d177 Simplified + fixed ArrayUtils.equals() + added lots of testcases 2016-12-11 23:30:20 +01:00
cpfeiffer
eb8129f62e Remove outdated comment 2016-12-11 23:30:20 +01:00
cpfeiffer
bcfc8bc110 Mi1/Mi2: fix firmware file probing for the different devices 2016-12-11 23:30:20 +01:00
Daniele Gobbetti
bb5791485c Add log statements when notifications are not sent to gadget
This should help debuggin #456
2016-12-11 22:48:12 +01:00
cpfeiffer
40354f8f5a Some @Override 2016-12-11 21:31:27 +01:00
cpfeiffer
94c0d6af9d Mi2: Fix off-by-one in activity fetching 2016-12-11 21:31:27 +01:00
Andreas Shimokawa
31122f0b09 Pebble: Propagate watch apps launches outside of PebbleProtocol
This does not do anything yet.
2016-12-11 20:25:46 +01:00
cpfeiffer
daf6d12c62 Updated changelog for Mi2 fw update 2016-12-11 02:26:45 +01:00
cpfeiffer
6dfc895303 Mi2: Initial work on firmware update #427 2016-12-11 02:11:58 +01:00
cpfeiffer
4a19046301 Mi2: Some characteristics and opcodes for fw update 2016-12-11 02:11:58 +01:00
cpfeiffer
fd2c182714 Mi 2: another characteristic rename (0000005) 2016-12-11 02:11:58 +01:00
cpfeiffer
83ad2a9bd9 Mi 2: rename characteristic 00000003 to "CONFIGURATION" 2016-12-11 02:11:58 +01:00
Andreas Shimokawa
0e1287e382 Pebble: also execute AppMessageHandler.pushMessage() if present when connection gets established
This does not have any effect now since pushMessage() is not used in this branch
2016-12-09 23:21:51 +01:00
Daniele Gobbetti
388c47ea29 Add some changelog items 2016-12-09 20:25:00 +01:00
Andreas Shimokawa
6d713a9be5 update Japanese and Spanish from transifex (thanks) 2016-12-09 20:15:28 +01:00
Andreas Shimokawa
17b581022b optimize imports 2016-12-09 20:14:17 +01:00
Kevin Richter
34296c021f Revamp Notification types Pebble (#453)
* Remove notification switches for enum & hashmap
* Fix code style
* Fix null reference exception
* Add whatsapp support
* Remove duplicate entry
2016-12-09 17:54:19 +01:00
Daniele Gobbetti
3e9898d86c Pebble: call the "ready" method also when returning from the external web browser
Additionally don't call decodeURIcomponent as the getURLVariable function already does this. Needed by apps like "slides of time". Closes 454
2016-12-09 11:55:11 +01:00
Andreas Shimokawa
313499abd4 Pebble: also display debug level in app logs output 2016-12-08 23:20:00 +01:00
Andreas Shimokawa
f735739396 bump version, update changelog, add pebble time 2 to changelog as it should work 2016-12-08 19:27:25 +01:00
Daniele Gobbetti
2d0489960e Pebble: boilerplate code to open dictation session #189
This is just boilerplate code, doesn't do anything but will do no harm as it's not called from anywhere
2016-12-08 16:38:31 +01:00
Daniele Gobbetti
13b761c073 Liveview: add notice to changelog 2016-12-08 09:17:45 +01:00
Andreas Shimokawa
ed38e524bf Make some static stuff non-static (potentially fixes instant run problem and leaks) 2016-12-07 23:13:51 +01:00
Daniele Gobbetti
259eb51784 Merge pull request #445 from Freeyourgadget/liveview
Liveview: Initial support for Liveview devices
2016-12-07 13:21:40 +01:00
Daniele Gobbetti
6a09023c24 Liveview: add some sanity checks to the incoming data lenghts 2016-12-07 13:09:15 +01:00
cpfeiffer
04c3bc8203 Updated README wrt bonding Mi Band a little bit 2016-12-06 21:28:16 +01:00
Carsten Pfeiffer
82a05e29df Merge pull request #446 from carlos-ferreira/patch-1
Updated known issues for Mi Band
2016-12-06 21:23:23 +01:00
Andreas Shimokawa
9e8aae3b2c update Japanese from transifex (thanks!) 2016-12-05 22:51:48 +01:00
Daniele Gobbetti
4eb56eb9ca Liveview: refactor the BT stream reading functionality
Read the expected number of bytes at each step instead of a single byte.
2016-12-05 17:45:03 +01:00
Carlos Ferreira
4f08e18073 Updated known issues for Mi Band
I was trying to "bond" the band with Gadgetbridge , but it only worked after unpairing from MiFit app and later trying again on Gadgetbridge.
2016-12-05 16:23:08 +00:00
Daniele Gobbetti
e53b8b6b32 Liveview: ignore the SocketTimeoutException, disconnect in any other case 2016-12-04 21:04:30 +01:00
Daniele Gobbetti
e773b71194 Liveview: add device and supported features in README 2016-12-04 20:46:34 +01:00
Daniele Gobbetti
219cc7bff1 Merge branch 'master' into liveview 2016-12-04 20:42:29 +01:00
cpfeiffer
928bdd5d36 Adjust comments to current values
They look plausible compared to 1S activity
2016-12-04 20:25:20 +01:00
Daniele Gobbetti
8c01123a48 Liveview: addressed the first feedback.
- centralized string encoding and byte order
- replaced printStrackTrace with LOG.error
2016-12-04 19:10:58 +01:00