#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lora_radio_sleep(
radio: *mut PamojaLoraRadio,
) -> PamojaStatusExpand description
Puts a radio to sleep until the next call wakes it. An SX126x is configured again before its next frame; an SX127x keeps its registers.
§Arguments
radio- the radio.
§Returns
PamojaStatus::Ok; PamojaStatus::InvalidArgument for a null radio; or
PamojaStatus::Io when the chip does not answer.
§Safety
radio must be a live handle from one of the open functions, or null.