Skip to main content

pamoja_sx127x_rssi_centi_dbm

Function pamoja_sx127x_rssi_centi_dbm 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx127x_rssi_centi_dbm( byte: u8, frequency_hz: u32, ) -> i32
Expand description

Decodes RegRssiValue.

§Arguments

  • byte - the RegRssiValue byte.
  • frequency_hz - the carrier the receiver is tuned to, which picks the RF port’s offset.

§Returns

The RSSI in hundredths of a dBm.