Skip to content

Commit

Permalink
Increase the chip-tool timeout for data model commands.
Browse files Browse the repository at this point in the history
10s is not enough for a typical CASE establishment plus command
execution on less-high-powered devices.

Fixes #22213
  • Loading branch information
bzbarsky-apple committed Aug 30, 2022
1 parent 5f46524 commit 3de2338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chip-tool/commands/clusters/ModelCommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ModelCommand : public CHIPCommand

/////////// CHIPCommand Interface /////////
CHIP_ERROR RunCommand() override;
chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(10)); }
chip::System::Clock::Timeout GetWaitDuration() const override { return chip::System::Clock::Seconds16(mTimeout.ValueOr(20)); }

virtual CHIP_ERROR SendCommand(chip::DeviceProxy * device, std::vector<chip::EndpointId> endPointIds) = 0;

Expand Down

0 comments on commit 3de2338

Please sign in to comment.