Parse packets here or in FARPN UDP Server? #5

Open
opened 2025-10-04 16:57:55 +00:00 by w1cdn · 4 comments
Owner
No description provided.
Author
Owner

For Spothole (https://spothole.m0trt.radio/), I think basic parsing should happen here and then stuff can get passed along via UDP unless that's bad form or too much data.

For Spothole (https://spothole.m0trt.radio/), I think basic parsing should happen here *and* then stuff can get passed along via UDP unless that's bad form or too much data.
Author
Owner
APRS-specific parsing in Rust: - https://github.com/Turbo87/aprs-parser-rs - https://docs.rs/aprs/latest/aprs/
Author
Owner

See https://gitea.farpn.net/w1cdn/mwtchahrd/src/branch/udp/src/main.rs#L295.

 	/// Prints a single session line with a timestamp, source, destination, and summary.
	fn print_session_line(timestamp: &str, source: &str, destination: &str, summary: &str) {
	    let line = format!("{} {}>{} <{}>", timestamp, source, destination, summary);
	    println!("{}", line);
	}
See https://gitea.farpn.net/w1cdn/mwtchahrd/src/branch/udp/src/main.rs#L295. ``` /// Prints a single session line with a timestamp, source, destination, and summary. fn print_session_line(timestamp: &str, source: &str, destination: &str, summary: &str) { let line = format!("{} {}>{} <{}>", timestamp, source, destination, summary); println!("{}", line); } ```
Author
Owner

Handled some of this in #1.

Handled some of this in #1.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: w1cdn/mwtchahrd#5
No description provided.