cbs228 / sameold Goto Github PK
View Code? Open in Web Editor NEWSAME/EAS decoding for Rust 🦀
License: Apache License 2.0
SAME/EAS decoding for Rust 🦀
License: Apache License 2.0
At present, sameold
only supports retrieving the six-digit SAME location codes (PSSCCC
). No further interpretation is performed. We should consider:
POLYGON
geometries. This database would likely be very large and need constant updating.Download locations for GIS files, as of this writing. These files are subject to periodic update and should not be used blindly.
zzZnnn
. An example is ID AMZ158
→ SAME 075158
The last three digits nnn
map directly to a SAME code suffix. The first two alphanumerics map to a "state" field per this page.
AM
: 75
AN
: 73
GM
: 77
LC
: 94
LE
: 96
LH
: 93
LM
: 92
LO
: 97
LS
: 91
PH
: 59
PK
: 58
PM
: 65
PS
: 61
PZ
: 57
SL
: 98
land_PubMesoZone_detail.kmz
water_MarStdZone_detail.kmz
.I am confused on how to implement this with an RTL SDR
Right now, samedec
is only tested on x86_64-pc-linux-gnu
. It is unclear if it works correctly on Windows, Mac, or other platforms. Most of the instructions are written for linux.
I am unable to provide direct assistance with these other platforms. If samedec
does not work, and you can contribute platform-specific fixes or advice, please feel free to do so.
Is it possible to add an option to output every SAME code header as they were received instead of a single one? That would be very helpful for testing. I am currently using the 'multimon-ng', which does it by default but I am not completely satisfied with it. I would like to try the 'samedec' instead but I need to see every header in the burst as long as the preamble got decoded correctly.
If you enjoy using samedec
and would like it to be packaged for your distro, consider volunteering to be a packager. Special attention is requested for distros which run on low-powered ARM hardware, like the raspberry-pi flavor of Ubuntu. The Debian project has a specific procedure for packaging Rust programs.
samedec
is free software and does not require any special permission in order to be packaged. If you would like to be recognized for your efforts, or if there are changes that would make it easier to package this software, please comment on this issue.
Hey there!
I am currently writing a Python app that uses a system call to pipe external audio into an app such as this one, however I have a dilemma.
Currently, I am using Multimon-NG to do this task right now, but due to some samplerate issues, I am required to move to a new codebase for the monitoring, and SameDec is perfect, except one issue.
With Multimon-NG, The SAME in Verbose mode allows to see "Part" Messages, or each individual data burst as they come in, as well as the End Of Messages. My codebase can work with the single Message that SameDec/SameOld puts out, however the End Of Message tones are the issue.
Due to SameOld only outputting EOMs when 3 have been received, this can cause some issues where not all 3 have been sent, received, or in some specific cases such as the Trilithic EASyPLUS and Cox Communication EAS relays, the EOMs can be faster or slower. (Example: Cox Communications, Trilithic EASyPLUS)
Is it possible to make SameOld/SameDec do this in a Verbosity Level, Such as display the bursts as received and decoded?
Currently, all three AFSK data bursts must be detected in order for sameold
to report a Message
to the client. Noise or sync issues might prevent sameold
from decoding all three bursts. We should be able to operate on just two—so long as they are identical.
Add a fallback decoder for this scenario. Also ensure that the timeout is long enough that we can miss the middle burst.
samedec may fail to decode a start-of-message (SOM) if:
i.e.:
NNNN
NNNN
ZCZC-WXR-TOR-…
ZCZC-WXR-TOR-…
ZCZC-WXR-TOR-…
If the messages are spaced more closely than MAX_INTERBURST_GAP_SYMBOLS
, Framer::bursts
will contain a mixture of EOM and SOM headers. The SOM will be missed.
Handling this situation potentially requires:
bursts
to only SOMA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.