Skip to content

Commit

Permalink
remoteid: added SecureCommand
Browse files Browse the repository at this point in the history
matching the MAVLink2 message
  • Loading branch information
tridge committed Sep 15, 2022
1 parent 907fb76 commit 1a5935b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions dronecan/remoteid/64.SecureCommand.uavcan
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# DroneCAN version of MAVLink2 SECURE_COMMAND. Please see MAVLink2 spec for more details

uint32 sequence

uint32 SECURE_COMMAND_GET_SESSION_KEY = 0
uint32 SECURE_COMMAND_GET_REMOTEID_SESSION_KEY = 1
uint32 SECURE_COMMAND_REMOVE_PUBLIC_KEYS = 2
uint32 SECURE_COMMAND_GET_PUBLIC_KEYS = 3
uint32 SECURE_COMMAND_SET_PUBLIC_KEYS = 4
uint32 SECURE_COMMAND_GET_REMOTEID_CONFIG = 5
uint32 SECURE_COMMAND_SET_REMOTEID_CONFIG = 6
uint32 operation

uint8 data_length
uint8 sig_length
uint8[<=220] data

---

uint32 sequence
uint32 operation

uint8 RESULT_ACCEPTED = 0
uint8 RESULT_TEMPORARILY_REJECTED = 1
uint8 RESULT_DENIED = 2
uint8 RESULT_UNSUPPORTED = 3
uint8 RESULT_FAILED = 4
uint8 result

uint8 data_length
uint8[<=220] data

0 comments on commit 1a5935b

Please sign in to comment.