cropinghigh / stdcdec Goto Github PK
View Code? Open in Web Editor NEWOpen-source inmarsat-C cli decoder, based on inmarsatc library.
License: GNU General Public License v3.0
Open-source inmarsat-C cli decoder, based on inmarsatc library.
License: GNU General Public License v3.0
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.
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?
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
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
A 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.