aboutsummaryrefslogtreecommitdiff
path: root/wifi-triangulator.proto
diff options
context:
space:
mode:
Diffstat (limited to 'wifi-triangulator.proto')
-rw-r--r--wifi-triangulator.proto29
1 files changed, 29 insertions, 0 deletions
diff --git a/wifi-triangulator.proto b/wifi-triangulator.proto
new file mode 100644
index 0000000..7daf9bf
--- /dev/null
+++ b/wifi-triangulator.proto
@@ -0,0 +1,29 @@
+syntax = "proto3";
+
+package wifi_triangulator.pb;
+
+enum packet_type {
+ unknown = 0;
+ probe_request = 1;
+ beacon = 2;
+ probe_response = 3;
+ null = 4;
+ ack = 5;
+ data = 6;
+ cts = 7;
+ rts = 8;
+ cf_end = 9;
+ cf_end_cf_ack = 10;
+ ps_poll = 11;
+};
+
+message probe {
+ sint32 rssi = 2;
+ fixed64 src = 3;
+ fixed64 dst = 4;
+}
+
+message envelope {
+ packet_type type = 1;
+ probe probe = 2;
+}