syntax = "proto3";
package celp.protobuf.svc;
import "celp_header.proto";
option optimize_for = SPEED;
message UDSResponse {
// Contains request specific info
message Response {
// CAN response frame ID
uint32 can_frame_id = 1;
// UDS Service ID (SID) used for the response
uint32 sid = 2;
// Subfunction
optional uint32 subfunction = 3;
// Received payload
bytes payload = 4;
}
// Base header from CELP
celp.protobuf.Header header = 5;
// See structure above
Response response = 10;
}