From f49144d5a93f78cc5b22e4fca13182217c441844 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 15 Sep 2022 12:42:48 +1000 Subject: [PATCH] remoteid: added SecureCommand matching the MAVLink2 message --- dronecan/remoteid/64.SecureCommand.uavcan | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dronecan/remoteid/64.SecureCommand.uavcan diff --git a/dronecan/remoteid/64.SecureCommand.uavcan b/dronecan/remoteid/64.SecureCommand.uavcan new file mode 100644 index 0000000..23ff01d --- /dev/null +++ b/dronecan/remoteid/64.SecureCommand.uavcan @@ -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