protobuf updates

1.2-legacy
geeksville 2020-02-26 09:07:55 -08:00
rodzic a568faac95
commit 7080be08a7
1 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -58,12 +58,11 @@ message Position {
double latitude = 1;
double longitude = 2;
int32 altitude = 3;
int32 battery_level = 4; // 0-100
/// true if this position came from the GPS inside the esp32 board, false if it was from a helper app on the phone
bool from_hardware = 5;
int32 battery_level = 4; // 1-100 (0 means not provided)
/// This is usually not sent over the mesh (to save space), but it is sent from the phone so that the local device can set its RTC
/// If it is sent over the mesh (because there are devices on the mesh without GPS), it will only be sent by devices which has a
/// hardware GPS clock.
uint32 time = 6; // seconds since 1970
}