Skip to content

Commit

Permalink
Remove some unused commisisoning states. (#16263)
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille authored and pull[bot] committed Nov 14, 2023
1 parent 1c60b58 commit 1025704
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/controller/AutoCommissioner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,6 @@ CommissioningStage AutoCommissioner::GetNextCommissioningStage(CommissioningStag
case CommissioningStage::kSendComplete:
return CommissioningStage::kCleanup;

// Currently unimplemented.
case CommissioningStage::kConfigACL:
return CommissioningStage::kError;
// Neither of these have a next stage so return kError;
case CommissioningStage::kCleanup:
case CommissioningStage::kError:
Expand Down
3 changes: 0 additions & 3 deletions src/controller/CHIPDeviceController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2002,9 +2002,6 @@ void DeviceCommissioner::PerformCommissioningStep(DeviceProxy * proxy, Commissio
SendOperationalCertificate(proxy, params.GetNoc().Value(), params.GetIcac().Value(), params.GetIpk().Value(),
params.GetAdminSubject().Value());
break;
case CommissioningStage::kConfigACL:
// TODO: Implement
break;
case CommissioningStage::kWiFiNetworkSetup: {
if (!params.GetWiFiCredentials().HasValue())
{
Expand Down
4 changes: 0 additions & 4 deletions src/controller/CommissioningDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ enum CommissioningStage : uint8_t
kSecurePairing,
kReadCommissioningInfo,
kArmFailsafe,
// kConfigTime, // NOT YET IMPLEMENTED
// kConfigTimeZone, // NOT YET IMPLEMENTED
// kConfigDST, // NOT YET IMPLEMENTED
kConfigRegulatory,
kSendPAICertificateRequest,
kSendDACCertificateRequest,
Expand All @@ -52,7 +49,6 @@ enum CommissioningStage : uint8_t
kFindOperational,
kSendComplete,
kCleanup,
kConfigACL,
};

struct WiFiCredentials
Expand Down

0 comments on commit 1025704

Please sign in to comment.