ModeSDeco2 and ModeSMixer2 for the Dongle?

sergsero

New Member
Make the following correction:

'--agc' has no arguments, so remove the "on",
"--sbs 10001" is incorrect. Should be '--sbs10001 10001'.
'--rbs' has no arguments, so remove the "on"


So, use this:
cmd /c modesdeco2.exe --gain 49.6 --freq-correction 62 --agc --location 4.1893:89.5660 --web 8088 --rbs --beast 30003 --msg 30033 --sbs 10001 --avr 30031 --filter-ic --metric

Also, if you are not using a mode 'beamfinder plus' in PlanePlotter, Mode A/C you
not needed and only loads resources of the computer - remove it option (--rbs) at all. As --localtime, if you do not use PlanePlotter
 
Last edited:

kucengemok

Member
1. --beast 30003 --->--beast30003 30003
2. --msg 30033 -----> --msg30033 30033
3. --avr 30031 ------> --avr30031 30031

do i need to do that too?
 

sergsero

New Member
No.
Read the help!
C:\modesdeco2.exe --help

Or this:

Program options:
-h [ --help ] This help message
--device-list List Available devices
--device-index arg Select RTL device (default: 0)
--device-serial arg Select RTL device by serial no
--gain arg Set gain in RTL Receiver, dB (default: auto)
--agc Enable Automatic Gain Control in SDR (default: off)
--freq-correction arg Set RTL frequency correction, ppm (default: 0)
--airspy Select AirSpy device
--airspy-sn arg Select AirSpy device by serial no
--airspy-lna arg Set LNA gain in AirSpy Receiver (default: 15)
--airspy-mixer arg Set Mixer gain in AirSpy Receiver (default: 15)
--airspy-if arg Set IF gain in AirSpy Receiver (default: 8)
--airspy-sr arg Set AirSpy sample rate (default: max available). Example: 4, 6, 10 (for fw )
--input-file arg Set input filename with I/Q signals. Format: type:filename (type: rtl,airspy10,airspy6)
--rbs Enable RBS decoding (default: off)
--beast arg Enable Beast output listen port (default: off)
--avr arg Enable AVR output listen port (default: off)
--avrmlat arg Enable AVR MLAT output listen port (default: off)
--avrmlatas arg Enable AVR MLAT AirSpy output listen port (default off)
--sbs10001 arg Enable SBS-3 output listen port (default: off)
--msg arg Enable MSG output listen port (default: off)
--web arg Enable Web Server on port (default: off)
--web-auth arg Enable web auth username password (default: off)
--disable-web-log Disable Web Log (default: on)
--silhouettes arg Set Silhouettes directory
--pictures arg Set Aircraft Pictures directory
--db arg Set DB Filename
--frdb arg Set FlightRoute DB Filename
--location arg Receiver location Lat:Lon. Example: 36.2:-15.3
--verbose Verbose mode (default: off)
--localtime Local Time in MSG format output (default: UTC)
--filter-expire arg Filter record expire time, sec (default: 20)
--filter-count arg Filter record min count (default: 6)
--filter-time arg filter record min time, sec (default: 60)
--filter-nocountry Disable ICAO Country filter (default: on)
--filter-ic Enable Interrogator Code filter (default: off)
--flight-expire-time arg Flight expire time, sec (default: 3600)
--nmea arg Enable GPS Emulation. Format: ICAO Port:BaudRate
--nmea-logfile arg Set GPS Emulator logfile
--metric Enable metric system of distance measurement
 
Last edited:

kucengemok

Member
Make the following correction:

'--agc' has no arguments, so remove the "on",
"--sbs 10001" is incorrect. Should be '--sbs10001 10001'.
'--rbs' has no arguments, so remove the "on"


So, use this:
cmd /c modesdeco2.exe --gain 49.6 --freq-correction 62 --agc --location 4.1893:89.5660 --web 8088 --rbs --beast 30003 --msg 30033 --sbs 10001 --avr 30031 --filter-ic --metric

Also, if you are not using a mode 'beamfinder plus' in PlanePlotter, Mode A/C you
not needed and only loads resources of the computer - remove it option (--rbs) at all. As --localtime, if you do not use PlanePlotter
I used PFClient....
 

sergsero

New Member
On the screenshot I see that the program starts and works well. Determine which external client tries to connect and it fails.
 

kucengemok

Member
On the screenshot I see that the program starts and works well. Determine which external client tries to connect and it fails.
okay..i used Peerblock,HOSTS..and what do u mean with external client?






maybe u should upload yours to enable me to see the normal ones...
 

kucengemok

Member
The timeout was caused by the PFClient..validated. Maybe the software programmer could allow us to change the timeout to be a little bit longer.
 

airbus340

New Member
I have done some comparsion between Dump1090 and ModesDeco2 the last couple of days. I have seen many users say that MD2 give less planes but it´s not true in my corner of the world where it isn´t much traffic.

Dump1090 give slightly better range but MD2 decode 25% more flights all the time.

The biggest difference is --agc or not. I have --gain 48 and --agc and it is rolling in messages like crazy. :D

The only drawback is that MD2 crashes during the night when it doesn´t see any flights for a while. Here it is very empty in the sky at night, sometimes I have no flights for 2 hours, and when I wake up MD2 has closed. I guess it has to do with the timeout mentioned above this post. I would like to feed PF again, is there any solution for this problem so I can use MD2 and PF together without crashing?
 

loplo

New Member
My map is plalyng mad. All the planes are condensed into the top left corner.
Is it related to google, killing the map API?
 

kucengemok

Member
On the screenshot I see that the program starts and works well. Determine which external client tries to connect and it fails.
im using linux mint 18.3 and i want to use modesdeco2 with it..the problem is how?

#!/bin/bash
#A bash script to start modesdeco2 with optimal flags
cd /home/kucengemok/Downloads/modesdeco2_x86_64_20170127
./modesdeco2 --gain 49.6 --freq-correction 64 --agc --location 2.982118:101.424472 --web 8080 --rbs --beast 30005 --msg 30003 --sbs10001 10001 --avr 30031 --avrmlat 30031 --filter-ic --metric --localtime --filter-expire 7600 --flight-expire-time 7200 --google-key AIzaSyCfo5xur7Iv4ocHD4X6vz1Dhjo2pDXsDVU
 
Top