Skip to content

Conversation

@rm5248
Copy link

@rm5248 rm5248 commented Dec 22, 2025

This is at least a partial fix for #271. With this, the python code will no longer get a giant byte array for the report field when an LSTAT is requested:

OSDP: PD-0: 2025-12-22T22:50:09Z   osdp_pd.c:733  [DEBUG] CMD: LSTAT(64) REPLY: LSTATR(48)
PD: Received command: {'command': 9, 'type': 2, 'report': b''}

I'm not sure if the report field should be set in the first place, but least now it is a 0 byte length array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant