Revision as of 17:33, 7 June 2012 by Poine (Created page with "'''Settings''' is the generic mechanism that allows to get/set the value of any variable of the embedded code. ==Overview== ===Problem Statement=== Given an embedded program in…")
Settings is the generic mechanism that allows to get/set the value of any variable of the embedded code.
Given an embedded program in C, we want a way to set/get the value of any variable without having to write any ad-hoc code.
- The variable can be of any base type (e.g. uint16, int32, float) or a structured type (not implemented yet).
- The variable can be directly accessed (declared in a header) or used through a pair of accessors (e.g. SetVar/GetVar).
- Typically the variable is manipulated through a graphical user interface on the ground station.
- The graphical interface can manipulate the variable in a different unit (e.g. the embedded code uses a binary fixed point representation)