Skip to content

Commit

Permalink
Merge ac61d42 into 7c5dca1
Browse files Browse the repository at this point in the history
  • Loading branch information
abtink committed May 16, 2023
2 parents 7c5dca1 + ac61d42 commit 299635a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/spinel/radio_spinel_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2298,6 +2298,14 @@ void RadioSpinel<InterfaceType, ProcessContextType>::HandleRcpTimeout(void)
#if OPENTHREAD_SPINEL_CONFIG_RCP_RESTORATION_MAX_COUNT > 0
mRcpFailed = true;
#else
if (!mIsReady)
{
otLogCritPlat("Failed to communicate with RCP - no response from RCP during initialization");
otLogCritPlat("This is not a bug and typically due a config error (wrong URL parameters) or bad RCP image:");
otLogCritPlat("- Make sure RCP is running the correct firmware");
otLogCritPlat("- Double check the config parameters passed as `RadioURL` input");
}

DieNow(OT_EXIT_RADIO_SPINEL_NO_RESPONSE);
#endif
}
Expand Down

0 comments on commit 299635a

Please sign in to comment.