1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-07 22:22:00 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices
MrYoranimo 435d41aca0 Huami/Xiaomi: centralize handling of device state events
Gadgetbridge can be configured to perform an action when a
Huami device is taken off or the user was detected to fall asleep or
wake up. This functionality was specific to Huami devices, but this
changeset moves this upstream to the AbstractDeviceSupport class in
combination with new GBDeviceEvents.

Now that the ADS has centralized support for this functionality, the
same logic can be used for other devices. In this case, an
implementation is added for supported Xiaomi devices.
2023-12-09 00:20:22 +01:00
..
amazfitbip update license headers 2021-01-10 23:38:13 +01:00
asteroidos Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
banglejs Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
binary_sensor Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
casio Updates to address findings on PR 2023-11-25 22:52:26 +00:00
divoom Divoom Pixoo: Initial experimental support 2023-12-06 15:56:18 +01:00
domyos Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
femometer Support for Femometer Vinca 2 and HealthThermometerProfile (#3369) 2023-10-15 13:37:41 +00:00
fitpro Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
flipper/zero Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
galaxy_buds Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
hplus Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
huami Huami/Xiaomi: centralize handling of device state events 2023-12-09 00:20:22 +01:00
id115 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
itag Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
jyou Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
lefun Fix Bohemic Smart Bracelet recognition 2023-10-05 21:47:00 +01:00
lenovo Fix Bonding for the Casio GB5600/6900/STB-1000 series 2023-11-25 22:46:45 +00:00
liveview Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
makibeshr3 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
miband Fix Bonding for the Casio GB5600/6900/STB-1000 series 2023-11-25 22:46:45 +00:00
mijia_lywsd02 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
miscale2 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
no1f1 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
nothing Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
nut Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
pebble Xiaomi: Get canned messages from watch 2023-12-06 11:18:13 +00:00
pinetime PineTime: Improve notification handling 2023-11-23 21:30:42 +00:00
qc35 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
qhybrid Xiaomi: Get canned messages from watch 2023-12-06 11:18:13 +00:00
roidmi Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
smaq2oss Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
soflow Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
sony Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
sonyswr12 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
supercars Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
test Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
tlw64 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
um25 Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
vesc VESC: added name matching for Coordinator#supports 2023-10-06 13:13:09 +02:00
vibratissimo Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
vivomovehr Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
waspos Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
watch9 Fix Bonding for the Casio GB5600/6900/STB-1000 series 2023-11-25 22:46:45 +00:00
withingssteelhr Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
xiaomi Huami/Xiaomi: centralize handling of device state events 2023-12-09 00:20:22 +01:00
xwatch Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
zetime Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00
AbstractBLClassicDeviceCoordinator.java multi-device-support (#2526) 2022-06-14 18:05:41 +02:00
AbstractBLEDeviceCoordinator.java multi-device-support (#2526) 2022-06-14 18:05:41 +02:00
AbstractDeviceCoordinator.java Xiaomi: Get canned messages from watch 2023-12-06 11:18:13 +00:00
AbstractSampleProvider.java Device manager: moved device icons and name to Coordinator 2023-09-28 00:11:02 +03:00
AbstractSampleToTimeSampleProvider.java Xiaomi: Fix SpO2 2023-11-26 21:01:32 +00:00
AbstractTimeSampleProvider.java Introduce generic TimeSamples for recorded data 2023-05-22 22:15:35 +00:00
DeviceCoordinator.java Xiaomi: Get canned messages from watch 2023-12-06 11:18:13 +00:00
DeviceManager.java Based on Play Store crash reports and stack traces, add a null check to try and avoid crashes 2023-05-22 13:38:04 +01:00
EventHandler.java Zepp OS: Add loyalty cards integration with Catima 2023-07-03 23:19:19 +01:00
InstallHandler.java update license headers 2021-01-10 23:38:13 +01:00
SampleProvider.java Add Steps streaks screen 2022-07-30 10:07:26 +02:00
TimeSampleProvider.java Introduce generic TimeSamples for recorded data 2023-05-22 22:15:35 +00:00
UnknownDeviceCoordinator.java Device Manager: replaced getSupportedType with supports method 2023-10-05 20:34:53 +00:00