ICD UserActiveModeTrigger causes a crash

I have an ICD configured Matter device, using LIT.

I have added the UserActiveModeTrigger attribute and configured it to PowerCycle and ResetButton.

I can commission the device without issue and I can see a message on the controller side indicating that the ICD record is stored with a check-in identifier.

Using the Smoke Alarm sample, I copied in this code into a Button callback.

#ifdef CONFIG_CHIP_ICD_UAT_SUPPORT
	LOG_INF("ICD UserActiveMode has been triggered.");
	Server::GetInstance().GetICDManager().OnNetworkActivity();
#endif

Clicking the button results in a crash.

Any idea what could be wrong?

Parents Reply
  • I have these, which I think are the relevant ones

    # Enabling low power
    CONFIG_PM_DEVICE=y
    
    # Switch Minimal Thread Device on
    CONFIG_OPENTHREAD_MTD=y
    CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD=y
    
    # Set Matter as Intermittant Connected Device
    CONFIG_CHIP_ENABLE_ICD_SUPPORT=y
    CONFIG_CHIP_ICD_LIT_SUPPORT=y
    CONFIG_CHIP_ICD_REPORT_ON_ACTIVE_MODE=y
    
    # More power saving.
    CONFIG_RAM_POWER_DOWN_LIBRARY=y

Children
Related