openthread_sys

Function otPlatRadioSetTransmitPower

Source
pub unsafe extern "C" fn otPlatRadioSetTransmitPower(
    aInstance: *mut otInstance,
    aPower: i8,
) -> otError
Expand description

Set the radio’s transmit power in dBm.

@note The real transmit power will be no larger than the power specified in the max power table for the current channel.

@param[in] aInstance The OpenThread instance structure. @param[in] aPower The transmit power in dBm.

@retval OT_ERROR_NONE Successfully set the transmit power. @retval OT_ERROR_NOT_IMPLEMENTED Transmit power configuration via dBm is not implemented.