syntax = "proto3";
package celp.protobuf.svc;
import "celp_header.proto";
import "celp_svc_ebs_detection.proto";
option optimize_for = SPEED;
message ODRState {
enum Status {
IDLE = 0;
IN_PROGRESS = 1;
SUCCESS = 2;
FAILURE = 3;
};
message ODRMetaData {
uint32 start_address = 1;
uint32 file_size = 3;
string filename = 5;
}
// Base header from CELP
celp.protobuf.Header header = 1;
// ODR download status
Status status = 3;
// ODR download progress, reported as a percentage complete
uint32 progress = 5;
// ODR file location, should only be populated when status is SUCCESS
oneof file_data {
ODRMetaData meta_data = 7;
string error = 9;
}
// System info of the detected EBS
EbsSystemInfo ebs_info = 11;
}