[BUG] Some device clusters not reporting attribute changes (by calling MatterReportingAttributeChangeCallback
) when the invoked command is calling app::AttributeAccessInterface
#34897
Labels
Reproduction steps
Currently there are many clusters using AccessInterface to delegate the attributes in the application layer. (e.g.
MediaPlayback
andMediaInput
clusters . When the commands of these clusters are called, the attributes subscriber won't be able to receive thereportData
.Reproducing steps:
e.g.
running the a video player e.g.
rootnode_basicvideoplayer_0ff86e943b
running 1st chip-tool to commission it and sharing it to the 2nd chip-tool
After the 2nd chip-tool successfully commissioned the device, subscribe the attribute change by interactive mode
Play
orPause
Expected results
The 2nd chip-tool as the attribute subscriber should get notified
Actual results
The 2nd chip-tool is not notified
Analysis
The current
MediaPlayback
simply calls the delegate to modify the attribute data but not callingMatterReportingAttributeChangeCallback
media-playback-server.cppWhen referring to correct implementation, it should be like the door-lock-server.cpp which calls
MatterReportingAttributeChangeCallback
after delegate successfully handles data changes.Bug prevalence
Everytime
GitHub hash of the SDK that was being used
2b5194b
Platform
core
Platform Version(s)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: