mirror of
https://github.com/mjg59/python-broadlink.git
synced 2024-11-21 14:43:30 +01:00
Update packet count in the authentication step
This commit is contained in:
parent
1c5ba74f46
commit
6f1f976e2f
@ -195,6 +195,7 @@ class device:
|
||||
if len(key) % 16 != 0:
|
||||
return False
|
||||
|
||||
self.count = int.from_bytes(response[0x28:0x30], "little")
|
||||
self.id = payload[0x03::-1]
|
||||
self.update_aes(key)
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user