33 lines
697 B
Protocol Buffer
33 lines
697 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
import "nanopb.proto";
|
||
|
|
||
|
message SignsResponse {
|
||
|
string query = 1[(nanopb).max_length = 200];
|
||
|
int32 heartbeat = 2;
|
||
|
int32 breathrate = 3;
|
||
|
int32 move = 4;
|
||
|
int32 inBedState = 5;
|
||
|
float BloodOxygen = 6;
|
||
|
int32 SensorLoad = 7;
|
||
|
int32 OpmWeakSignal = 8;
|
||
|
int32 FiberError = 9;
|
||
|
}
|
||
|
message LogResponse {
|
||
|
float max = 1;
|
||
|
float opticalPower = 2;
|
||
|
float opticalPowerOrigin = 3;
|
||
|
float opticalPowerRecord = 4;
|
||
|
float opticalPowerRecord_2 = 5;
|
||
|
}
|
||
|
message DeviceStateResponse {
|
||
|
bool FiberError = 1;
|
||
|
bool PowerError = 2;
|
||
|
bool AlgYmodemError = 3;
|
||
|
bool AlgFileSystemError = 4;
|
||
|
}
|
||
|
message systemResponse {
|
||
|
bool Ota = 1;
|
||
|
bool Reboot = 2;
|
||
|
bool RollBack = 3;
|
||
|
}
|