Add client support, use it to dump json to stdout first.

This commit is contained in:
Ian Gulliver
2016-02-16 02:28:05 +00:00
parent cbae234327
commit af8b3d0c4c
10 changed files with 237 additions and 36 deletions

View File

@@ -49,6 +49,10 @@ struct packet {
//////// mlat
#define MLAT_MHZ 120
#define MLAT_MAX UINT64_MAX
#define RSSI_MAX UINT32_MAX
struct mlat_state {
uint64_t timestamp_last;
uint64_t timestamp_generation;
@@ -67,8 +71,10 @@ uint32_t rssi_scale_in(uint32_t, uint32_t);
void hex_init();
void hex_to_bin(char *, char *, size_t);
uint64_t hex_to_int(char *, size_t);
void hex_from_bin(char *, char *, size_t);
///////// misc
///////// uuid
#define UUID_LEN 37
void uuid_gen(char *);