ot::Spinel::SpinelInterface::WaitForFrame() method
Waits for receiving part or all of spinel frame within specified interval.
Return value
OT_ERROR_NONE Part or all of spinel frame is received. OT_ERROR_RESPONSE_TIMEOUT No spinel frame is received within @p aTimeout.