-
We have noticed that the OTBR-agent exits when the FactoryReset and Reset commands are sent via dBus but not when using ot-ctl. Is this expected? To reproduce build the OTBR-agent on a pi then send the following command: sudo dbus-send --reply-timeout=30000 --print-reply --system --type="method_call" --dest=io.openthread.BorderRouter.wpan0 /io/openthread/BorderRouter/wpan0 io.openthread.BorderRouter.FactoryReset This causes the otbr to exit. Meanwhile, using ot-ctl to send the command succeeds. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I don't this is expected, do you have the otbr-agent log for the d-bus "factoryreset" test? |
Beta Was this translation helpful? Give feedback.
-
Thanks. I missed that in the log. I will investigate further and thanks for the link to the other issue. |
Beta Was this translation helpful? Give feedback.
-
This issue appears to be in the restart logic for the Silabs CPC code. We will continue to investigate internally. |
Beta Was this translation helpful? Give feedback.
d-bus reset and ot-ctl reset are different implementations, and I think it's silicon labs code that doesn't handle the d-bus reset implementation well (e.g. it doesn't support re-init). There is a similar issue in home assistant though not related to d-bus reset command: home-assistant/addons#3192