Go to the source code of this file.
Functions | |
| void | backgroundTasks (void) |
| int | main (int argc, char **argv) |
| void | modesInit (void) |
| void | modesInitConfig (void) |
| void | modesInitRTLSDR (void) |
| void | readDataFromFile (void) |
| void * | readerThreadEntryPoint (void *arg) |
| void | rtlsdrCallback (unsigned char *buf, uint32_t len, void *ctx) |
| void | showHelp (void) |
| void | sigintHandler (int dummy) |
| void | snipMode (int level) |
| void backgroundTasks | ( | void | ) |
Definition at line 402 of file dump1090.c.
References interactiveRemoveStaleAircrafts(), interactiveShowData(), Modes, and modesReadFromClients().
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 420 of file dump1090.c.
References aeraConnectToSocket(), aeraSocketFD, aeraSocketFD2, backgroundTasks(), computeMagnitudeVector(), detectModeS(), exit, interactiveShowData(), Modes, MODES_ASYNC_BUF_SAMPLES, MODES_DEBUG_BADCRC, MODES_DEBUG_DEMOD, MODES_DEBUG_DEMODERR, MODES_DEBUG_GOODCRC, MODES_DEBUG_JS, MODES_DEBUG_NET, MODES_DEBUG_NOPREAMBLE, MODES_MAX_BITERRORS, modesInit(), modesInitConfig(), modesInitNet(), modesInitRTLSDR(), readerThreadEntryPoint(), showHelp(), sigintHandler(), and snipMode().
| void modesInit | ( | void | ) |
Definition at line 67 of file dump1090.c.
References exit, Modes, MODES_ASYNC_BUF_SIZE, MODES_ICAO_CACHE_LEN, MODES_LONG_MSG_SIZE, MODES_PREAMBLE_SIZE, MODES_RAWOUT_BUF_FLUSH, MODES_RAWOUT_BUF_RATE, MODES_RAWOUT_BUF_SIZE, MODES_USER_LATLON_VALID, modesInitErrorInfo(), and sqrt().
Referenced by main().
| void modesInitConfig | ( | void | ) |
Definition at line 44 of file dump1090.c.
References Modes, MODES_DEFAULT_FREQ, MODES_INTERACTIVE_DELETE_TTL, MODES_INTERACTIVE_DISPLAY_TTL, MODES_INTERACTIVE_ROWS, MODES_MAX_GAIN, MODES_NET_HTTP_PORT, MODES_NET_INPUT_BEAST_PORT, MODES_NET_INPUT_RAW_PORT, MODES_NET_OUTPUT_BEAST_PORT, MODES_NET_OUTPUT_RAW_PORT, MODES_NET_OUTPUT_SBS_PORT, MODES_USER_LATITUDE_DFLT, and MODES_USER_LONGITUDE_DFLT.
Referenced by main().
| void modesInitRTLSDR | ( | void | ) |
Definition at line 168 of file dump1090.c.
References exit, Modes, MODES_AUTO_GAIN, MODES_DEFAULT_RATE, and MODES_MAX_GAIN.
Referenced by main().
| void readDataFromFile | ( | void | ) |
Definition at line 249 of file dump1090.c.
References Modes, MODES_ASYNC_BUF_SIZE, and G4StationSimulatorOG::p.
Referenced by readerThreadEntryPoint().
| void* readerThreadEntryPoint | ( | void * | arg | ) |
Definition at line 295 of file dump1090.c.
References Modes, MODES_ASYNC_BUF_NUMBER, MODES_ASYNC_BUF_SIZE, MODES_NOTUSED, readDataFromFile(), and rtlsdrCallback().
Referenced by main().
| void rtlsdrCallback | ( | unsigned char * | buf, |
| uint32_t | len, | ||
| void * | ctx | ||
| ) |
Definition at line 229 of file dump1090.c.
References Modes, MODES_ASYNC_BUF_SIZE, and MODES_NOTUSED.
Referenced by readerThreadEntryPoint().
| void showHelp | ( | void | ) |
| void sigintHandler | ( | int | dummy | ) |
Definition at line 36 of file dump1090.c.
References Modes, and MODES_NOTUSED.
Referenced by main().
| void snipMode | ( | int | level | ) |
Definition at line 321 of file dump1090.c.
References utl::abs(), RdGeoCeLDFFitter::c, and MODES_PREAMBLE_SIZE.
Referenced by main().