Welcome to Radarspotting. Please login or sign up.

May 19, 2024, 11:10:55 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

ModeSDeco2 and ModeSMixer2 - console programs for RTLSDR and transcoding

Started by sergsero, August 09, 2013, 03:08:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fat-tony

@sergsero - I installed your latest update 20150715 on my RPi2. Works great! No issue with "collapsed" top-left corner noted. I did have it several versions ago, but a clear of the cache fixed that for me on Firefox (version 39 on ubuntu). This new version of the Google API seems to have fixed the font (typeface) issue I had with the numeric characters on the stats page. It had always worked ok for me on Chrome, but Firefox now seems to be using the proper font also. The new feature on the map settings page where you can get the met report for a specific airport works great too!

I tested the shutdown time manually using a console start up and using CTRL-C for shutdown. like you, it was about three seconds, so no issue there. Here's a screen grab:

pi@raspberrypi ~/dump1090 $ ./modesmixer2 --inSerial /dev/ttyUSB0:3000000:hardware --outServer beast:10001 --web 8888 --db BaseStation.sqb --frdb flightroute.sqb --location 53.xx:-6.xx --flight-expire-time 600
2015-07-20 11:48:35.247  INFO     ModeSMixer2 v.20150715
2015-07-20 11:48:35.253  INFO     Open DB session
2015-07-20 11:48:37.061  INFO     outServer(beast:10001) started
2015-07-20 11:48:37.065  INFO     inSerial(/dev/ttyUSB0:3000000) connected
2015-07-20 11:48:38.004  INFO     inSerial(/dev/ttyUSB0:3000000) BEAST data stream detected
2015-07-20 11:48:40.833  INFO     Coverage area was determined
2015-07-20 11:48:54.799  INFO     outServer(beast:10001) 127.0.0.1:59952 connected
^C2015-07-20 11:51:28.890  INFO     outServer(beast:10001) 127.0.0.1:59952 disconnected
2015-07-20 11:51:32.923  INFO     Close DB session
2015-07-20 11:51:33.818  INFO     Closed successfully
pi@raspberrypi ~/dump1090 $

dfroula

Apologies!

I saw 23 DF18 messages show up on the Stats web page of modesmixer2 today as "EXTENDED SQUITTER/SUPPLEMENTARY", so they clearly are supported. It shows how rare reception is here, even though I am only 30 miles West of O'Hare airport (KORD) in Chicago.

Thanks and regards,

Don
WD9DMP

nurmiin

Hi sergsero,

Fine job with Modes's, thanks a lot. Both works very well on Pi2, XP, Ubuntu14 and Debian8.

But how could I get in sight on screen buttons "flights" and "tools"? My screen is an old T43, 1028x768px and using Firefox39 on XP.

Best Regards
nurmiin


sergsero

Hi nurmiin,

Two years ago an initial version of the software was created as a console program - without Web GUI.
By the way, I found an old ASUS with XGA resolution. If you're asking about the buttons in top-right corner, they are displayed on the screen.But only on the page "Map".

Page "Flight" with a resolution of 1024 pixels, has a bottom horizontal scroll bar. Although I will try to fit it in a 1024 pixel in the future without scrolling.

Regards,
sergsero

[Attachment deleted by Admin to save file space]

nurmiin

Hi Sergsero,

Thanks for your reply. My map screen is like in this picture.

Regards
nurmiin

[Attachment deleted by Admin to save file space]

sergsero

Hi nurmiin,

Please upgrade your version to last v.20150715, as displayed on my picture. The download link is in the message #424 this thread.

sergsero

sergsero

Hi Don,

Thank you for testing DF18.
Modesmixer2 code has theoretical capability of decoding all 4 of 8 types of format DF18 ICAO Annex 10 Volume IV - Surveillance and Collision Avoidance Systems (or DO-260B).

However, in Russia now really used only Code 0 (ADS-B ES/NT devices that report the ICAO 24-bit address in the AA field). And I have no way to check other modes.

Based on your's observation, it can be assumed that the Code 5 (TIS-B messages that relay ADS-B messages that use other addressing techniques in the AA field) and Code 6 (ADS-B rebroadcast using the same type codes and message formats as defined for DF17 ADS-B messages) are also decoded and displayed in the table.

In case of Code 0 the program is able to differentiate it from DF17 (aircraft) and will display this ES/NT (extended squitter/non-transponder) devise using a individual label on Google map. The attached screenshot displays tower and vehicles of apron management services.

Regards,
sergsero

[Attachment deleted by Admin to save file space]

nurmiin

Quote from: sergsero on July 21, 2015, 02:25:53 PM
Hi nurmiin,

Please upgrade your version to last v.20150715, as displayed on my picture. The download link is in the message #424 this thread.

sergsero

Hi Sergsero,

Oh yes, buttons are in sight and working fine now with Pi2. Older Debian version only flashes buttons when loading page.
I think you are working hard with other versions and all can't be ready in same time.

I lift my hat to you

Best Regards
nurmiin



G0HEU

Hi all

I am trying to test the mixer2 can someone please check the start line

cmd /c modesmixer2.exe  --inConnect 127.0.0.1:31001 --location 54.8822:-1.5493 --web 8080 --silhouette c:\modes\sil --db c:\modes\basestation.sqb --frdb c:\modes\flightroute.sqb

I am getting an error "inconnect(127.0.0.1:31001) connect to host 127.0.01:31001 error no connection could be made because the target machine activity refused it"

I have the deco2 running no problems

Thanks
Paul

IanH

My immediate thought is what is providing the port 31001 output for input into ModeSMixer?

If you are picking up date from ModeSDeco, what is your ModeSDeco command line?

G0HEU

hi

the port came from some instructions I found online I wasn't sure about the port

command line for deco2

cmd /c modesdeco2.exe --gain 49.6 --freq-correction 68 --location 55.6050:-1.7243 --rbs --web 8080 --silhouette c:\modes\sil --db c:\modes\basestation.sqb --frdb c:\modes\flightroute.sqb

the dongle is plugged into the machine I am testing on

thanks

paul

sergsero

Hi Paul,

Unlike other programs, modesdeco2, by default, has not activated output servers. To get an output data stream, you must explicitly specify the required output option.

In your case, to modesmixer2 able to get anything on the port 31001 (--inConnect 127.0.0.1:31001), modesdeco2 must output data in some format through this port 31001.
So, for example, in BEAST format: just add the option  --beast 31001 to modesdeco2 cmd.

cmd /c modesdeco2.exe --gain 49.6 --freq-correction 68 --location 55.6050:-1.7243 --rbs --web 8080 --silhouette c:\modes\sil --db c:\modes\basestation.sqb --frdb c:\modes\flightroute.sqb --beast 31001

   
Additionally, I note that:
- the simultaneous operation of the two programs with the same database file can cause issues with competition access. Specify this db settings only for some one of the programs, for example, modesmixer2.
- use the option --rbs only if you are absolutely sure that its data you'll required. Otherwise, Mode A/C messages will be only to additionally use resources CPU and clog output data.

Regards,
sergsero

IanH

Looks like you need an output from ModeSDeco. At the moment it is just going to a web page.

And Sergsero beat me to the answer.  ;D

Well at least it was the same as I was going to suggest.


sergsero

Hi IanH,

I'm sorry. Seeing your clarifying question, I knew immediately that you know the right answer :).
I'm always grateful to you!

Regards,
sergsero

IanH

sergsero

No problem - you are the expert. We try to help out if you are not around  ;)

Ian