openthread_sys

Function otPlatDiagRadioTransmitCarrier

Source
pub unsafe extern "C" fn otPlatDiagRadioTransmitCarrier(
    aInstance: *mut otInstance,
    aEnable: bool,
) -> otError
Expand description

Start/stop the platform layer to transmit continuous carrier wave.

@param[in] aInstance The OpenThread instance structure. @param[in] aEnable TRUE to enable or FALSE to disable the platform layer to transmit continuous carrier wave.

@retval OT_ERROR_NONE Successfully enabled/disabled . @retval OT_ERROR_INVALID_STATE The radio was not in the Receive state. @retval OT_ERROR_NOT_IMPLEMENTED This method is not implemented.