Skip to content

Commit

Permalink
Network server sending raw data to clients.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jan 10, 2013
1 parent 539039f commit b5ff48e
Show file tree
Hide file tree
Showing 5 changed files with 601 additions and 10 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ PROGNAME=dump1090

all: dump1090

dump1090.o: dump1090.c
$(CC) $(CFLAGS) dump1090.c -c -o dump1090.o
%.o: %.c
$(CC) $(CFLAGS) -c $<

dump1090: dump1090.o
$(CC) -g -o dump1090 dump1090.o $(LIBS)
dump1090: dump1090.o anet.o
$(CC) -g -o dump1090 dump1090.o anet.o $(LIBS)

clean:
rm -f *.o dump1090
19 changes: 18 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Dump 1090 is a Mode S decoder specifically designed for RTLSDR devices.

The main features are:

* Robust decoding of weak messages.
* Robust decoding of weak messages, with mode1090 many users observed
improved range compared to other popular decoders.
* Single bit errors correction using the 24 bit CRC.
* Ability to decode DF11, DF17 messages.
* Ability to decode DF formats like DF0, DF4, DF5, DF16, DF20 and DF21
Expand All @@ -14,6 +15,8 @@ The main features are:
* Decode raw IQ samples from file (using --ifile command line switch).
* Interactive mode where aircrafts currently detected are shown
as a list refreshing as more data arrives.
* CPR coordinates decoding and track calculation from velocity.
* TCP server streaming raw data to connected clients (use --net).

Installation
---
Expand Down Expand Up @@ -94,6 +97,20 @@ If you can capture traffic that Dump1090 is not able to decode properly, drop
me an email with a download link. I may try to improve the detection during
my free time (this is just an hobby project).

Network server features
---

By enabling the networking support with --net Dump1090 starts listening
for clients connections on port 30002 (you can change the port using
the --net-ro-port option).

Connected clients are served with data ASAP as they arrive from the device
(or from file if --ifile is used) in the raw format similar to the following:

*8D451E8B99019699C00B0A81F36E;

Every entry is separated by a simple newline (LF character, hex 0x0A).

Antenna
---

Expand Down
Loading

0 comments on commit b5ff48e

Please sign in to comment.