mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
added wildcard read support for esp matter controller cluster
This commit is contained in:
committed by
Hrishikesh Dhayagude
parent
a11b4cf4df
commit
d3e8d01f45
@@ -49,13 +49,10 @@ public:
|
||||
, event_data_cb(event_cb)
|
||||
{
|
||||
if (command_type == READ_ATTRIBUTE) {
|
||||
m_attr_path.mEndpointId = endpoint_id;
|
||||
m_attr_path.mClusterId = cluster_id;
|
||||
m_attr_path.mAttributeId = attribute_or_event_id;
|
||||
m_attr_path = AttributePathParams(endpoint_id, cluster_id, attribute_or_event_id);
|
||||
|
||||
} else if (command_type == READ_EVENT) {
|
||||
m_event_path.mEndpointId = endpoint_id;
|
||||
m_event_path.mClusterId = cluster_id;
|
||||
m_event_path.mEventId = attribute_or_event_id;
|
||||
m_event_path = EventPathParams(endpoint_id, cluster_id, attribute_or_event_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user