Coder Social home page Coder Social logo

sameold's People

Contributors

a-c0rn avatar cbs228 avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sameold's Issues

sameold: location API

At present, sameold only supports retrieving the six-digit SAME location codes (PSSCCC). No further interpretation is performed. We should consider:

  • Adding a type to represent the SAME location code
  • Containment tests: is the area specified by code X contained in the area specified by code Y?
    • United States FIPS code
    • Canada Location Code
  • Providing a location database which maps codes to place names. In the United States, there are many codes for marine areas and other places which are not part of core FIPS, and there are several different lists.
  • Providing a location database which maps codes to geo-referenced 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.

samedec: Windows and/or Mac support?

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.

All headers output option

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.

Help wanted: distro packaging

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.

Per-Header / EOM Output in a verbosity level

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?

Add fallback decoder

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.

Closely-spaced EOM/SOM might not decode

samedec may fail to decode a start-of-message (SOM) if:

  1. it is spaced very closely to a preceding end-of-message (EOM); and
  2. the first EOM header is missed.

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:

  • limiting bursts to only SOM
  • adding some logic to disambiguate
  • implementing the fallback decoder from #4.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.