Commit Graph

286 Commits

Author SHA1 Message Date
Ian Gulliver
9df778a88a Factor out opts parsing, clean up shutdown. 2016-02-20 23:22:00 -08:00
Ian Gulliver
fe5fa29abf Explain line endings and naming in raw doc. 2016-02-18 17:07:48 -08:00
Ian Gulliver
ec4ac3df3a Support multiple line endings in raw format. 2016-02-18 17:06:20 -08:00
Ian Gulliver
bca84394ce Remove airspy_adsb, as it's no longer used by upstream 2016-02-18 17:00:33 -08:00
Ian Gulliver
52ce6767c0 Style 2016-02-18 16:59:04 -08:00
Ian Gulliver
0b9e9fe8f0 Mark airspy_adsb deprecated 2016-02-18 16:58:35 -08:00
Ian Gulliver
11eeb26b9a Detect timestamp regression. 2016-02-18 10:45:04 -08:00
Ian Gulliver
e3cd9d4b36 Newline after output 2016-02-18 10:22:42 -08:00
Ian Gulliver
2024bdc880 Add simple lib, utility to check mhz. 2016-02-18 10:10:47 -08:00
Ian Gulliver
4ca9fbeb4a Move gitignore into subdir. 2016-02-18 09:37:53 -08:00
Ian Gulliver
cf6eef6118 Move adsbus into its own dir. 2016-02-18 09:36:53 -08:00
Ian Gulliver
6ac29e9704 Start of wakeup framework. 2016-02-18 09:33:32 -08:00
Ian Gulliver
820d5d6192 Switch to more consistently setting sockets non-blocking. 2016-02-17 22:22:14 -08:00
Ian Gulliver
4398deb2d4 Working model for triggering reconnects on outgoing connections. 2016-02-17 22:14:04 -08:00
Ian Gulliver
ff1a77f22b Stop disconnecting send clients if we get data from them. 2016-02-17 22:00:05 -08:00
Ian Gulliver
1bc8d49d38 Implement airspy_adsb send support. 2016-02-17 21:53:34 -08:00
Ian Gulliver
236f058654 Stop trying to filter incoming blank RSSI; it looks the same as real data. 2016-02-17 21:53:08 -08:00
Ian Gulliver
83f95ca252 Minor help text fix. 2016-02-17 20:15:56 -08:00
Ian Gulliver
3801b2c9ce Raw send support. 2016-02-17 20:14:44 -08:00
Ian Gulliver
7d39421966 Clarify some log messages. 2016-02-17 18:02:56 -08:00
Ian Gulliver
44cb3fb122 Beast send support. 2016-02-17 18:01:39 -08:00
Ian Gulliver
5671f37f8a Split backend and outgoing. Rename backend -> receive, client -> send. 2016-02-17 17:19:57 -08:00
Ian Gulliver
ae5b4c1ce4 Style and include cleanups. 2016-02-17 16:40:09 -08:00
Ian Gulliver
8e2e7b2562 Much more helpful help. 2016-02-17 16:04:11 -08:00
Ian Gulliver
5fd120baec Move some initialization closer to the client. 2016-02-17 15:43:51 -08:00
Ian Gulliver
e14b444466 Make epoll_fd global as a concession to clarity. Handle client disconnection even when silent. 2016-02-17 15:41:27 -08:00
Ian Gulliver
908a364aef Add support for listening sockets for outgoing data. 2016-02-17 13:56:13 -08:00
Ian Gulliver
7f8b92deaf Support incoming connection backends (push to adsbus). 2016-02-17 13:41:33 -08:00
Ian Gulliver
020174d11a Simply backend API. 2016-02-17 12:30:26 -08:00
Ian Gulliver
ca0e1db556 Add packet type to json output. 2016-02-17 12:13:21 -08:00
Ian Gulliver
c18a03d2e1 Add raw input support. 2016-02-17 12:11:50 -08:00
Ian Gulliver
318ddd2998 Make some JSON output fields optional rather than passing bogus data. 2016-02-17 11:59:37 -08:00
Ian Gulliver
d60a2c9869 Change to slashes for host/port delimiter. 2016-02-17 11:10:01 -08:00
Ian Gulliver
c98e97d8fc Fix legit stack smash. 2016-02-17 11:07:18 -08:00
Ian Gulliver
f7bdafcfae Format change. 2016-02-17 11:00:34 -08:00
Ian Gulliver
2daefb44d5 More security. 2016-02-17 10:56:47 -08:00
Ian Gulliver
cb629aa2c4 PIE on 2016-02-17 10:48:34 -08:00
Ian Gulliver
d143eb6e32 Clone instructions. 2016-02-17 10:34:47 -08:00
Ian Gulliver
82e302216b Style? 2016-02-17 10:34:00 -08:00
Ian Gulliver
3bc366357d Style. 2016-02-17 10:32:34 -08:00
Ian Gulliver
6c2c2377f2 Add quick build instructions. 2016-02-17 10:31:41 -08:00
Ian Gulliver
f15ebf497e Store names for backends, print autodetection. 2016-02-17 08:34:19 +00:00
Ian Gulliver
a0d94a4198 Add stats serializer. 2016-02-17 08:30:32 +00:00
Ian Gulliver
0db4d15897 Non-blocking connection support. 2016-02-17 08:05:18 +00:00
Ian Gulliver
a8f1cb5767 Style cleanup. 2016-02-17 04:45:23 +00:00
Ian Gulliver
2da171f3e0 Sanify option parsing. 2016-02-17 01:16:11 +00:00
Ian Gulliver
01d548dbb5 Clean up serialize interface.
Switch to jansson for JSON handling.
Add server ID.
Expose IDs in JSON.
2016-02-17 00:21:28 +00:00
Ian Gulliver
b993764a14 Set client FDs non-blocking. 2016-02-16 21:42:01 +00:00
Ian Gulliver
4241931743 Squash beast RSSI to zero when it's 0xff, since that seems to mean "unknown". 2016-02-16 21:17:08 +00:00
Ian Gulliver
de9ad7a6e7 More size safety checks. 2016-02-16 21:13:51 +00:00