gateway/message.proto
2020-04-28 21:18:17 +01:00

27 lines
591 B
Protocol Buffer

syntax = "proto2";
package Fenceless;
message Coordinate {
required float x = 1;
required float y = 2;
}
message CollarResponse {
required Coordinate loc = 1;
}
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;
}