Skip to content

print packet when ZDO packet deserialize fails #259

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

pipiche38
Copy link
Contributor

When there is a on_zdo_message deserialize issue, it would be great to get the packet printed in order to get more information.
Especially having the 2 bytes of the message will indicate the status.

@puddly
Copy link
Collaborator

puddly commented Dec 8, 2024

Keep in mind that these deserialization failures are entirely inconsequential, Z-Stack does its own processing of ZDO and we haven't created handlers for all of the possible ways the ZDO commands can be parsed by Z-Stack. This is because we don't actually care about these and zigpy does its own processing on the raw packet. We just can't stop Z-Stack from sending its own commands as well.

I think you should just change warning to debug, it's not really a problem.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants