mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 09:37:34 +08:00
30 lines
866 B
Plaintext
30 lines
866 B
Plaintext
#
|
|
# Service to control the node configuration.
|
|
#
|
|
# SAVE operation instructs the remote node to save the current configuration parameters to the non-volatile
|
|
# storage. The node 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 node may require a restart in order for some changes to take effect.
|
|
#
|
|
# Other opcodes may be added in the future (for example, an opcode for switching between multiple configurations).
|
|
#
|
|
|
|
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
|
|
|
|
#
|
|
# Reserved, keep zero.
|
|
#
|
|
int48 argument
|
|
|
|
---
|
|
|
|
#
|
|
# Reserved, keep zero.
|
|
#
|
|
int48 argument
|
|
|
|
bool ok
|