RCP fails to recover on transmit timeout #11273
-
Hello OpenThread community, I am working with an ESP32 H2 as my RCP. My host is an ESP32S3. I have an issue where if in my
I can trigger this on demand by starting an energy scan that requires more than the default tx timeout of 5 seconds, but I don't suspect the energy scan itself. While debugging, I found that when the I have tested a hack that wraps the #if OPENTHREAD_CONFIG_MULTIPAN_RCP_ENABLE
// Avoid resetting the device twice in a row in Multipan RCP architecture
VerifyOrExit(!mIsCoprocessorReady, resetDone = true);
#endif and found that when this function executes the RCP reset, OpenThread and my RCP recover. Does anyone have any insight why Thanks for reading and any insight. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Here is the raw commit 9360 that adds the check condition |
Beta Was this translation helpful? Give feedback.
Here is the raw commit 9360 that adds the check condition
VerifyOrExit(!sIsReady, resetDone = true);
. The check here is used for resolving the reset issue in multi-pan RCP architecture. This commit adds support for multiple spinel interfaces, and it also introduced the new configurationOPENTHREAD_CONFIG_MULTIPAN_RCP_ENABLE
. I think it is reasonable to add the#if OPENTHREAD_CONFIG_MULTIPAN_RCP_ENABLE
here.