Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

print packet when ZDO packet deserialize fails #259

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.

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.

2 participants