Skip to main content

pamoja_lora_region_is_available

Function pamoja_lora_region_is_available 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_lora_region_is_available(region: u32) -> u8
Expand description

Reports whether a region is compiled into this build.

A slim build carries only the regions its device operates in, so a host that offers a choice asks this before offering one.

§Arguments

  • region - one of the PAMOJA_LORA_REGION_* constants.

§Returns

1 if the region is available, 0 if it is a known region left out of this build or is not a region code at all.