@@ -3918,14 +3918,6 @@ void DoorLockServer::setAliroReaderConfigCommandHandler(CommandHandler * command
3918
3918
EndpointId endpointID = commandPath.mEndpointId ;
3919
3919
ChipLogProgress (Zcl, " [SetAliroReaderConfig] Incoming command [endpointId=%d]" , endpointID);
3920
3920
3921
- // If Aliro Provisioning feature is not supported, return UNSUPPORTED_COMMAND.
3922
- if (!SupportsAliroProvisioning (endpointID))
3923
- {
3924
- ChipLogProgress (Zcl, " [SetAliroReaderConfig] Aliro Provisioning is not supported [endpointId=%d]" , endpointID);
3925
- commandObj->AddStatus (commandPath, Status::UnsupportedCommand);
3926
- return ;
3927
- }
3928
-
3929
3921
Delegate * delegate = GetDelegate (endpointID);
3930
3922
if (!delegate)
3931
3923
{
@@ -3988,10 +3980,7 @@ void DoorLockServer::setAliroReaderConfigCommandHandler(CommandHandler * command
3988
3980
// Various attributes changed; mark them dirty.
3989
3981
MatterReportingAttributeChangeCallback (endpointID, Clusters::DoorLock::Id, AliroReaderVerificationKey::Id);
3990
3982
MatterReportingAttributeChangeCallback (endpointID, Clusters::DoorLock::Id, AliroReaderGroupIdentifier::Id);
3991
- if (supportsAliroBLEUWB)
3992
- {
3993
- MatterReportingAttributeChangeCallback (endpointID, Clusters::DoorLock::Id, AliroGroupResolvingKey::Id);
3994
- }
3983
+ MatterReportingAttributeChangeCallback (endpointID, Clusters::DoorLock::Id, AliroGroupResolvingKey::Id);
3995
3984
}
3996
3985
sendClusterResponse (commandObj, commandPath, ClusterStatusCode (StatusIB (err).mStatus ));
3997
3986
}
@@ -4038,10 +4027,7 @@ void DoorLockServer::clearAliroReaderConfigCommandHandler(CommandHandler * comma
4038
4027
// Various attributes changed; mark them dirty.
4039
4028
MatterReportingAttributeChangeCallback (endpointID, Clusters::DoorLock::Id, AliroReaderVerificationKey::Id);
4040
4029
MatterReportingAttributeChangeCallback (endpointID, Clusters::DoorLock::Id, AliroReaderGroupIdentifier::Id);
4041
- if (SupportsAliroBLEUWB (endpointID))
4042
- {
4043
- MatterReportingAttributeChangeCallback (endpointID, Clusters::DoorLock::Id, AliroGroupResolvingKey::Id);
4044
- }
4030
+ MatterReportingAttributeChangeCallback (endpointID, Clusters::DoorLock::Id, AliroGroupResolvingKey::Id);
4045
4031
}
4046
4032
sendClusterResponse (commandObj, commandPath, ClusterStatusCode (StatusIB (err).mStatus ));
4047
4033
}
@@ -4203,8 +4189,7 @@ void DoorLockServer::DoorLockOnAutoRelockCallback(System::Layer *, void * callba
4203
4189
}
4204
4190
}
4205
4191
4206
- CHIP_ERROR DoorLockServer::ReadAliroExpeditedTransactionSupportedProtocolVersions (const ConcreteReadAttributePath & aPath,
4207
- AttributeValueEncoder & aEncoder,
4192
+ CHIP_ERROR DoorLockServer::ReadAliroExpeditedTransactionSupportedProtocolVersions (AttributeValueEncoder & aEncoder,
4208
4193
Delegate * delegate)
4209
4194
{
4210
4195
VerifyOrReturnValue (delegate != nullptr , aEncoder.EncodeEmptyList ());
@@ -4225,8 +4210,7 @@ CHIP_ERROR DoorLockServer::ReadAliroExpeditedTransactionSupportedProtocolVersion
4225
4210
});
4226
4211
}
4227
4212
4228
- CHIP_ERROR DoorLockServer::ReadAliroSupportedBLEUWBProtocolVersions (const ConcreteReadAttributePath & aPath,
4229
- AttributeValueEncoder & aEncoder, Delegate * delegate)
4213
+ CHIP_ERROR DoorLockServer::ReadAliroSupportedBLEUWBProtocolVersions (AttributeValueEncoder & aEncoder, Delegate * delegate)
4230
4214
{
4231
4215
VerifyOrReturnValue (delegate != nullptr , aEncoder.EncodeEmptyList ());
4232
4216
@@ -4296,7 +4280,7 @@ CHIP_ERROR DoorLockServer::Read(const ConcreteReadAttributePath & aPath, Attribu
4296
4280
AttributeNullabilityType::kNotNullable );
4297
4281
}
4298
4282
case AliroExpeditedTransactionSupportedProtocolVersions::Id: {
4299
- return ReadAliroExpeditedTransactionSupportedProtocolVersions (aPath, aEncoder, delegate);
4283
+ return ReadAliroExpeditedTransactionSupportedProtocolVersions (aEncoder, delegate);
4300
4284
}
4301
4285
case AliroGroupResolvingKey::Id: {
4302
4286
uint8_t buffer[kAliroGroupResolvingKeySize ];
@@ -4305,7 +4289,7 @@ CHIP_ERROR DoorLockServer::Read(const ConcreteReadAttributePath & aPath, Attribu
4305
4289
AttributeNullabilityType::kNullable );
4306
4290
}
4307
4291
case AliroSupportedBLEUWBProtocolVersions::Id: {
4308
- return ReadAliroSupportedBLEUWBProtocolVersions (aPath, aEncoder, delegate);
4292
+ return ReadAliroSupportedBLEUWBProtocolVersions (aEncoder, delegate);
4309
4293
}
4310
4294
case AliroBLEAdvertisingVersion::Id: {
4311
4295
uint8_t bleAdvertisingVersion = delegate->GetAliroBLEAdvertisingVersion ();
0 commit comments