Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move SEResponse to public repo #41

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions messages/private_stub/sec_priv.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package orb.mcu.sec.private;
// incomplete, private definitions
// to be overwritten by actual definitions

message SEResponse {}

message Tamper {}

message TamperStates {}
Expand Down
9 changes: 8 additions & 1 deletion messages/sec.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ message SecToJetson
orb.mcu.Ack ack = 1;
orb.mcu.Versions versions = 2;
orb.mcu.Log log = 3;
orb.mcu.sec.private.SEResponse se_response = 4;
orb.mcu.sec.SEResponse se_response = 4;
orb.mcu.sec.private.Tamper tampered = 5;
orb.mcu.BatteryStatus battery_status = 7;
orb.mcu.FatalError fatal_error = 8;
Expand All @@ -61,3 +61,10 @@ message SERequest
uint32 rx_length = 3;
RequestType request_type = 4;
}

message SEResponse
{
uint32 id = 1;
int32 error_code = 2;
bytes data = 3;
}