#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_lora_radio_family(
radio: *const PamojaLoraRadio,
) -> u8Expand description
Returns the family of a radio’s chip.
§Arguments
radio- the radio.
§Returns
PAMOJA_LORA_RADIO_SX126X or PAMOJA_LORA_RADIO_SX127X, or 255 if radio is null.
§Safety
radio must be a live handle from one of the open functions, or null.