Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

struct.error: unpack requires a buffer of 9 bytes #208

Open
montjoie opened this issue May 29, 2021 · 0 comments
Open

struct.error: unpack requires a buffer of 9 bytes #208

montjoie opened this issue May 29, 2021 · 0 comments

Comments

@montjoie
Copy link

when refreshing devices I got:
DEBUG:zigate:Raw packet received, b'\x01\x87\x02\x12\x02\x10\x02\x1aO\xf0\x02\x11\x02\x11\x02\x122\xef\xe7\x02\x18\x02\x10\x02\x10\x03'
DEBUG:zigate:Dispatch ZIGATE_PACKET_RECEIVED
DEBUG:zigate:Received response 0x8702: b'f001010232efe70800'
ERROR:zigate:Error decoding response 0x8702: b'f001010232efe70800'
ERROR:zigate:Traceback (most recent call last):
File "/zigate/zigate/core.py", line 589, in decode_data
response = RESPONSES.get(msg_type, Response)(value, lqi)
File "/zigate/zigate/responses.py", line 36, in init
self.decode()
File "/zigate/zigate/responses.py", line 1251, in decode
self.data['dst_address'], self.data['sequence'] = struct.unpack('!QB', additional)
struct.error: unpack requires a buffer of 9 bytes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant