aso824 / yeehack

Alternative way to control bluetooth Yeelock devices
Apache License 2.0
20 stars 2 forks source link

Need FIX protocol Description #3

Open yudxp opened 1 year ago

yudxp commented 1 year ago
    result = ActionPacket(
        timestamp=int.from_bytes(data[2:6], "big"),
        unlock_mode=UnlockMode(data[6]),
        signature=data[7:20]

in the code "signature = data[7:20]" isn't the HMAC only 13 bytes? and in time packet 14 bytes so the length of the data only 20bytes.