Code Monkey home page Code Monkey logo

stdcdec's People

Contributors

cropinghigh avatar mnhauke avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

stdcdec's Issues

(Question/Help) Receiver and Demod setup

I’ve previously been successful in receiving data using a wine appimage and scytale-c at least as far as the demod piece and data getting over to the UI - however due to a think sql and wine issues the actual messages were not parsed/displayed.

It appears with this project I can replace all of that. I just maybe need a little better understanding of the low/high/center freq settings and if that somehow correlates to what I have set in gqrx. You’ll see in this picture I’m using SDR++, but I was also using gqrx and sending over udp to your application. I’ve just gotten started so I’m sure I’m not doing something right, so far I’ve not seen any indication of information being passed between windows. Any help with initial setup would be much appreciated.

393820E9-B743-492A-8EF7-34AA40AE2820

inmarsatc_parser.h location

New to the project, but while building I'm getting a failure with make do to the missing parser header. Is that something I have to find elsewhere or part of some other package?

Dependencies to Document

Just mentioning so the README can be updated (or someone can find this if they run into trouble compiling) - on Raspbian/RaspiOS you need to install two dependencies for this to compile:

apt install libaudiofile-dev libasound2-dev

Cannot compile on Artix/Arch Linux

I'm using Artix Linux, all packages up to date, and compilation fails with this error:

[ 16%] Building CXX object CMakeFiles/stdc_demod.dir/stdc_demod.cpp.o
[ 33%] Linking CXX executable stdc_demod
[ 33%] Built target stdc_demod
[ 50%] Building CXX object CMakeFiles/stdc_decoder.dir/stdc_decoder.cpp.o
/home/user/Downloads/github/inmarsat/stdcdec/stdc_decoder.cpp: In function ‘void sendDecodedFrameViaUdp(inmarsatc::decoder::Decoder::decoder_result, int, sockaddr_in)’:
/home/user/Downloads/github/inmarsat/stdcdec/stdc_decoder.cpp:122:31: error: invalid use of incomplete type ‘struct std::array<char, 664>’
  122 |     auto serialized = to_bytes(data);
      |                       ~~~~~~~~^~~~~~
In file included from /usr/include/c++/12.1.0/mutex:38,
                 from /usr/include/inmarsatc_demodulator.h:22,
                 from /usr/include/inmarsatc_decoder.h:20,
                 from /home/user/Downloads/github/inmarsat/stdcdec/stdc_decoder.cpp:2:
/usr/include/c++/12.1.0/tuple:1595:45: note: declaration of ‘struct std::array<char, 664>’
 1595 |   template<typename _Tp, size_t _Nm> struct array;
      |                                             ^~~~~
/home/user/Downloads/github/inmarsat/stdcdec/stdc_decoder.cpp: In instantiation of ‘std::array<char, sizeof (T)> to_bytes(const T&) [with T = inmarsatc::decoder::Decoder::decoder_result]’:
/home/user/Downloads/github/inmarsat/stdcdec/stdc_decoder.cpp:122:31:   required from here
/home/user/Downloads/github/inmarsat/stdcdec/stdc_decoder.cpp:98:32: error: return type ‘struct std::array<char, 664>’ is incomplete
   98 | std::array< char, sizeof(T) >  to_bytes( const T& object ) {
      |                                ^~~~~~~~
/home/user/Downloads/github/inmarsat/stdcdec/stdc_decoder.cpp:99:35: error: ‘std::array<char, 664> bytes’ has incomplete type
   99 |     std::array< char, sizeof(T) > bytes ;
      |                                   ^~~~~
make[2]: *** [CMakeFiles/stdc_decoder.dir/build.make:76: CMakeFiles/stdc_decoder.dir/stdc_decoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/stdc_decoder.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

The gcc version is 12.1.0

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.