1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-16 10:24:03 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
cpfeiffer
1e3ba57b03 fix unpaired MI devices disappearing from view (#15) 2015-04-20 23:25:46 +02:00
cpfeiffer
f6208f1031 fix warning 2015-04-20 22:44:22 +02:00
Andreas Shimokawa
16ea52e83c add hardware revision string to GBDevice, get and display HW Revision from Pebble 2015-04-20 12:48:32 +02:00
Andreas Shimokawa
fbbc808ca8 Make GBDevice parcable to make passing it via Intents more convinient 2015-04-20 11:58:59 +02:00
Andreas Shimokawa
cd0139cd7c add isConnecting() method to GBDevice 2015-04-20 10:50:30 +02:00
cpfeiffer
2dcd95a1f5 #15 support for reading firmware version and battery info 2015-04-19 22:20:47 +02:00
cpfeiffer
7b433f0d18 add state string for INITIALIZED 2015-04-19 15:21:15 +02:00
cpfeiffer
88e2b7ff99 #15 automatically toggle the broadcast receiver using connectoin status
Makes "real" notifications where for the MI Band, not just those from
the debug activity.
2015-04-19 14:35:28 +02:00
Andreas Shimokawa
dd12bb11b2 reformat code with androidstudio 2015-04-19 11:28:03 +02:00
cpfeiffer
09914e6da0 #15 Initial support for MI Band
1) The MAC address has to be added manually for now (Settings -> Debug) 
2) Configure other notifications as desired
3) After doing that, restart Gadgetbridge, after that, the device should
be visible.
4) Tap it to connect
5) Try the Debug activity via the Menu to send some dummy notifications
=> Your MI should vibrate and blink

Also: add some extra files necessary to support Eclipse ADT. To be
migrated to Andmore, later.
2015-04-19 02:37:29 +02:00
Andreas Shimokawa
bb44cb1e19 reformat code with androidstudio 2015-04-13 11:22:03 +02:00
cpfeiffer
09bb5d4a3e Refactoring: extracted inner GBDeviceIOThread classes to own files
To enable this, extracted some shared functionality into new GB helper
class.
2015-04-13 01:02:26 +02:00
Andreas Shimokawa
90fe75e044 get free slot always before actually installing a pbw. fixes #17 and #18 2015-04-07 23:57:12 +02:00
Andreas Shimokawa
2c1cacedb3 Pebble: working on app installation (WIP, do not use) 2015-04-06 20:58:35 +02:00
Andreas Shimokawa
9d74cee093 add icons for pebble and watchfaces. Store app type in GBDeviceApp. Store device type in GBDevice. 2015-03-31 23:34:19 +02:00
Andreas Shimokawa
0ccb818f58 Added AppManager, does not do anything useful yet. Only lists installed Apps. 2015-03-25 22:23:45 +01:00
Andreas Shimokawa
2e7f45433a display connection status in the device list 2015-03-22 23:38:51 +01:00
Andreas Shimokawa
05c07aa611 Get and display Pebble firmware version when connected. 2015-03-22 00:34:54 +01:00
Andreas Shimokawa
4e465928e6 List all suported devices and connect on tap. Remove the connect button. 2015-03-21 18:18:07 +01:00