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

Fix: Consider ZCL frame control direction for sending default response #4947

Merged
merged 5 commits into from
May 31, 2021

Conversation

SwoopX
Copy link
Collaborator

@SwoopX SwoopX commented May 30, 2021

With the current code, deCONZ sends default responses, regardless if the come from a client or server cluster of the device with direction Client to Server. While this is appropriate in most cases as the majority of data from devices originates from a server cluster, it fails in case origin is a client cluster.

Consequence is that a default response is sent, but not appropriately understood by the receiving device. This basically has the same effect as if no default response has been sent and can result in duplicate transmissions from the originating device.

@SwoopX SwoopX added this to the v2.12.1-beta milestone May 30, 2021
@SwoopX SwoopX linked an issue May 30, 2021 that may be closed by this pull request
@manup
Copy link
Member

manup commented May 31, 2021

Why the extra parameter, does it differ from the direction value in zclFrame::frameControl()?

@SwoopX
Copy link
Collaborator Author

SwoopX commented May 31, 2021

No sure if I get what you mean. However, discussing this, you can probably just revert the direction without the parameter...

@manup
Copy link
Member

manup commented May 31, 2021

Perfect, I think this should do the trick.

@manup manup merged commit f52b882 into dresden-elektronik:master May 31, 2021
@SwoopX SwoopX deleted the defaultresponse branch June 29, 2021 18:57
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.

Heiman remote controller HS1RC (Model: RC_V14) shows as RC-EF-3.0
2 participants