From 36e59a1991f075e36e117a08321d5e4c4dc00eac Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 7 Apr 2017 19:03:05 +0200 Subject: o Splitting capture into just two, capture and send to stdout and transmit from stdin. o Adding formatter that formats the incoming message. --- wifi-triangulator.proto | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'wifi-triangulator.proto') diff --git a/wifi-triangulator.proto b/wifi-triangulator.proto index 7daf9bf..959a370 100644 --- a/wifi-triangulator.proto +++ b/wifi-triangulator.proto @@ -18,12 +18,15 @@ enum packet_type { }; message probe { - sint32 rssi = 2; - fixed64 src = 3; - fixed64 dst = 4; + sint32 rssi = 1; + fixed64 src = 2; + fixed64 dst = 3; } message envelope { - packet_type type = 1; - probe probe = 2; + sfixed64 time_s = 1; + sfixed64 time_us = 2; + + packet_type type = 3; + probe probe = 20; } -- cgit v1.2.3