pub unsafe extern "C" fn otPlatRadioSetTransmitPower(
aInstance: *mut otInstance,
aPower: i8,
) -> otError
Expand description
Set the radio’s transmit power in dBm for all channels.
@note The real transmit power will be no larger than the power specified in the max power table for
the current channel that was configured by otPlatRadioSetChannelMaxTransmitPower()
.
@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.