openthread_sys

Function otPlatDiagRadioGetRawPowerSetting

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

Get the radio raw power setting for diagnostics module.

@param[in] aInstance The OpenThread instance structure. @param[out] aRawPowerSetting A pointer to the raw power setting byte array. @param[in,out] aRawPowerSettingLength On input, a pointer to the size of @p aRawPowerSetting. On output, a pointer to the length of the raw power setting data.

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