diff --git a/dump1090.c b/dump1090.c index d9139cf..1d672e7 100644 --- a/dump1090.c +++ b/dump1090.c @@ -49,6 +49,15 @@ #include "rtl-sdr.h" #endif +// File Version number +// ==================== +// Format is : MajorVer.MinorVer.DayMonth.Year" +// MajorVer chances only with significant changes +// MinorVer changes when additional features are added, but not for bug fixes (range 00-99) +// DayDate & Year changes for all changes, including for bug fixes. It represent the release date of the update +// +#define MODES_DUMP1090_VERSION "1.00.1404.13" + #define MODES_DEFAULT_RATE 2000000 #define MODES_DEFAULT_FREQ 1090000000 #define MODES_DEFAULT_WIDTH 1000 @@ -2591,35 +2600,38 @@ void modesReadFromClients(void) { void showHelp(void) { printf( -"--device-index Select RTL device (default: 0).\n" -"--gain Set gain (default: max gain. Use -100 for auto-gain).\n" -"--enable-agc Enable the Automatic Gain Control (default: off).\n" -"--freq Set frequency (default: 1090 Mhz).\n" -"--ifile Read data from file (use '-' for stdin).\n" -"--interactive Interactive mode refreshing data on screen.\n" -"--interactive-rows Max number of rows in interactive mode (default: 15).\n" -"--interactive-ttl Remove from list if idle for (default: 60).\n" -"--interactive-rtl1090 Display flight table in RTL1090 format.\n" -"--raw Show only messages hex values.\n" -"--net Enable networking.\n" -"--net-beast TCP raw output in Beast binary format.\n" -"--net-only Enable just networking, no RTL device or file used.\n" -"--net-ro-port TCP listening port for raw output (default: 30002).\n" -"--net-ri-port TCP listening port for raw input (default: 30001).\n" -"--net-http-port HTTP server port (default: 8080).\n" -"--net-sbs-port TCP listening port for BaseStation format output (default: 30003).\n" -"--no-fix Disable single-bits error correction using CRC.\n" -"--no-crc-check Disable messages with broken CRC (discouraged).\n" -"--aggressive More CPU for more messages (two bits fixes, ...).\n" -"--mlat display raw messages in Beast ascii mode.\n" -"--stats With --ifile print stats at exit. No other output.\n" -"--onlyaddr Show only ICAO addresses (testing purposes).\n" -"--metric Use metric units (meters, km/h, ...).\n" -"--snip Strip IQ file removing samples < level.\n" -"--debug Debug mode (verbose), see README for details.\n" -"--quiet Disable output to stdout. Use for daemon applications.\n" -"--ppm Set the receiver error on parts per million (default 0).\n" -"--help Show this help.\n" +"-----------------------------------------------------------------------------\n" +"| dump1090 ModeS Receiver Ver : " MODES_DUMP1090_VERSION " |\n" +"-----------------------------------------------------------------------------\n" +"--device-index Select RTL device (default: 0)\n" +"--gain Set gain (default: max gain. Use -100 for auto-gain)\n" +"--enable-agc Enable the Automatic Gain Control (default: off)\n" +"--freq Set frequency (default: 1090 Mhz)\n" +"--ifile Read data from file (use '-' for stdin)\n" +"--interactive Interactive mode refreshing data on screen\n" +"--interactive-rows Max number of rows in interactive mode (default: 15)\n" +"--interactive-ttl Remove from list if idle for (default: 60)\n" +"--interactive-rtl1090 Display flight table in RTL1090 format\n" +"--raw Show only messages hex values\n" +"--net Enable networking\n" +"--net-beast TCP raw output in Beast binary format\n" +"--net-only Enable just networking, no RTL device or file used\n" +"--net-ro-port TCP raw output listen port (default: 30002)\n" +"--net-ri-port TCP raw input listen port (default: 30001)\n" +"--net-http-port HTTP server port (default: 8080)\n" +"--net-sbs-port TCP BaseStation output listen port (default: 30003)\n" +"--no-fix Disable single-bits error correction using CRC\n" +"--no-crc-check Disable messages with broken CRC (discouraged)\n" +"--aggressive More CPU for more messages (two bits fixes, ...)\n" +"--mlat display raw messages in Beast ascii mode\n" +"--stats With --ifile print stats at exit. No other output\n" +"--onlyaddr Show only ICAO addresses (testing purposes)\n" +"--metric Use metric units (meters, km/h, ...)\n" +"--snip Strip IQ file removing samples < level\n" +"--debug Debug mode (verbose), see README for details\n" +"--quiet Disable output to stdout. Use for daemon applications\n" +"--ppm Set receiver error in parts per million (default 0)\n" +"--help Show this help\n" "\n" "Debug mode flags: d = Log frames decoded with errors\n" " D = Log frames decoded with zero errors\n" @@ -2627,7 +2639,7 @@ void showHelp(void) { " C = Log frames with good CRC\n" " p = Log frames with bad preamble\n" " n = Log network debugging info\n" -" j = Log frames to frames.js, loadable by debug.html.\n" +" j = Log frames to frames.js, loadable by debug.html\n" ); }