openthread_sys

Function otPlatDiagRadioSetRawPowerSetting

Source
pub unsafe extern "C" fn otPlatDiagRadioSetRawPowerSetting(
    aInstance: *mut otInstance,
    aRawPowerSetting: *const u8,
    aRawPowerSettingLength: u16,
) -> otError
Expand description

Set the radio raw power setting for diagnostics module.

@param[in] aInstance The OpenThread instance structure. @param[in] aRawPowerSetting A pointer to the raw power setting byte array. @param[in] aRawPowerSettingLength The length of the @p aRawPowerSetting.

@retval OT_ERROR_NONE Successfully set the raw power setting. @retval OT_ERROR_INVALID_ARGS The @p aRawPowerSetting is NULL or the @p aRawPowerSettingLength is too long. @retval OT_ERROR_NOT_IMPLEMENTED This method is not implemented.