1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-10 03:59:24 +01:00
Gadgetbridge/app/src
Andreas Shimokawa 09632afb78 Huami: Fix stuck in connecting for most cases
This happened when sending a notification while doing authentication.
The reason the notification came though is the "auto connect" code that is
supposed to connect when a message arrives, so that it does not get lost.

This code and DeviceSupport::useAutoConnect() is probably totally useless by now
and could be removed in favor of the "waiting for reconnect" state.

The bug could have been solved by setting the device busy during authentication
in Huami code, but I did it by...

Note to self:
"Block everything except a disconnect request in DeviceCommunicationService
if the device is not yet initialzed but connected, assuming it is somewhere in
the middle doing something important"
2019-12-20 07:58:26 +01:00
..
main Huami: Fix stuck in connecting for most cases 2019-12-20 07:58:26 +01:00
test Move another file from AmazfitBip to Huami which is no longer Bip specific 2019-08-13 22:20:18 +02:00