mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 12:21:36 +08:00
HardwareVersion extended with 255-byte COA field
This commit is contained in:
@@ -1,16 +1,17 @@
|
|||||||
#
|
#
|
||||||
# Full node info request.
|
# 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
|
# Current node status
|
||||||
NodeStatus 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.
|
# Human readable non-empty ASCII node name.
|
||||||
# Empty string is not a valid node name.
|
# Empty string is not a valid node name.
|
||||||
# Node name shall not be changed while the node is running.
|
# Node name shall not be changed while the node is running.
|
||||||
|
|||||||
@@ -10,3 +10,6 @@ uint8 minor
|
|||||||
# All zeros is not a valid UID.
|
# All zeros is not a valid UID.
|
||||||
# If filled with zeros, assume that the value is undefined.
|
# If filled with zeros, assume that the value is undefined.
|
||||||
uint8[16] unique_id
|
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"
|
"msgid: 0\n"
|
||||||
"payload: \"Here\\x09goes\\x0Apayload\"\n"
|
"payload: \"Here\\x09goes\\x0Apayload\"\n"
|
||||||
"==========\n"
|
"==========\n"
|
||||||
"hardware_version: \n"
|
"status: \n"
|
||||||
" major: 0\n"
|
" uptime_sec: 0\n"
|
||||||
" minor: 0\n"
|
" status_code: 0\n"
|
||||||
" unique_id: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]\n"
|
|
||||||
"software_version: \n"
|
"software_version: \n"
|
||||||
" major: 0\n"
|
" major: 0\n"
|
||||||
" minor: 0\n"
|
" minor: 0\n"
|
||||||
" optional_field_mask: 0\n"
|
" optional_field_mask: 0\n"
|
||||||
" vcs_commit: 0\n"
|
" vcs_commit: 0\n"
|
||||||
" image_crc: 0\n"
|
" image_crc: 0\n"
|
||||||
"status: \n"
|
"hardware_version: \n"
|
||||||
" uptime_sec: 0\n"
|
" major: 0\n"
|
||||||
" status_code: 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"
|
"name: \"\"\n"
|
||||||
"==========\n"
|
"==========\n"
|
||||||
"c: 0\n"
|
"c: 0\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user