Coder Social home page Coder Social logo

Comments (5)

lawendel avatar lawendel commented on June 4, 2024

I substituted pthread_tryjoin_np with pthread_join, which I've should give similar results. Now the executable has been compiled and installed, but it fails to recognize my rtl-sdr dongle.

lawendel@Air-di-Andrea ~ % acarsdec -r 131.725 131.825
No matching devices found.
Failed to open rtlsdr device
Unable to init input

Analyzing the rtl.c file the error message seems to be connected to rtlsdr_open() function in rtl-sdr.h:

r = rtlsdr_open(&dev, dev_index);
	if (r < 0) {
		fprintf(stderr, "Failed to open rtlsdr device\n");
		return r;
	}

Is it a possible issue with this function?

Andy

from acarsdec.

TLeconte avatar TLeconte commented on June 4, 2024

With rtl dongle you must set the dongle number before :
acarsdec -r 0 131.725 131.825

from acarsdec.

lawendel avatar lawendel commented on June 4, 2024

Merci! I had just found out, doh... All right, now it decodes beautifully, issue closed (looks like "pthread_join" works, or at least it doesn't give an error). I would like to track the received flights on a map, do you have a suggestion? With an AIS application using http.server I'm using OpenCPN, which should be compatible with JSON but I'm not sure it would work with Acarsdec generated format without any conversion. Planeplotter, I believe, is out of question...

from acarsdec.

TLeconte avatar TLeconte commented on June 4, 2024

For flights on a map https://app.airframes.io/ will do that perhaps one day.
If you wanted plane position adsb is better suited.

from acarsdec.

lawendel avatar lawendel commented on June 4, 2024

Didn't know about Airframes, it's an oustanding project! I'm using dump1090 with real time mapping for ADS-B, it's fascinating and it would be nice to have a similar interface for ACARS/VDL2 as well.
Thanks for your support, really.

from acarsdec.

Related Issues (20)

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.