Add hop limit to json and proto formats.

This commit is contained in:
Ian Gulliver
2016-03-03 22:00:02 -08:00
parent 455bee2676
commit 45abe06467
10 changed files with 78 additions and 19 deletions

View File

@@ -45,6 +45,7 @@ struct _AdsbPacket
{
ProtobufCMessage base;
char *source_id;
uint32_t hops;
protobuf_c_boolean has_mlat_timestamp;
uint64_t mlat_timestamp;
protobuf_c_boolean has_rssi;
@@ -53,7 +54,7 @@ struct _AdsbPacket
};
#define ADSB_PACKET__INIT \
{ PROTOBUF_C_MESSAGE_INIT (&adsb_packet__descriptor) \
, NULL, 0,0, 0,0, {0,NULL} }
, NULL, 0, 0,0, 0,0, {0,NULL} }
struct _Adsb