From d40a1397e7a6214a9896b95c4823c9e29a70aa5a Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Tue, 3 Feb 2015 23:22:48 +0300 Subject: [PATCH] Elaborated SaveErase --- dsdl/uavcan/protocol/param/598.SaveErase.uavcan | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dsdl/uavcan/protocol/param/598.SaveErase.uavcan b/dsdl/uavcan/protocol/param/598.SaveErase.uavcan index 4d4d933fd4..2f268283d1 100644 --- a/dsdl/uavcan/protocol/param/598.SaveErase.uavcan +++ b/dsdl/uavcan/protocol/param/598.SaveErase.uavcan @@ -1,10 +1,16 @@ # # Service to control non-volatile parameter storage. # +# SAVE operation instructs the remote node to save the current configuration parameters to the non-volatile +# storage. The device may require a restart in order for some changes to take effect. +# +# ERASE operation instructs the remote node to clear its configuration storage and reinitialize the parameters +# with their default values. The device may require a restart in order for some changes to take effect. +# -uint2 OPCODE_SAVE = 0 # Save all parameters to non-volatile storage -uint2 OPCODE_ERASE = 1 # Clear the non-volatile storage; actual parameter values may or may not be affected -uint2 opcode +uint8 OPCODE_SAVE = 0 # Save all parameters to non-volatile storage. +uint8 OPCODE_ERASE = 1 # Clear the non-volatile storage; some changes may take effect only after reboot. +uint8 opcode ---