Skip to content

Commit

Permalink
refactor: move SEResponse to public repo (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah authored Jan 7, 2025
1 parent d303b8a commit 3113586
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
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;
}

0 comments on commit 3113586

Please sign in to comment.