Configuration cloning

Hi there :grinning:

Let’s suppose I tuned a IONI PRO with Granity, I used it successfully through the API, and I am satisfied with how it works.
Is there a simple way to extract ALL configuration parameters on my prototype (is a .drc file enough ?), so that they could be later downloaded to another IONI through the API ?
On the final project, I we need the software to write all IONI parameters at power-up; if the IONI has been replaced (or the sub-equipment containing it), it should be automatic and transparent (people on the field will not play with Granity like I did).
The (text) content of a .drc file does not make me think we can easily write a routine to write parameters using smSetParameter :thinking:

Hi,

DRC file is enough.

There is also a deployment tool that uses an API call to write all parameters, and the source code is available here:

Specifically, have a look at
smLoadConfiguration() function in devicedeployment.h./c that internally parses the DRC file.

-Mika

1 Like

That looks super-cool :heart_eyes: