Changes in uavcan.protocol.GetNodeInfo

This commit is contained in:
Pavel Kirienko
2014-03-15 11:55:56 +04:00
parent cf3f2080a5
commit bb5f77857d
4 changed files with 17 additions and 7 deletions
+3 -3
View File
@@ -4,9 +4,9 @@
--- ---
Version software_version HardwareVersion hardware_version
Version hardware_version SoftwareVersion software_version
Version uavcan_version SoftwareVersion uavcan_version
NodeStatus status NodeStatus status
@@ -1,6 +1,6 @@
# #
# Nested type. # Nested type.
# Generic version information. # Generic hardware version information.
# #
uint8 major uint8 major
@@ -0,0 +1,8 @@
#
# Nested type.
# Generic software version information.
#
uint8 major
uint8 minor
uint32 build # VCS revision hash, build date, etc
@@ -65,15 +65,17 @@ TEST(Dsdl, Streaming)
"msgid: 0\n" "msgid: 0\n"
"payload: \"Here\\x09goes\\x0Apayload\"\n" "payload: \"Here\\x09goes\\x0Apayload\"\n"
"==========\n" "==========\n"
"software_version: \n"
" major: 0\n"
" minor: 0\n"
"hardware_version: \n" "hardware_version: \n"
" major: 0\n" " major: 0\n"
" minor: 0\n" " minor: 0\n"
"software_version: \n"
" major: 0\n"
" minor: 0\n"
" build: 0\n"
"uavcan_version: \n" "uavcan_version: \n"
" major: 0\n" " major: 0\n"
" minor: 0\n" " minor: 0\n"
" build: 0\n"
"status: \n" "status: \n"
" uptime_sec: 0\n" " uptime_sec: 0\n"
" status_code: 0\n" " status_code: 0\n"