-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Explicit CCC added descriptor does not send notification/indication t… #10568
Conversation
@cy-kishore, thank you for your changes. |
I apologise the issue hasn't been triaged. The lack of CCC callback is a problem that needs addressing ASAP but this needs to be fixed at the creation of the attribute at: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a workaround, a fix is need to solve the root cause of the problem: CCC should not have a ATTS_SET_WRITE_CBACK set in attribute settings insert_descriptor(). The special case handling of CCC should include checking for this conflict.
if (properties & WRITABLE_PROPERTIES && !(attribute_it->settings & ATTS_SET_CCC)) {
attribute_it->settings |= ATTS_SET_WRITE_CBACK;
}
I really appreciate your taking the time to make the PR and I apologise for your issue not being triaged. This is a workaround rather than fix. I will make the PR for this and the other issue you reported with a proposed fix, link to it in this PR and tag you for comments to make sure it addresses your issue. |
Sure. Please let me know if you require any further info from me. After this fix we saw that Notifications and indications are not being sent. for which I have raised following Jira. What we found is because cccCback callback is not called, the attsCccCb.pCccTbl value is not getting updated. Because of this the stack is not sending out the notification which the application is sending. |
superseeded by #9771, please close |
Hi, After this fix when application sends notification it is not being sent out. This PR fixes that. What we found is, after the fix for #9771 cccCback callback is not called as it is in else if condition, the attsCccCb.pCccTbl value is not getting updated. Because of this the stack is not sending out the notification which the application is sending. regards |
I pasted the wrong link in my comment above, it's superseded by #10575 - apologies for the confusion caused. This can now be closed. |
This is fixed in #10575 . This pull request is no longer needed. |
…o client
Description
Pull request type
Reviewers
Release Notes