pub struct SystemInfo {
pub index: u16,
pub short_name: String,
pub kind: String,
pub name: String,
pub fcc: BTreeMap<String, FccLicense>,
pub fcc_call_sign: String,
pub fcc_name: String,
pub sites: Vec<SiteInfo>,
pub config: Value,
pub settings: Value,
}Fields§
§index: u16The number events carry for it (system) while the recorder runs:
from 0, the trunked systems then the conventional ones (each a
system of its own here). It can change between runs: know systems by
short_name.
short_name: StringThe system’s short name: its identity (unique among all the recorder’s systems), its folder, and what users know it by. Every event carries it.
kind: String“p25” | “smartnet” | “dmr” | “nxdn” | “edacs” | “conventional”
name: StringWhat people call it (“County Public Safety”); empty when the user gave no name.
fcc: BTreeMap<String, FccLicense>Its FCC licenses by frequency (Hz, as a string): who is licensed on each of its channels, from the user, the air (Motorola’s base station ID) or a license lookup. Optional, so often empty.
fcc_call_sign: StringThe call sign that names it, of those: its control channel’s, else the one on the most frequencies (“WPXT459”); empty when none.
fcc_name: StringWho holds that license, as the FCC has it (“DISTRICT OF COLUMBIA”); empty when not known.
sites: Vec<SiteInfo>Its sites (trunked systems; none for conventional), by the name calls
and unit events carry as site.
config: ValueThe plugin’s settings for this system (see Manifest::system_config);
null when the user left them empty.
settings: ValueThe plugin’s own settings (Hello::config) as they are for this
system: a system can override some of them (another server, say).
Null: as in Hello::config.