class SpinelFidlInterface
Defined at line 27 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.h
This class defines an spinel interface to the Radio Co-processor (RCP)
Public Methods
void SpinelFidlInterface (const Url::Url & aRadioUrl)
Constructor
Defined at line 16 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.cc
otError Init (ReceiveFrameCallback aCallback, void * aCallbackContext, RxFrameBuffer & aFrameBuffer)
Initializes the Spinel Fidl Interface
Defined at line 22 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.cc
void Deinit ()
Deinitialized the instance
Defined at line 30 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.cc
otError SendFrame (const uint8_t * aFrame, uint16_t aLength)
Send the frame from ot-lib to ot-radio driver
Defined at line 32 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.cc
otError WaitForFrame (uint64_t aTimeoutUs)
Used for waiting for a spinel frame response with a timeout
Defined at line 57 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.cc
void Process (const void * aContext)
Used for process a spinel frame event
Defined at line 73 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.cc
otError HardwareReset ()
This method hardware resets the RCP.
Defined at line 80 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.h
const otRcpInterfaceMetrics * GetRcpInterfaceMetrics ()
Returns the RCP interface metrics.
Defined at line 88 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.h
void OnRcpReset ()
This method is called when RCP failure detected and resets internal states of the interface.
Defined at line 88 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.cc
void UpdateFdSet (void * aMainloopContext)
Defined at line 90 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.h
uint32_t GetBusSpeed ()
Defined at line 92 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.h
otError ResetConnection ()
This method is called when RCP is reset to recreate the connection with it.
Defined at line 92 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.cc
bool IsInterfaceNameMatch (const char * aInterfaceName)
Defined at line 94 of file ../../src/connectivity/openthread/third_party/openthread/platform/spinel_fidl_interface.h