MrYoranimo
1185699c56
BtBRQueue: use Handler(Thread) for sending messages and connecting socket
2024-01-17 20:16:38 +00:00
MrYoranimo
ae97e961b9
Xiaomi: add potential service and characteristic UUIDs
2024-01-17 20:16:38 +00:00
MrYoranimo
339859c829
Xiaomi: change BLE max chunk size with MTU changes
2024-01-17 20:16:38 +00:00
MrYoranimo
53a7cc5b30
Xiaomi: run data upload service finalization on respective queue
2024-01-17 20:16:38 +00:00
MrYoranimo
d217a0b15f
Xiaomi: fix only short-bytes from int nonce being used during encryption
2024-01-17 20:16:38 +00:00
MrYoranimo
b9cbd14ffe
Xiaomi: fix logic for ability to select widget workout type
2024-01-17 20:16:38 +00:00
MrYoranimo
b31d98c7a0
Xiaomi: add support for data uploading over SPP
2024-01-17 20:16:38 +00:00
MrYoranimo
e5c2bd51c2
Xiaomi: refactor XiaomiCharacteristic to use callback per message
2024-01-17 20:16:38 +00:00
MrYoranimo
592a52054f
Xiaomi: request battery level and charging state on an interval
2024-01-17 20:16:38 +00:00
MrYoranimo
429d717630
Xiaomi: recognize a full battery as a valid charger state
2024-01-17 20:16:38 +00:00
MrYoranimo
2ef461ab90
Add header to device-specific activity data settings
2024-01-17 20:16:38 +00:00
MrYoranimo
399248e22c
Xiaomi: allow forcing the connection type from connection settings
2024-01-17 20:16:38 +00:00
MrYoranimo
2812ad1429
Xiaomi Watch S1 Active: disable find device and override connection type
2024-01-17 20:16:38 +00:00
MrYoranimo
815582354d
Redmi Watch 3 Active: override connection type
2024-01-17 20:16:38 +00:00
MrYoranimo
c9d880456a
Xiaomi Smart Band 8 Pro: add experimental support
2024-01-17 20:16:38 +00:00
MrYoranimo
1d1ef9fba6
Xiaomi Watch S1: add experimental support
2024-01-17 20:16:38 +00:00
MrYoranimo
04460fc3f4
Xiaomi Watch S1 Pro: add experimental support
2024-01-17 20:16:38 +00:00
MrYoranimo
ce179a29ae
Xiaomi: introduce XiaomiSppSupport
2024-01-17 20:16:38 +00:00
MrYoranimo
ac1991104b
BtLEQueue: add null check in onMtuChanged for mWaitForActionResultLatch
2024-01-17 20:16:38 +00:00
MrYoranimo
98e8ec2329
Xiaomi: Introduce XiaomiConnectionSupport
...
Co-Authored-By: José Rebelo <joserebelo@outlook.com>
2024-01-17 20:16:38 +00:00
José Rebelo
8574a41fe7
Xiaomi: Fix sleep sometimes extending past the wakeup time
2024-01-17 20:13:07 +00:00
José Rebelo
4231e97cff
Sony Headphones: Allow choice of protocol version
2024-01-17 18:48:10 +00:00
Oleg Afanasyev
414cf5e472
Sport Activity Summary: fix group order instability
...
Previously group order was determined on the fly by available entries order or appearance.
This commit changes it to use group definition order.
2024-01-17 18:16:01 +00:00
José Rebelo
9095ffad8b
Mijia MHO-C303: Initial support
2024-01-17 17:55:15 +00:00
Martin.JM
e6aa0afa7e
Fix huawei debug request
2024-01-17 14:55:13 +01:00
José Rebelo
3b8428e795
Redmi Smart Band Pro: Fix password digits
2024-01-16 20:52:10 +00:00
José Rebelo
3a2b02df2a
Zepp OS: Query supported services and encryption flag
2024-01-15 21:27:01 +00:00
foxstidious
ba59c62fa4
Add support for snooze alarm on CasioGBX100 devices
2024-01-14 20:29:30 +00:00
José Rebelo
0b7c53698a
Xiaomi: Fix sleep stages extending past wakeup time
2024-01-14 17:02:42 +00:00
opcode
f5cf21bf05
Xiaomi: Parse SleepSummary
2024-01-14 17:02:42 +00:00
opcode
e06b2e1f95
Xiaomi: Implement sleep stage parsing
...
This allows sleep stage detection to work by parsing
some of the data sent in SleepDetails.
It's still missing parsing the summary contained inside SleepDetails.
and decoding the large amount of other mostly unknown data.
2024-01-14 17:02:42 +00:00
Damien 'Psolyca' Gaignon
1e1f0014c7
Huawei : Change method to get device name round 2
2024-01-13 17:27:09 +01:00
José Rebelo
8d7a6be7eb
Xiaomi: Enable activity fetching for all devices
2024-01-10 22:39:04 +00:00
José Rebelo
823bd829ce
Zepp OS: Add some missing control center items
2024-01-10 19:47:25 +00:00
Martin.JM
704875c3c2
Update license headers
2024-01-10 18:25:20 +00:00
FYG_license_bot_ignore_me
4c7476845b
Update license headers and CONTRIBUTORS file
2024-01-10 19:01:48 +01:00
José Rebelo
d63db41f90
Huami: Display proper error when battery too low to install firmware
2024-01-09 19:12:03 +00:00
José Rebelo
aeec68aeef
Huami: Fetch SpO2 on devices that support it
2024-01-09 17:43:43 +00:00
opcode
372aa88e6e
Xiaomi: Weather fixes and Implement wind and AQI
...
Many fields were incorrectly being sent as uint32 instead of sint32. This caused issues with forecast icons.
2024-01-09 17:28:50 +00:00
Damien 'Psolyca' Gaignon
cb7121a32e
Huawei : Change method to get device name
2024-01-09 17:27:37 +00:00
José Rebelo
9bfe3dcd5f
Huawei: Fix tests
...
- Allow the calendar to be passed as parameter for tests
- Disable the setWearMessage test, for now, broken since 5b0736b751
2024-01-09 17:27:18 +00:00
Damien 'Psolyca' Gaignon
e489d0d811
Fix string comparison
2024-01-08 21:29:57 +01:00
Davis Mosenkovs
5bcebe9590
Disconnect all devices that are not NOT_CONNECTED
...
Disconnect devices in all states except GBDevice.State.NOT_CONNECTED.
This should fix devices getting stuck in GBDevice.State.CONNECTING state
when Bluetooth is switched off.
2024-01-08 17:11:33 +00:00
Davis Mosenkovs
9e10da062e
Add "Reconnect only to connected devices" setting
...
* Add general_reconnectonlytoconnected setting.
* Replace last_device_address shared prefs string with
last_device_addresses shared prefs string set.
Bluetooth address of a device is added to last_device_addresses when
connecting to the device.
Bluetooth address of a device is removed from last_device_addresses only
when deleting the device or explicitly disconnecting from the device
(e.g. by selecting "Disconnect" in the device tile menu).
* Adjust ExternalPebbleJSActivity to better support multiple connected
devices.
2024-01-08 17:11:33 +00:00
Davis Mosenkovs
904a7807a8
Automatically connect to all devices
...
Automatically connect to all devices instead of connecting only to the
last connected device.
2024-01-08 17:11:33 +00:00
José Rebelo
705361ae3a
Huawei: Fix linter
...
Math.multiplyExact is only available on SDK24 onward. We do not expect
an overflow to occur here, since the hashLength is fixed and the outputLength
is small (32 on all current calls).
2024-01-08 13:43:26 +00:00
Damien 'Psolyca' Gaignon
0c22ecdd51
Huawei: Add initial support for Huawei-Honor
2024-01-07 23:18:08 +01:00
José Rebelo
ab894ae433
Extract hardcoded activity summary entries to constants
2024-01-06 13:54:06 +00:00
José Rebelo
4e54f8137d
Xiaomi: Improve walking v2 parsing
2024-01-05 21:29:12 +00:00
José Rebelo
a61f7d70d5
Xiaomi: Parse indoor cycling
2024-01-05 21:25:17 +00:00