Skip to main content

pamoja_lora_sim_chip_family

Function pamoja_lora_sim_chip_family 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lora_sim_chip_family( chip: *const PamojaLoraSimChip, ) -> u8
Expand description

Returns the family of a simulated chip.

§Arguments

  • chip - the chip.

§Returns

PAMOJA_LORA_RADIO_SX126X or PAMOJA_LORA_RADIO_SX127X, or 255 if chip is null.

§Safety

chip must be a live handle or null.