@@ -373,8 +373,8 @@ @implementation MTRDevice {
373
373
MTRDeviceConnectivityMonitor * _connectivityMonitor;
374
374
375
375
// This boolean keeps track of any device configuration changes received in an attribute report
376
- // and when the report ends, we notify the delegate. Device configuration changes include parts
377
- // list, server list, device type list, cluster revision and feature map updates.
376
+ // and when the report ends, we notify the delegate. Device configuration changes include parts list,
377
+ // server list, device type list, accepted commands list, attribute list, cluster revision and feature map updates.
378
378
BOOL _deviceConfigurationChanged;
379
379
}
380
380
@@ -1107,8 +1107,8 @@ - (void)_reportAttributes:(NSArray<NSDictionary<NSString *, id> *> *)attributes
1107
1107
}
1108
1108
}
1109
1109
1110
- // When we receive an attribute report, check if there are any changes in parts list, server list, device type list, cluster revision
1111
- // or feature map attributes of the descriptor cluster. If yes, make a note that the device configuration changed.
1110
+ // When we receive an attribute report, check if there are any changes in parts list, server list, device type list, accepted commands list,
1111
+ // attribute list, cluster revision or feature map attributes of the descriptor cluster. If yes, make a note that the device configuration changed.
1112
1112
- (void )_noteDeviceConfigurationChanged : (NSArray <NSDictionary<NSString *, id> *> *)attributeReport
1113
1113
{
1114
1114
for (NSDictionary <NSString *, id > * attribute in attributeReport) {
@@ -1122,6 +1122,8 @@ - (void)_noteDeviceConfigurationChanged:(NSArray<NSDictionary<NSString *, id> *>
1122
1122
case MTRClusterDescriptorAttributePartsListID:
1123
1123
case MTRClusterDescriptorAttributeServerListID:
1124
1124
case MTRClusterDescriptorAttributeDeviceTypeListID:
1125
+ case MTRClusterDescriptorAttributeAcceptedCommandListID:
1126
+ case MTRClusterDescriptorAttributeAttributeListID:
1125
1127
case MTRClusterDescriptorAttributeClusterRevisionID:
1126
1128
case MTRClusterDescriptorAttributeFeatureMapID: {
1127
1129
// If changes are detected, note that the device configuration has changed.
0 commit comments