pub unsafe extern "C" fn otPlatRadioGetRssi(
aInstance: *mut otInstance,
) -> i8
Expand description
Return a recent RSSI measurement when the radio is in receive state.
If the radio is not in receive state, then OT_RADIO_RSSI_INVALID
MUST be returned. If the radio is in receive
state, then a single RSSI measurement is taken on the current receive channel and returned.
@param[in] aInstance The OpenThread instance structure.
@returns The RSSI in dBm when it is valid. OT_RADIO_RSSI_INVALID
when RSSI is invalid.