gateway/message.proto
2020-05-13 04:14:23 +01:00

28 lines
619 B
Protocol Buffer

syntax = "proto2";
package Fenceless;
message Coordinate {
required float x = 1;
required float y = 2;
}
message CollarResponse {
required Coordinate loc = 1;
required int32 oob = 2;
}
message Coordinates {
required int32 isr = 1;
required Coordinate coord0 = 2;
required Coordinate coord1 = 3;
required Coordinate coord2 = 4;
optional Coordinate coord3 = 5;
optional Coordinate coord4 = 6;
optional Coordinate coord5 = 7;
optional Coordinate coord6 = 8;
optional Coordinate coord7 = 9;
optional Coordinate coord8 = 10;
optional Coordinate coord9 = 11;
}