Skip to main content

pamoja_lora_sim_chip_sx126x

Function pamoja_lora_sim_chip_sx126x 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_lora_sim_chip_sx126x( board: PamojaSx126xBoard, out_chip: *mut *mut PamojaLoraSimChip, ) -> PamojaStatus
Expand description

Creates a simulated SX1261, SX1262, SX1268, or LLCC68, out of reset.

§Arguments

§Returns

PamojaStatus::Ok with the chip in out_chip, or PamojaStatus::InvalidArgument for a null out_chip or a TCXO voltage past 7.

§Safety

out_chip must be a writable pointer or null.