syntax = "proto3";
package celp.protobuf.svc;
import "celp_header.proto";
option optimize_for = SPEED;
/// @brief Contains a decoded CAN signal, indicating the source.
message DecodedCANData {
// A signal is a unit of decoded data
message Signal {
// Identifier of the signal
string identifier = 1;
// Data can be a string or a floating point (for now).
oneof data {
string text = 3;
double value = 5;
}
// Unit of the signal, if applicable
string unit = 7;
}
// Header message
celp.protobuf.Header header = 1;
// Timestamp of the frame
uint64 timestamp = 3;
// CAN ID
uint32 frame_id = 5;
// Name of the frame.
string frame = 7;
// Contains a collection of decoded signals.
repeated Signal signals = 9;
}