Skip to content

Commit 12d0745

Browse files
update chef force check-in command with shutdown all subs
1 parent 79da246 commit 12d0745

File tree

1 file changed

+1
-0
lines changed
  • examples/common/pigweed/rpc_services

1 file changed

+1
-0
lines changed

examples/common/pigweed/rpc_services/Device.h

+1
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ class Device : public pw_rpc::nanopb::Device::Service<Device>
485485
virtual pw::Status TriggerIcdCheckin(const pw_protobuf_Empty & request, pw_protobuf_Empty & response)
486486
{
487487
#if CHIP_CONFIG_ENABLE_ICD_CIP
488+
chip::app::InteractionModelEngine::GetInstance()->ShutdownAllSubscriptions();
488489
chip::DeviceLayer::PlatformMgr().ScheduleWork(
489490
[](intptr_t) {
490491
ChipLogDetail(AppServer, "Being triggerred to send ICD check-in message to subscriber");

0 commit comments

Comments
 (0)