forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 11cedff
committed
Remove _invokeCommandWithEndpointID implementation from MTRDevice.
This is implemented (differently) by the different subclasses.
Once this implementation is removed, the following become unused and can be
removed:
* setExpectedValues
* removeExpectedValuesForAttributePaths
Once those are removed, the following become unused and can be removed:
* _getAttributesToReportWithNewExpectedValues
* _removeExpectedValueForAttributePath
Once those are removed, the following become unused and can be removed:
* _setExpectedValue
* expectedValueNextID
At this point (since setExpectedValues was removed), the only reference to
_checkExpiredExpectedValues is in _performScheduledExpirationCheck, which is
only called from _checkExpiredExpectedValues. So these are both unreachable and
can be removed. Then the following become unused and can be removed:
* expirationCheckScheduled
* _reportAttributes
* _attributeDataValue
* expectedValueCache
And then _filteredAttributes and _filteredEvents are unused and can be removed.
Then both the event and attribute versions of _interestedPaths: are unused and
can be removed.
At this point, the following become unused and can be removed:
* MTRDeviceExpectedValueFieldIndex
* MTRDeviceReadRequestFieldIndex
* MTRDeviceWriteRequestFieldIndex
* MTRDeviceWorkItemBatchingID
* MTRDeviceWorkItemDuplicateTypeID
------------------------------------------------------------1 parent e20355a commit 11cedffCopy full SHA for 11cedff
1 file changed
+6
-516
lines changed
0 commit comments