Radarspotting

Mode-S Software => Common Interest => Topic started by: aeroradio on February 10, 2019, 03:42:42 PM

Title: ADSBox and squawk
Post by: aeroradio on February 10, 2019, 03:42:42 PM
Hi all,

I'm testing ADSBox on Linux computer. I have quite a longtime background with ADS-B (I started with SBS-1 and then played with RTL USB dongles and several Windows softwares). So, now I want to try with Linux.

I don't understand why there is only a few squawk codes displayed when receiving with ADSbox. About 85 aircrafts in the list and only 5 showing squawks. I tried to find an explanation, a reason, looked at my friend Google   ;)  but got no answer from him.

Could someone tell me why there is such a low rate of squawk codes displayed ?

Many thanks !

Denis
Title: Re: ADSBox and squawk
Post by: aeroradio on February 20, 2019, 12:56:00 PM
I give up with this software, unable to get good results.

Denis
Title: Re: ADSBox and squawk
Post by: IanH on February 20, 2019, 02:19:47 PM
Just started the version I have running under Linux and I see squawks for over 90% of the targets.

What is your source for the data - perhaps that is not including squawks.
Title: Re: ADSBox and squawk
Post by: aeroradio on February 20, 2019, 05:08:21 PM
Hi Ian,

Thanks for coming on this topic. The source I'm using is an RTL dongle that works well with Dump 1090 (I get all squawks codes with Dump 1090 + VRS).
Maybe my computer is not powerful enough to run ADSBox ? It's a Dell laptop with an I2 processor and 2 GB memory. Using Mint 18.3.

Denis
Title: Re: ADSBox and squawk
Post by: IanH on February 20, 2019, 05:55:49 PM
It might not be your computer.

What command line are you using with dump1090?
Title: Re: ADSBox and squawk
Post by: aeroradio on February 20, 2019, 07:33:52 PM
Ian,

Dump 1090 is launched with --interactive --net --net beast
and datas are displayed by VRS using port 30005 and all is OK with the squawks (I can compare with my Windows installation)

ADSBox is launched with --rtlsdr --lat 48.00 --lon -1.80 and watching datas in the list, I see very few squawks.

Thanks for your help.

Denis
Title: Re: ADSBox and squawk
Post by: IanH on February 20, 2019, 08:38:25 PM
Looks like you are running ADSBox on the Pi (--rtl-sdr parameter) whereas I am running it on a PC, receiving data from the Pi and viewing the web page on the PC. Perhaps that is the difference.
Title: Re: ADSBox and squawk
Post by: aeroradio on February 20, 2019, 09:27:09 PM
OK Ian... but it could also be my mistake. Maybe my parameters are wrong. I don't have a Pi, I run it on the Linux laptop PC... The RTL dongle is connected to the PC.
Am I wrong with parameters ?

Will be back tomorrow, have a good night !
Title: Re: ADSBox and squawk
Post by: IanH on February 20, 2019, 10:58:00 PM
No it is me who is confused.

My setup is different to yours so I made a mistake - probably why we are getting different results.

I realise now that you have a PC with RTL-SDR dongle attached. I need to test that.
Title: Re: ADSBox and squawk
Post by: aeroradio on February 21, 2019, 07:36:41 AM
OK Ian, I'm interested in your results when you will have done the test with your PC.

A friend of mine, who is running ADSBox in the same conditions (Linux Mint and RTL dongle directly attached to the PC) has the same problems : only very few squawks are displayed. Maybe be both of us misunderstood something.
Title: Re: ADSBox and squawk
Post by: atty on February 22, 2019, 05:29:22 AM
aeroradio,
I confirm ADSBox has deficit decoding DF5, DF21 with squawks when using sdr dongles. You can also see it with DF MASK on Flight Board panel. I try fix it and report here.
Title: Re: ADSBox and squawk
Post by: aeroradio on February 22, 2019, 07:13:10 AM
Hi atty,

Thanks for your comment... I spent a long time searching where my mistake could be so, now, I have an explanation and I will stop searching an error from me.
Hope you will find a solution, we'll wait for it.

By the way, I have a question atty : is it possible to use dump1090 as the data source and use ADSbox with it, both running on the same computer ? I didn't find the command line to write for such situation.

Denis
Title: Re: ADSBox and squawk
Post by: atty on February 22, 2019, 08:18:25 AM
aeroradio,
ADSBox support wide list of data sources (hex AVR, beast... see full list with --help option). You can use dump1090 with ADSBox if dump1090 can stream decoded data in one of supported format. Since I do not use dump1090 I can not give you more detailed answer.
Pay attention to ADSBox and dump1090 servers running at once. Those servers could not use the same ports or you get 'address already in use' error.
If you find how to stream data with dump1090 I'll help you with ADSBox command line to connect to this feed.
Title: Re: ADSBox and squawk
Post by: aeroradio on February 22, 2019, 09:27:09 AM
atty,

I do appreciate your help, many thanks.

Dump1090 is able to issue a stream on ports 30003 (SBS-1 format) 30005 (beast format). My local address is 192.168.0.106.
So I wrote this command line for ADSbox :

./adsbox --beast-server 192.168.0.106 --beast-server-port 30005 --lat 48.02 --lon -1.71

but the software immediately closes...
I suspected a conflict between both dump1090 and ADSbox servers and it seems that you confirm it...
Is my syntax correct ? In that case, I could try to change something, maybe the 30005 port address in dump1090 to avoid the conflict. Am I right ?
Title: Re: ADSBox and squawk
Post by: aeroradio on February 22, 2019, 09:52:09 AM
atty,

It works, now !

I just changed the dump1090 defaut ports (http, SBS-1, beast) to other numbers and now there is no conflict.
I first changed only beast port, it didn't worked, I got the "already in use" error message.
It seems we must change all ports numbers in dump...

So dump1090 can now feed data to ADSbox and I have the squawks. Waiting you to find the solution for squawks decoding in ADSbox so we didn't need dump.

Denis
Title: Re: ADSBox and squawk
Post by: atty on February 22, 2019, 11:21:31 AM
aeroradio,

ok, I'll keep you informed.