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

remoteid: added SecureCommand #13

Merged
merged 1 commit into from
Sep 15, 2022
Merged
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
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