gateway/message.proto

28 lines
619 B
Protocol Buffer
Raw Normal View History

2020-04-28 13:18:17 -07:00
syntax = "proto2";
package Fenceless;
message Coordinate {
required float x = 1;
required float y = 2;
}
message CollarResponse {
required Coordinate loc = 1;
2020-05-12 20:14:23 -07:00
required int32 oob = 2;
2020-04-28 13:18:17 -07:00
}
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;
}