You can also send lat/lon as strings:
`curl --request POST --header "Content-Type: application/json" --data '{"dx_call":"W1CDN","time": 1761447599, "freq":14200000, "comment":"Test spot…
Oh things got simpler; you can send an empty string to json lat/lon and it will be interpreted as a bad location by spothole.
I think I was running on two machines at once, one only with locations and one with all UI frames. This was messing up the mapping.
Are these values too long? Spothole doesn't seem to pick up all the locations.
"dx_latitude":47.94133333333333,"dx_longitude":-97.02683333333333,
Privacy tho? How about not including the text if it's not a UI packet?
Had a thought about a missing piece as I was falling asleep, now I can't remember it!
- use serde_json::json;
- "MIT OR Apache-2.0" https://docs.rs/serde_json/latest/serde_json/
- use reqwest;
- "MIT OR Apache-2.0" https://docs.rs/reqwest/latest/reqwest/
- use…
More progress. I got really slowed down looking for a way to return a None tuple that was also f64.
use regex::Regex;
use rand::Rng;
fn main() {
//let packet = "1:Fm KC2IHX-7 To…
Another snapshot. This replaces ambiguation spaces with a random integer, but I didn't carry the same pattern over yet.
- check that all capture groups have values
use…