mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-05 06:27:32 +01:00
dc51714d01
Based on the profile version which is 0x2000700 for both the bug reporter on a Mi Band 1 and for me on a Mi Band 1s this either expects packets with length 20 (old firmwares) or 16 for HR enabled bands and 18 for non-HR enabled bands (new firmwares) We check for profile version >=0x02000000 which is guessed, that needs confirmation for older firmwares and untested ones Fixes #915