pub struct AprsIsConfig {
pub callsign: String,
pub passcode: Passcode,
pub server: String,
pub port: u16,
pub filter: String,
pub software_name: String,
pub software_version: String,
}Expand description
APRS-IS (Internet Service) client configuration.
Connects to an APRS-IS server via TCP, authenticates with callsign and passcode, and allows sending/receiving APRS packets over the internet backbone.
Fields§
§callsign: StringCallsign with optional SSID (e.g., “N0CALL-10”).
passcode: PasscodeAPRS-IS passcode (computed from callsign, or ReceiveOnly).
server: StringServer hostname (e.g., “rotate.aprs2.net”).
port: u16Server port (default 14580).
filter: StringAPRS-IS filter string (e.g., “r/35.25/-97.75/100” for 100km radius).
software_name: StringSoftware name for login.
software_version: StringSoftware version for login.
Implementations§
Source§impl AprsIsConfig
impl AprsIsConfig
Sourcepub fn new(callsign: &str) -> AprsIsConfig
pub fn new(callsign: &str) -> AprsIsConfig
Create a new APRS-IS configuration with sensible defaults.
Computes the passcode automatically from the callsign. Defaults to
rotate.aprs2.net:14580 with no filter.
Sourcepub fn receive_only(callsign: &str) -> AprsIsConfig
pub fn receive_only(callsign: &str) -> AprsIsConfig
Create a receive-only APRS-IS configuration for the given callsign. The server will not forward our transmissions to RF.
Trait Implementations§
Source§impl Clone for AprsIsConfig
impl Clone for AprsIsConfig
Source§fn clone(&self) -> AprsIsConfig
fn clone(&self) -> AprsIsConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more