This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2652P: Matter network information cannot restore after power off/on

Part Number: CC2652P

Tool/software:

Hi,

We use rcp project for our gateway to provide Matter service. In our test, the rcp doesn't restore network information after power off/on. How to solve this problem?

SDK : 6_40_00_13

  • Hi Kimi,

    When you say "power off/on", do you mean power to the RCP itself? Or the entire gateway?

    The network info is set by the host, so in case the storage of this info is non-persistent on the host, then a new network info could be set by the host (effectively causing your observation of "doesn't restore network information after power off/on").

    For example, on chip-tool, by default it will point to /tmp for network info. But this can be changed to point to a persistent location, such as /usr.
    This can be changed in matter/examples/chip-tool/config/PersistentStorage.cpp to point towards /usr instead of /tmp in the GetFilename function.
    The respective file names you'd eventually see there are chip_tool_config.alpha.ini and chip_tool_config.ini.

    Thanks,
    Toby

  • By "power off/on", we mean power cycle the gateway which includes power cycle RCP. We also see the same behavior when testing Matter/OTBR on Raspberry Pi. We will check and test again if this is related to /tmp folder in GetFilename function.

  • After we revise chip-tool, our Matter/OTBR can keep the network and device information now. Thanks Toby!

  • Good to hear, thanks for confirming YiKai!