Skip to content

Commit bf12fce

Browse files
authored
Disable testing code which force custom commission (#22409)
* Disable testing code which force custom commission * Description Regular commission should go through Standard Commision Flow. However the Custom Commission flow (for testing only) is enabled, and override the Standard Commission flown * Solution Disable the Custom Commission flow for testing only * Remove testing code which force custom commission * Description Regular commission should go through Standard Commision Flow. However the Custom Commission flow (for testing only) is enabled, and override the Standard Commission flown * Solution Remove the Custom Commission flow for testing only
1 parent e220c23 commit bf12fce

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

examples/platform/linux/AppMain.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -201,17 +201,6 @@ int ChipLinuxAppInit(int argc, char * const argv[], OptionSet * customOptions)
201201
PrintOnboardingCodes(LinuxDeviceOptions::GetInstance().payload);
202202
}
203203

204-
{
205-
// For testing of manual pairing code with custom commissioning flow
206-
ChipLogProgress(NotSpecified, "==== Onboarding payload for Custom Commissioning Flows ====");
207-
err = GetPayloadContents(LinuxDeviceOptions::GetInstance().payload, rendezvousFlags);
208-
SuccessOrExit(err);
209-
210-
LinuxDeviceOptions::GetInstance().payload.commissioningFlow = chip::CommissioningFlow::kCustom;
211-
212-
PrintOnboardingCodes(LinuxDeviceOptions::GetInstance().payload);
213-
}
214-
215204
#if defined(PW_RPC_ENABLED)
216205
rpc::Init();
217206
ChipLogProgress(NotSpecified, "PW_RPC initialized.");

0 commit comments

Comments
 (0)