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

Get the radio’s transmit power in dBm.

@note The transmit power returned 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[out] aPower The transmit power in dBm.

@retval OT_ERROR_NONE Successfully retrieved the transmit power. @retval OT_ERROR_INVALID_ARGS @p aPower was NULL. @retval OT_ERROR_NOT_IMPLEMENTED Transmit power configuration via dBm is not implemented.