Skip to main content

pamoja_sx126x_status_from_byte

Function pamoja_sx126x_status_from_byte 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx126x_status_from_byte( byte: u8, ) -> PamojaSx126xStatus
Expand description

Decodes a status byte.

§Arguments

  • byte - the status byte.

§Returns

The chip mode, how the last command went, and whether that was an error.