Giter Site home page Giter Site logo

vladisslav2011 / stdcdec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cropinghigh/stdcdec

0.0 1.0 0.0 193 KB

Open-source inmarsat-C cli decoder, based on inmarsatc library.

License: GNU General Public License v3.0

C++ 99.92% CMake 0.08%

stdcdec's Introduction

stdcdec

Set of programs to receive Inmarsat-C signals

Related projects:

inmarsatc: library with all functions to receive Inmarsat-C signals
https://github.com/cropinghigh/inmarsatc

qstdcdec: qt version of stdcdec_parser
https://github.com/cropinghigh/qstdcdec

sdrpp-inmarsatc-demodulator: SDR++ module, which replaces stdcdec_demod and stdcdec_decoder
https://github.com/cropinghigh/sdrpp-inmarsatc-demodulator

Building:

  1. If you have an arch-like system, just install stdcdec-git with all dependencies

  2. Install inmarsatc library(libinmarsatc-git for arch-like systems)

  3. Build

    mkdir build
    cd build
    cmake ..
    make
    sudo make install
    

Usage:

  1. Run stdc_demod to demodulate symbols from audio stream(you need additional program to move RF signal to audio zone, like SDR++ or gqrx, Inmarsat-C signal are usually around 1539MHz).

    Available arguments:

    --lo-freq <freq>           - set the minimum audio frequency in Hz where demodulator will search for the signal, default=500Hz
    --hi-freq <freq>           - set the maximum audio frequency in Hz where demodulator will search for the signal, default=4500Hz
    --cent-freq <freq>         - set the initial audio center frequency in Hz to tune demodulator to, default=2600Hz; Because demodulator is not very good, it requires to be set quite precisely and a bit higher than actual signal center frequency(~100 Hz)
    --stats                    - demodulator will print statistics(frequency and lock status). Useful for tuning
    --source-file <file path>  - use the audio file as the source for the demodulator
    --source-udp <port>        - receive audio samples via udp. Compatible with gqrx, default argument=7355
    --source-alsa <device>     - read audio samples from specified alsa device, default argument=default
    --out-udp <ip> <port>      - send demodulated symbols to specified ip and port, default arguments=127.0.0.1 15003
    

    Note that exactly one source and one out arguments should be used.

  2. Run stdc_decoder to decode symbols to get the frames

    Available arguments:

    --verbose              - print all frames to the stdout, useful for tuning
    --in-udp <port>        - receive demodulated symbols via udp, default argument=15003
    --out-udp <ip> <port>  - send decoded frames to specified ip and port, default arguments=127.0.0.1 15004
    

    Note that exactly one in and one out arguments should be used.

  3. Run stdc_parser to extract packets and messages from the frames

    Available arguments:

    --verbose              - print all data for all parsed packets
    --print-all-packets    - print all packets, not only messages
    --in-udp <port>        - receive decoded frames via udp, default argument=15003(should be changed to 15004)
    --out-udp <ip> <port>  - send parsed packets to specified ip and port in JSON, default arguments=127.0.0.1 15005
    

    Note that exactly one in argument should be used

WARNING! All messages are directed to their recipients! If you're not the recipient, you should delete received message!

stdcdec's People

Contributors

cropinghigh avatar mnhauke avatar

Watchers

 avatar

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.