mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 18:34:07 +08:00
HardwareVersion extended with 255-byte COA field
This commit is contained in:
parent
c4c45b995f
commit
7b7286b9ca
@ -1,16 +1,17 @@
|
||||
#
|
||||
# Full node info request.
|
||||
# Note that all fields of the response section are byte-aligned.
|
||||
#
|
||||
|
||||
---
|
||||
|
||||
# Version information shall not be changed while the node is running.
|
||||
HardwareVersion hardware_version
|
||||
SoftwareVersion software_version
|
||||
|
||||
# Current node status
|
||||
NodeStatus status
|
||||
|
||||
# Version information shall not be changed while the node is running.
|
||||
SoftwareVersion software_version
|
||||
HardwareVersion hardware_version
|
||||
|
||||
# Human readable non-empty ASCII node name.
|
||||
# Empty string is not a valid node name.
|
||||
# Node name shall not be changed while the node is running.
|
||||
|
||||
@ -10,3 +10,6 @@ uint8 minor
|
||||
# All zeros is not a valid UID.
|
||||
# If filled with zeros, assume that the value is undefined.
|
||||
uint8[16] unique_id
|
||||
|
||||
# Certificate of authenticity (COA) of the hardware, 255 bytes max.
|
||||
uint8[<256] certificate_of_authenticity
|
||||
|
||||
@ -57,19 +57,20 @@ TEST(Dsdl, Streaming)
|
||||
"msgid: 0\n"
|
||||
"payload: \"Here\\x09goes\\x0Apayload\"\n"
|
||||
"==========\n"
|
||||
"hardware_version: \n"
|
||||
" major: 0\n"
|
||||
" minor: 0\n"
|
||||
" unique_id: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n"
|
||||
"status: \n"
|
||||
" uptime_sec: 0\n"
|
||||
" status_code: 0\n"
|
||||
"software_version: \n"
|
||||
" major: 0\n"
|
||||
" minor: 0\n"
|
||||
" optional_field_mask: 0\n"
|
||||
" vcs_commit: 0\n"
|
||||
" image_crc: 0\n"
|
||||
"status: \n"
|
||||
" uptime_sec: 0\n"
|
||||
" status_code: 0\n"
|
||||
"hardware_version: \n"
|
||||
" major: 0\n"
|
||||
" minor: 0\n"
|
||||
" unique_id: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n"
|
||||
" certificate_of_authenticity: \"\"\n"
|
||||
"name: \"\"\n"
|
||||
"==========\n"
|
||||
"c: 0\n"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user