Skip to content

Commit

Permalink
Increase the chip-tool timeout for data model commands. (#22269)
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 authored and pull[bot] committed Jul 3, 2023
1 parent f89ba3c commit 1259987
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 1259987

Please sign in to comment.