MrYoranimo
3ad389d57d
BtBR/Xiaomi: fix disconnection logic/state handling
2024-04-07 20:25:52 +00:00
MrYoranimo
339859c829
Xiaomi: change BLE max chunk size with MTU changes
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
ce179a29ae
Xiaomi: introduce XiaomiSppSupport
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
FYG_license_bot_ignore_me
4c7476845b
Update license headers and CONTRIBUTORS file
2024-01-10 19:01:48 +01:00
José Rebelo
ec050d7a4f
Xiaomi: Unify encrypted and plaintext logic
2023-12-02 11:25:32 +00:00
José Rebelo
ba0ca1de75
Delegate auth key validation to coordinator
2023-12-02 10:59:34 +00:00
José Rebelo
543c8b28d0
Rename org.bouncycastle package
...
Fixes roboelectric in unit tests.
2023-11-25 21:16:53 +00:00
José Rebelo
48e149aefe
Xiaomi: Refactor XiaomiCharacteristic to improve logging and ordering
...
Fixes a potential race condition on initialization, since the chunked
commands were being scheduled on a separate transaction builder, which
would be scheduled to be written before the initialization.
2023-11-25 21:16:53 +00:00
José Rebelo
1acd3ac5fd
Xiaomi: Remove usage of TransactionBuilders
2023-11-25 21:16:53 +00:00
Andreas Shimokawa
7de94432d0
Mi Watch Lite: authenticate via use XiaomiAuthService, handle subtype 5 send user id reply
...
This makes device info and battery status work since AuthService calls phase2Initialize()
2023-11-25 21:16:52 +00:00
Andreas Shimokawa
d3fa3e2c05
Xiaomi Protocol: Add userId auth command
2023-11-25 21:16:52 +00:00
José Rebelo
0ed169c153
Xiaomi: Refactor characteristics (wip, chunked is broken)
2023-11-25 21:16:52 +00:00
José Rebelo
f0188f3499
Mi Band 8: Refactor cipher to auth service
2023-11-25 21:16:33 +00:00