Skip to main content

Crate rfham_itu

Crate rfham_itu 

Source
Expand description

ITU frequency allocation, band, region, and callsign-series data.

rfham-itu encodes the radio-frequency spectrum as defined by the International Telecommunication Union (ITU) and the International Amateur Radio Union (IARU).

ModuleKey typesPurpose
allocationsallocations::FrequencyAllocationIARU amateur band allocations per region
bandsbands::FrequencyBandITU frequency band names (ELF … THF)
regionsregions::RegionITU Regions 1, 2, and 3
callsignscallsigns::ItuSeriesAllocationITU callsign prefix–country mapping

§Examples

use rfham_itu::allocations::FrequencyAllocation;
use rfham_itu::bands::FrequencyBand;
use rfham_core::frequency::megahertz;

let band = FrequencyAllocation::classify(megahertz(146.52));
assert_eq!(Some(FrequencyAllocation::Band2M), band);

assert_eq!("VHF", FrequencyBand::VeryHigh.abbreviation());

Modules§

allocations
Provides …, a one-line description
bands
ITU frequency band designations (ELF through THF).
callsigns
ITU callsign prefix–country and international-organization mapping.
regions
The three ITU world regions used in frequency allocation tables.