mirror of
https://github.com/google/pebble.git
synced 2025-05-29 06:23:13 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
36
third_party/nanopb/tests/regression/issue_522/uenum.proto
vendored
Normal file
36
third_party/nanopb/tests/regression/issue_522/uenum.proto
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
syntax = "proto3";
|
||||
|
||||
enum ReadingType {
|
||||
UNKNOWN = 0;
|
||||
TEMP = 1;
|
||||
HUMIDITY = 2;
|
||||
PRESSURE = 3;
|
||||
CO2 = 4;
|
||||
LIGHT = 5;
|
||||
POWER = 6;
|
||||
}
|
||||
|
||||
message Reading {
|
||||
ReadingType readingType = 1;
|
||||
float floatVal = 2;
|
||||
}
|
||||
|
||||
message Lora {
|
||||
float rssi = 1;
|
||||
float frequency_error = 2;
|
||||
float snr = 3;
|
||||
}
|
||||
|
||||
message Meta {
|
||||
int32 device_id = 1;
|
||||
string device_type = 2;
|
||||
float voltage = 3;
|
||||
Lora lora = 4;
|
||||
}
|
||||
|
||||
message Packet {
|
||||
int32 packet_id = 1;
|
||||
Meta meta = 2;
|
||||
repeated Reading data = 3;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue