aboutsummaryrefslogtreecommitdiff
path: root/wifi-triangulator.proto
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-04-07 19:03:05 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2017-04-07 19:03:05 +0200
commit36e59a1991f075e36e117a08321d5e4c4dc00eac (patch)
tree2c89d0b9ad67eb6ebdcd5ed4b1789ebc61ce6723 /wifi-triangulator.proto
parent84939234eb66fe7957eaf39956f18224e3108c25 (diff)
downloadwifi-triangulator-36e59a1991f075e36e117a08321d5e4c4dc00eac.tar.gz
wifi-triangulator-36e59a1991f075e36e117a08321d5e4c4dc00eac.tar.bz2
wifi-triangulator-36e59a1991f075e36e117a08321d5e4c4dc00eac.tar.xz
wifi-triangulator-36e59a1991f075e36e117a08321d5e4c4dc00eac.zip
o Splitting capture into just two, capture and send to stdout and transmit from stdin.
o Adding formatter that formats the incoming message.
Diffstat (limited to 'wifi-triangulator.proto')
-rw-r--r--wifi-triangulator.proto13
1 files changed, 8 insertions, 5 deletions
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;
}