Skip to main content

pamoja_sx126x_device_errors_from_bytes

Function pamoja_sx126x_device_errors_from_bytes 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx126x_device_errors_from_bytes( high: u8, low: u8, ) -> u16
Expand description

Decodes a GetDeviceErrors answer.

§Arguments

  • high - the first answer byte.
  • low - the second answer byte.

§Returns

The flagged errors, as PAMOJA_SX126X_ERROR_* bits.