anything
AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: dump1090-mutability format and feature documentation  (Read 1956 times)

0 Members and 1 Guest are viewing this topic.

ivo

  • New Member
  • *
  • Posts: 6
dump1090-mutability format and feature documentation
« on: October 27, 2023, 07:09:03 PM »
dear experts --- I now have dump1090-mutability running.  It had easy installation across platforms.  (apt and brew !).  many thanks to the 32 contributors to the project that have put this together.

alas, I am now trying to learn more about its inputs and outputs.  pointers to this dump1090 documentation would be appreciated.  or is it just "read the source"?  I can guess a lot, but I still have a few questions:

* I like the format of `--interactive` (  "Hex    Mode  Sqwk  Flight   Alt    Spd  Hdg    Lat      Long   RSSI  Msgs  Ti-").  I would like this version of the output sent to a log file instead of to the console, where it updates the specific line.  I just want updates on this to go to the log file.  is this possible?  (I tried redirecting to an output file, but then dump1090 prints only the header repeatedly.)

* if not, I can take the dump1090 output and create this myself.  output format documentation could help to tell me what records I should ignore and what I should use for each and every field.

* what is the format of the lat/lon parameters and how are they used? I wonder if the above interactive format can then tell me the distance of each airplane from me...

* Why does it need two ^C to finally stop?  The first one always waits for a thread, which never seems to close.

regards, /iaw
« Last Edit: October 27, 2023, 07:21:50 PM by ivo »

abcd567

  • Hero Member
  • *****
  • Posts: 851
  • CYYZ - Toronto
Re: dump1090-mutability format and feature documentation
« Reply #1 on: October 27, 2023, 10:46:32 PM »


abcd@ubuntu22-04:~$ dump1090-mutability --help

-----------------------------------------------------------------------------
| dump1090 ModeS Receiver                              EB_SOURCE EB_VERSION |
-----------------------------------------------------------------------------
--device-index <index>   Select RTL device (default: 0)
--gain <db>              Set gain (default: max gain. Use -10 for auto-gain)
--enable-agc             Enable the Automatic Gain Control (default: off)
--freq <hz>              Set frequency (default: 1090 Mhz)
--ifile <filename>       Read data from file (use '-' for stdin)
--iformat <format>       Sample format for --ifile: UC8 (default), SC16, or SC16Q11
--throttle               When reading from a file, play back in realtime, not at max speed
--interactive            Interactive mode refreshing data on screen. Implies --throttle
--interactive-rows <num> Max number of rows in interactive mode (default: 22)
--interactive-ttl <sec>  Remove from list if idle for <sec> (default: 60)
--interactive-rtl1090    Display flight table in RTL1090 format
--raw                    Show only messages hex values
--net                    Enable networking
--modeac                 Enable decoding of SSR Modes 3/A & 3/C
--net-only               Enable just networking, no RTL device or file used
--net-bind-address <ip>  IP address to bind to (default: Any; Use 127.0.0.1 for private)
--net-ri-port <ports>    TCP raw input listen ports  (default: 30001)
--net-ro-port <ports>    TCP raw output listen ports (default: 30002)
--net-sbs-port <ports>   TCP BaseStation output listen ports (default: 30003)
--net-bi-port <ports>    TCP Beast input listen ports  (default: 30004,30104)
--net-bo-port <ports>    TCP Beast output listen ports (default: 30005)
--net-ro-size <size>     TCP output minimum size (default: 0)
--net-ro-interval <rate> TCP output memory flush rate in seconds (default: 0)
--net-heartbeat <rate>   TCP heartbeat rate in seconds (default: 60 sec; 0 to disable)
--net-buffer <n>         TCP buffer size 64Kb * (2^n) (default: n=0, 64Kb)
--net-verbatim           Do not apply CRC corrections to messages we forward; send unchanged
--forward-mlat           Allow forwarding of received mlat results to output ports
--lat <latitude>         Reference/receiver latitude for surface posn (opt)
--lon <longitude>        Reference/receiver longitude for surface posn (opt)
--max-range <distance>   Absolute maximum range for position decoding (in nm, default: 300)
--fix                    Enable single-bits error correction using CRC
--no-fix                 Disable single-bits error correction using CRC
--no-crc-check           Disable messages with broken CRC (discouraged)
--mlat                   display raw messages in Beast ascii mode
--stats                  Print stats at exit
--stats-range            Collect/show range histogram
--stats-every <seconds>  Show and reset stats every <seconds> seconds
--onlyaddr               Show only ICAO addresses (testing purposes)
--metric                 Use metric units (meters, km/h, ...)
--gnss                   Show altitudes as HAE/GNSS (with H suffix) when available
--snip <level>           Strip IQ file removing samples < level
--debug <flags>          Debug mode (verbose), see README for details
--quiet                  Disable output to stdout. Use for daemon applications
--show-only <addr>       Show only messages from the given ICAO on stdout
--ppm <error>            Set receiver error in parts per million (default 0)
--html-dir <dir>         Use <dir> as base directory for the internal HTTP server. Defaults to /usr/share/dump1090-mutability/html
--write-json <dir>       Periodically write json output to <dir> (for serving by a separate webserver)
--write-json-every <t>   Write json output every t seconds (default 1)
--json-location-accuracy <n>  Accuracy of receiver location in json metadata: 0=no location, 1=approximate, 2=exact
--dcfilter               Apply a 1Hz DC filter to input data (requires lots more CPU)
--help                   Show this help

Debug mode flags: d = Log frames decoded with errors
                  D = Log frames decoded with zero errors
                  c = Log frames with bad CRC
                  C = Log frames with good CRC
                  p = Log frames with bad preamble
                  n = Log network debugging info
                  j = Log frames to frames.js, loadable by debug.html
abcd@ubuntu22-04:~$


.

abcd567

  • Hero Member
  • *****
  • Posts: 851
  • CYYZ - Toronto
Re: dump1090-mutability format and feature documentation
« Reply #2 on: October 27, 2023, 11:02:52 PM »
abcd@ubuntu22-04:~$ dump1090-mutability > log.txt
^C
abcd@ubuntu22-04:~$ cat log.txt

*5dc0635857d2ab;
CRC: 000009
RSSI: -28.8 dBFS
Score: 1000
Time: 14936356.08us
DF:11 AA:C06358 IID:9 CA:5
 All Call Reply
  ICAO Address:  C06358 (Mode S / ADS-B)
  Air/Ground:    airborne

*02c18835ee4696;
CRC: a305fd
RSSI: -20.5 dBFS
Score: 1000
Time: 14940643.67us
DF:0 addr:A305FD VS:0 CC:1 SL:6 RI:3 AC:2101
 Short Air-Air Surveillance
  ICAO Address:  A305FD (Mode S / ADS-B)
  Air/Ground:    airborne?
  Altitude:      12325 ft barometric

*8da305fdea2d0860015f88c39b8f;
CRC: 000000
RSSI: -20.7 dBFS
Score: 1800
Time: 14947154.33us
DF:17 AA:A305FD CA:5 ME:EA2D0860015F88
 Extended Squitter Target state and status (V2) (29/1)
  ICAO Address:  A305FD (Mode S / ADS-B)
  Air/Ground:    airborne
  Target State and Status:
    Target altitude:   MCP, 23008 ft
    Altimeter setting: 1013.6 millibars
    Active modes:      autopilot VNAV
    ACAS:              operational
    NACp:              10
    NICbaro:           1
    SIL:               3 (per sample)

*a8000cbfffda0b16a0046451a73a;
CRC: 4d23e8
RSSI: -11.6 dBFS
Score: 1000
Time: 14953475.83us
DF:21 addr:4d23e8 FS:0 DR:0 UM:0 ID:3263 MB:FFDA0B16A00464
 Comm-B, Identity Reply
  ICAO Address:  4D23E8 (Mode S / ADS-B)
  Air/Ground:    airborne?
  Squawk:        5727

*2000011c4e82e1;
CRC: c041bc
RSSI: -16.8 dBFS
Score: 1000
Time: 14954153.92us
DF:4 addr:C041BC FS:0 DR:0 UM:0 AC:284
 Survelliance, Altitude Reply
  ICAO Address:  C041BC (Mode S / ADS-B)
  Air/Ground:    airborne?
  Altitude:      900 ft barometric

*5d4d23e8935ef8;
CRC: 000000
RSSI: -11.6 dBFS
Score: 1600
Time: 14991066.67us
DF:11 AA:4D23E8 IID:0 CA:5
 All Call Reply
  ICAO Address:  4D23E8 (Mode S / ADS-B)
  Air/Ground:    airborne

*5dc05ee53682d0;
CRC: 000000
RSSI: -13.0 dBFS
Score: 1600
Time: 15014982.08us
DF:11 AA:C05EE5 IID:0 CA:5
 All Call Reply
  ICAO Address:  C05EE5 (Mode S / ADS-B)
  Air/Ground:    airborne

abcd@ubuntu22-04:~$
« Last Edit: October 28, 2023, 05:58:02 AM by abcd567 »

abcd567

  • Hero Member
  • *****
  • Posts: 851
  • CYYZ - Toronto
Re: dump1090-mutability format and feature documentation
« Reply #3 on: October 27, 2023, 11:18:22 PM »
abcd@ubuntu22-04:~$ sudo apt install netcat


abcd@ubuntu22-04:~$ nc 127.0.0.1 30002

*8DAAD24658D3044FFFB987D08353;
*5DC05F04C23F49;
*02E19497663E87;
*02C60D35636CD5;
*02C60D35636CD5;
*5DA34E9D0D700D;
*200007BF939E3B;
*8DC04051581504B41976F6FFF5AB;
*8DA34E9D990D888048082E008F57;
*02E195B8F7A0FF;
*8DA3ED69990D7606F0042B5AB5E7;
*5DC084B93C9E04;
*8DA1AAAEF83300060049B8E897E5;
*5DC07C7B136F80;
*8DC029DD586B5145DD475B11645E;
*5DC07C7B136F80;
*200002905BDB16;
*5DC0405184044E;
*8DC029DD9909C61B104C171A6917;
*20000233A2BCD5;
*8DC058C35837E4DBAB9AD137DBAD;
*8DC058C3990CD1986828091FA06C;
*8DC084B958291110BF0037538525;
*8DC07C7B9908AE178838022B2AF5;
*02E19497058B40;
*8DC04051990C678C700482DB8AEF;
*02E615B82F9D1C;
*02E61A3079DFD8;
*8D4007FA582F948F597CD8D4B4C8;
*5DAAD246C46967;
*8D49526A58AF720EFC06343326FA;
*8DAAD2469911AA2C30083BEAD8BF;
*02E6199770A24B;
*8DA1AAAEE10303000000001F14FB;
*5DA1AAAE6BFBC9;
*5DA34E9D0D702C;
*02E195B70AE484;
*200005107639BE;
*200005B90FF9E8;
*2000031E52B83D;
*8DC058AE58A571D335E9512729C8;
*8DC05EE1EA2D085DA75C08D58785;
*5DC008F071D325;
*02A1853F04A206;
*8DABEE1B589B844E957D455602CD;
*2000053F88821E;
*8DC058AE99155298500425F17592;
*8DC05F0499091A11B05C0C0F96DA;
*02C18D3644B924;
*0281831E9BE40C;
*0281831E9BE40C;
*8DC084B99908341D586405348A45;
*8DC05EE1582BF10994F80AB7A16A;
*8DC05EE19908DA99E0A4053C757D;
*8DC084B9EA07E858013C085A0DAE;
*02A605B95BE413;
*02A605B95BE413;
*8DA1AAAE58AF85062406513DD17E;
*8DA3ED6958A5747E75AB8AE8896D;
*8DC008F05813312A7302BB9E188E;
*028602904ABAC4;
*028602904ABAC4;
*5DC008F071D325;
*5DA3BDA6BADBA5;
*8DC05F04583FF4BCAF99AC72F944;
*200005107639BE;
*02A18510FA19A6;
*8DA3BDA623101331C39E20FAE1BD;
*200002905BDB16;
*8DA3ED69EA3E9864013C08C6E26F;
*8DC008F0EA05F85EA35C087D30FD;
*02A1853F04A206;
*8DC058C3EA0DC85ED13F8CD7BE41;
*8DC07C7B5819E4A6337B05221D20;
*8DC058C3E1041B00000000AA7103;
*8DA34E9DF8210002004AB822C898;
*8DC07C7BF8210002004AB86E0BFF;
*02A18510FA19A6;
*20000233A2BCD5;
*0281831D640C1E;
*02A18590FDC53E;
*5DA1AAAE6BFBCB;
*8DAAD24658D304501FB99AC67A0D;
*8DC07C7BEA07E85C8F5C08353181;
*8DC008F0990C678C283C84777FEB;
*02A18590FDC53E;
*5DC0635A57CEBB;
*8DC04051F82300020049B874FA0A;
*8DA34E9D23101332CF4DA04E3CC2;
*8D4007FAEA2D085CE53C08C1462B;
*20000F101AA95D;
*02C186BE21C416;
*2000059071E526;
*8DC05EE1E1161C000000001089CD;
*8DC008F02329A076E338207FFC7E;
^C
abcd@ubuntu22-04:~$

++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++

abcd@ubuntu22-04:~$ nc 127.0.0.1 30003

MSG,4,1,1,C008F0,1,2023/10/27,19:10:48.210,2023/10/27,19:10:48.214,,,131,228,,,-640,,,,,0
MSG,5,1,1,C008F0,1,2023/10/27,19:10:48.217,2023/10/27,19:10:48.267,,1825,,,,,,,0,,0,
MSG,3,1,1,A34E9D,1,2023/10/27,19:10:48.221,2023/10/27,19:10:48.267,,34000,,,43.10211,-78.75889,,,,,,0
MSG,4,1,1,A34E9D,1,2023/10/27,19:10:48.221,2023/10/27,19:10:48.267,,,390,271,,,0,,,,,0
MSG,5,1,1,C04051,1,2023/10/27,19:10:48.222,2023/10/27,19:10:48.267,,2775,,,,,,,0,,0,
MSG,5,1,1,C084B9,1,2023/10/27,19:10:48.222,2023/10/27,19:10:48.267,,5275,,,,,,,0,,0,
MSG,7,1,1,C008F0,1,2023/10/27,19:10:48.231,2023/10/27,19:10:48.267,,1825,,,,,,,,,,
MSG,7,1,1,C04051,1,2023/10/27,19:10:48.232,2023/10/27,19:10:48.267,,2775,,,,,,,,,,
MSG,3,1,1,C07C7B,1,2023/10/27,19:10:48.232,2023/10/27,19:10:48.267,,4000,,,43.76509,-79.33343,,,,,,0
MSG,7,1,1,C06AAD,1,2023/10/27,19:10:48.233,2023/10/27,19:10:48.268,,1350,,,,,,,,,,
MSG,5,1,1,C084B9,1,2023/10/27,19:10:48.246,2023/10/27,19:10:48.268,,5275,,,,,,,0,,0,
MSG,7,1,1,C084B9,1,2023/10/27,19:10:48.254,2023/10/27,19:10:48.268,,5275,,,,,,,,,,
MSG,7,1,1,C084B9,1,2023/10/27,19:10:48.254,2023/10/27,19:10:48.268,,5275,,,,,,,,,,
MSG,8,1,1,C029DD,1,2023/10/27,19:10:48.255,2023/10/27,19:10:48.268,,,,,,,,,,,,0
MSG,7,1,1,C04051,1,2023/10/27,19:10:48.255,2023/10/27,19:10:48.268,,2775,,,,,,,,,,
MSG,7,1,1,C06AAD,1,2023/10/27,19:10:48.257,2023/10/27,19:10:48.268,,1350,,,,,,,,,,
MSG,7,1,1,C084B9,1,2023/10/27,19:10:48.257,2023/10/27,19:10:48.268,,5275,,,,,,,,,,
MSG,7,1,1,C05EE1,1,2023/10/27,19:10:48.258,2023/10/27,19:10:48.268,,10550,,,,,,,,,,
MSG,7,1,1,4007FA,1,2023/10/27,19:10:48.260,2023/10/27,19:10:48.268,,10375,,,,,,,,,,
MSG,7,1,1,4007FA,1,2023/10/27,19:10:48.263,2023/10/27,19:10:48.268,,10375,,,,,,,,,,
MSG,3,1,1,A1AAAE,1,2023/10/27,19:10:48.274,2023/10/27,19:10:48.322,,34000,,,44.29875,-79.07220,,,,,,0
MSG,4,1,1,C05F04,1,2023/10/27,19:10:48.276,2023/10/27,19:10:48.322,,,318,61,,,1280,,,,,0
MSG,7,1,1,C05EFA,1,2023/10/27,19:10:48.316,2023/10/27,19:10:48.322,,3000,,,,,,,,,,
MSG,5,1,1,C05EE1,1,2023/10/27,19:10:48.328,2023/10/27,19:10:48.377,,10550,,,,,,,0,,0,
MSG,5,1,1,C008F0,1,2023/10/27,19:10:48.328,2023/10/27,19:10:48.377,,1825,,,,,,,0,,0,
MSG,5,1,1,C07C7B,1,2023/10/27,19:10:48.328,2023/10/27,19:10:48.378,,4000,,,,,,,0,,0,
MSG,5,1,1,C05EFA,1,2023/10/27,19:10:48.329,2023/10/27,19:10:48.378,,3000,,,,,,,0,,0,
MSG,7,1,1,C06AAD,1,2023/10/27,19:10:48.330,2023/10/27,19:10:48.378,,1350,,,,,,,,,,
MSG,5,1,1,C008F0,1,2023/10/27,19:10:48.347,2023/10/27,19:10:48.379,,1825,,,,,,,0,,0,
MSG,3,1,1,C04051,1,2023/10/27,19:10:48.349,2023/10/27,19:10:48.379,,2775,,,43.75463,-79.48144,,,,,,0
MSG,4,1,1,C0635A,1,2023/10/27,19:10:48.350,2023/10/27,19:10:48.379,,,406,60,,,0,,,,,0
MSG,7,1,1,A3BDA6,1,2023/10/27,19:10:48.360,2023/10/27,19:10:48.379,,33975,,,,,,,,,,
MSG,4,1,1,4007FA,1,2023/10/27,19:10:48.363,2023/10/27,19:10:48.380,,,330,64,,,1088,,,,,0
MSG,5,1,1,C084B9,1,2023/10/27,19:10:48.369,2023/10/27,19:10:48.380,,5275,,,,,,,0,,0,
MSG,5,1,1,4007FA,1,2023/10/27,19:10:48.371,2023/10/27,19:10:48.380,,10375,,,,,,,0,,0,
MSG,7,1,1,48AE01,1,2023/10/27,19:10:48.376,2023/10/27,19:10:48.380,,39975,,,,,,,,,,
MSG,7,1,1,48AE01,1,2023/10/27,19:10:48.376,2023/10/27,19:10:48.431,,39975,,,,,,,,,,
MSG,7,1,1,48AE01,1,2023/10/27,19:10:48.380,2023/10/27,19:10:48.431,,39975,,,,,,,,,,
MSG,7,1,1,48AE01,1,2023/10/27,19:10:48.383,2023/10/27,19:10:48.431,,39975,,,,,,,,,,
MSG,3,1,1,C05EE1,1,2023/10/27,19:10:48.430,2023/10/27,19:10:48.433,,10550,,,43.50996,-79.55292,,,,,,0
MSG,4,1,1,C05EE1,1,2023/10/27,19:10:48.430,2023/10/27,19:10:48.433,,,346,82,,,1408,,,,,0
MSG,4,1,1,A3BDA6,1,2023/10/27,19:10:48.434,2023/10/27,19:10:48.485,,,382,279,,,0,,,,,0
MSG,3,1,1,A917B1,1,2023/10/27,19:10:48.442,2023/10/27,19:10:48.486,,25250,,,43.29144,-78.64792,,,,,,0
MSG,8,1,1,A3BDA6,1,2023/10/27,19:10:48.444,2023/10/27,19:10:48.486,,,,,,,,,,,,0
MSG,3,1,1,C084B9,1,2023/10/27,19:10:48.448,2023/10/27,19:10:48.486,,5275,,,43.65427,-79.45986,,,,,,0
MSG,5,1,1,C06AAD,1,2023/10/27,19:10:48.455,2023/10/27,19:10:48.486,,1350,,,,,,,0,,0,
MSG,4,1,1,C05EFA,1,2023/10/27,19:10:48.469,2023/10/27,19:10:48.487,,,196,131,,,-256,,,,,0
MSG,6,1,1,C084B9,1,2023/10/27,19:10:48.481,2023/10/27,19:10:48.487,,,,,,,,7441,0,0,0,
MSG,4,1,1,A1AAAE,1,2023/10/27,19:10:48.494,2023/10/27,19:10:48.541,,,371,284,,,0,,,,,0
MSG,4,1,1,C04051,1,2023/10/27,19:10:48.499,2023/10/27,19:10:48.542,,,139,228,,,-896,,,,,0
MSG,5,1,1,C008F0,1,2023/10/27,19:10:48.508,2023/10/27,19:10:48.542,,1825,,,,,,,0,,0,
MSG,5,1,1,C084B9,1,2023/10/27,19:10:48.519,2023/10/27,19:10:48.543,,5275,,,,,,,0,,0,
MSG,7,1,1,C084B9,1,2023/10/27,19:10:48.533,2023/10/27,19:10:48.543,,5275,,,,,,,,,,
MSG,8,1,1,A1AAAE,1,2023/10/27,19:10:48.533,2023/10/27,19:10:48.543,,,,,,,,,,,,0
MSG,7,1,1,4007FA,1,2023/10/27,19:10:48.536,2023/10/27,19:10:48.543,,10375,,,,,,,,,,
^C
abcd@ubuntu22-04:~$


================================================
================================================
================================================

abcd@ubuntu22-04:~$ nc 127.0.0.1 30005
N▒XX&C{▒2t{ph ▒32t}3J:▒▒>▒w▒2t}h▒]IRj
▒3t~▒▒,▒▒j▒▒!J▒▒`2>:8▒▒>▒w▒3t▒▒
;▒2t▒▒▒]▒#▒,▒▒2t▒▒]IRj
▒@▒▒▒]▒▒▒▒▒▒2t▒:[▒▒▒R ▒▒X▒h▒2t▒▒▒▒      4▒3t▒'▒
                   2t▒
)▒▒
   3t▒6▒▒R ▒▒▒▒2t▒>▒▒▒▒▒@▒2t▒YT ▒PZ3t▒▒▒_▒d▒▒:2t▒▒▒ ▒▒H3t▒▒▒IRjX▒▒O▒>g▒▒▒2t▒P5]▒R ▒▒O2t▒/▒▒▒
                                                                                            3t▒;R▒▒R ▒#I▒I▒l3t▒(▒▒u2▒▒▒▒▒3t▒
▒@▒▒y▒3t▒▒▒▒▒[▒X▒9▒▒▒K3t▒▒qn▒▒▒XĪ▒r,▒1▒2t▒▒Y]HQ▒▒/2t▒▒▒X >SW▒2t▒do▒▒▒▒▒2t▒j]HQ▒▒/2t▒▒▒ ▒32t▒Y▒]HQ▒▒/3t▒/v6▒▒R X▒à▒.2t▒▒▒]HQ▒▒/2t▒)▒X ▒t#2t▒▒S▒:▒▒j▒▒
]H▒▒\n2t▒▒;:▒▒z/        2t▒x'
]H▒▒\n2t▒▒▒9▒▒z/        3t▒▒▒_▒ 'P@▒(▒2t▒>▒s]▒▒<▒2t▒▒▒]▒s▒▒3t▒8▒▒▒[▒▒▒X▒▒▒3t▒▒  ▒▒^▒▒
ʗx$P▒3t▒▒▒H▒▒
▒▒$▒▒▒3t▒1s▒▒▒Q▒?▒1▒▒2t▒;
▒▒▒▒▒PuTTYPuTTY3t▒ut▒▒▒▒
n▒84▒[3t▒▒▒
▒▒^▒▒#I▒k/▒2t▒▒▒
▒▒▒▒▒2t▒▒"▒▒▒▒@▒3t▒▒5▒▒[ș
Ј8@▒▒3t▒1       ▒▒X▒Xa3▒
nd▒k3t▒▒        ▒▒XÙ▒▒▒▒▒▒
                          2t▒S▒yR▒2t▒^s ▒H▒▒2tď▒]▒[▒▒ij3t▒Q▒a▒▒R ▒▒X▒h▒2t▒O
▒#▒X#▒efv6▒▒3t▒h▒▒▒#ș   ▒`▒tJ<2t▒t      &▒W▒n3t▒Z▒▒X▒X▒q▒▒:-
J▒▒2t▒(+]▒j▒▒▒▒2tͩ▒=]▒j▒▒▒▒2t▒▒5a▒▒▒\s2tρ▒3▒▒0▒r▒3t▒\        w2t▒▒▒▒▒▒▒@▒2t▒p▒

▒@▒Xq▒F{H
픷%~D▒▒y3t▒3▒z▒▒▒▒▒▒▒@▒3t▒`<▒▒R% ▒▒Y3t▒&▒'▒
               ▒▒▒0▒▒▒▒3t▒G▒▒▒X▒▒J▒p'▒▒02t▒WR
▒▒▒\2tڐ
 ▒▒▒?3t▒X▒+▒▒#▒▒\▒?▒$▒3t૟+▒▒j▒XM+!      ▒2t▒
                                            ]▒X▒▒▒2t▒'▒d =▒▒▒2t▒+A▒▒0▒r▒3t▒/p   ▒▒_Xid▒▒▒▒2t▒p▒A3▒n43t▒K▒v▒▒▒▒▒c2t▒2\-▒▒z/      2t▒2▒▒▒▒▒▒2t▒▒▒▒▒▒2t▒▒▒i]▒R ▒▒O3t▒/▒▒[▒X▒▒ՄST▒▒2t▒▒0f▒|a▒2t▒&m▒▒= ▒▒2t▒▒o▒▒= ▒▒2t▒▒▒n▒▒= ▒▒2t▒S▒n▒▒= ▒▒2t▒0
3t▒▒0▒▒▒XĪ▒r(7▒▒▒▒^[[?6cPuTTY3t▒▒)B▒▒R ▒▒XP(▒2t▒Di=     ▒9▒j3t▒s▒p▒▒▒▒#I▒C▒     2t▒&
]▒^▒▒   z2u▒c+▒▒z/      3u▒▒)▒  ▒▒▒▒?▒eԲ▒2u▒
▒g▒/2u▒D =▒▒▒2u

▒▒▒3u(;K▒0▒9▒"TL#▒▒3u
▒n▒X▒ryz_▒▒▒h3u
]▒X▒JM2u▒▒]IRj
▒3u▒`
▒x▒ ▒3uT32▒▒▒▒▒,▒▒j▒▒
n▒4▒\`r2u▒R]HQ▒▒-3uOe
▒▒^▒▒
▒▒▒iX▒▒▒m▒?_▒   'P@▒(▒3u▒.
▒3u.▒▒▒[ș
Ј8@%82u ▒]0 ▒H▒▒3u ▒▒▒▒▒▒=▒y▒_2u!'▒ᔙ▒`2u& ▒▒▒▒▒▒3u'j▒9▒▒#▒X#
▒@▒     ▒▒▒X▒3u(/▒                                          J▒&▒▒▒3u'w▒9▒▒#ș    "▒@▒▒GO3u(
▒▒X▒▒▒^▒?
΢3u+▒I▒▒X▒Xa3▒
P3u,%▒▒IRjX▒▒▒▒▒mXo▒2u.▒2>]▒#▒,▒▒2u/▒O =▒▒▒2u0{ R▒▒2u1▒$        ]▒s▒▒3u2▒0R▒=▒i▒▒▒׭▒y2u3▒▒la▒▒▒\s3u55;
▒▒▒▒▒D▒▒c▒v3u6▒W
                ▒▒▒*o3`▒▒"▒2u6▒-]▒X▒JM3u7Z
U▒▒R ▒▒X▒h▒2u7v▒▒1
▒▒2u7▒▒  ▒▒▒?3u8▒
▒▒▒`0▒\▒2u9▒i ▒H▒▒3u;▒▒=▒▒j▒▒\▒▒3u=M6▒▒[▒X▒▒τK▒K▒2u>`Ox▒▒= ▒▒

^C
abcd@ubuntu22-04:~$


.
« Last Edit: October 28, 2023, 06:00:23 AM by abcd567 »

ivo

  • New Member
  • *
  • Posts: 6
Re: dump1090-mutability format and feature documentation
« Reply #4 on: October 27, 2023, 11:28:13 PM »

thanks, but I should have been clearer.  I have seen the input options, and the output.  unfortunately, I don't know the format of the arguments to lat and lon inputs.

for example, I don't understand why I have an extended squitter record that contains, say,

  CPR latitude:  33.78470 (82678)
  CPR longitude: -118.23985 (118783)

and other records that contain only the integer parentheticals.  I presume 82678 somehow should map into 33.78470, but I don't know how it does this.  Another record holds

  CPR latitude:  33.78319 (70345)

somehow, the difference of 12333 should map into 0.00151 .  what is this number?

abcd567

  • Hero Member
  • *****
  • Posts: 851
  • CYYZ - Toronto
Re: dump1090-mutability format and feature documentation
« Reply #5 on: October 28, 2023, 12:40:43 AM »
If you have not set your receiver's (ubuntu computer+dongle+antenna) location in config file of dump1090-mutability, then in table on right side of map will have distance (of aircraft from receiver) will be empty. Also by default receiver location is set to somewhere in italy, so that may be reason for error in lat and lon.


To set your receiver's location, edit config file

sudo nano /etc/default/dump1090-mutability 

Scroll down till you see following:

# If set, supplies a reference location for local position decoding.
LAT=""
LON=""

Add values in decimal degrees (no blank space after = sign). For example I entered my location like below:
LAT="43.584"
LON="-79.627"

Save file
Restart dump1090-mutability
Reload browser. On gmap.html, you will see dot for receiver location, and 3 concentric circles for range at 100, 159, and 200 nautical miles.


.
« Last Edit: October 28, 2023, 03:25:31 AM by abcd567 »

abcd567

  • Hero Member
  • *****
  • Posts: 851
  • CYYZ - Toronto
« Last Edit: October 28, 2023, 11:45:25 AM by abcd567 »

ivo

  • New Member
  • *
  • Posts: 6
Re: dump1090-mutability format and feature documentation
« Reply #7 on: October 28, 2023, 07:17:31 PM »

thank you.  the first document by Junzi Sun, in particular, is a very good explanation of the encoding system.

I now appreciate dump1090's capability to give me the GPS coordinates once it has read both an even and odd coordinate!

(I am not using the web server mode.  I am really just reading its dump1090 output to the console.)