pub unsafe extern "C" fn otPlatRadioSetCcaEnergyDetectThreshold(
aInstance: *mut otInstance,
aThreshold: i8,
) -> otError
Expand description
Set the radio’s CCA ED threshold in dBm measured at antenna connector per IEEE 802.15.4 - 2015 section 10.1.4.
@param[in] aInstance The OpenThread instance structure. @param[in] aThreshold The CCA ED threshold in dBm.
@retval OT_ERROR_NONE Successfully set the transmit power. @retval OT_ERROR_INVALID_ARGS Given threshold is out of range. @retval OT_ERROR_NOT_IMPLEMENTED CCA ED threshold configuration via dBm is not implemented.