Config tree usage

#1

I would like to use config tree mechanism as a replacement for database

please advice how to include a basic config tree in the application (API’s do not show how to place a preconfigured config tree file )

0 Likes

#2

Hello @deadpoolcode,
I have attached the sample applicationconfigTest.zip (4.5 KB)
, Which shows how to create(set) the config tree, Read the data from the config tree, delete the data etc.
Also from the below of legato framewok, You can find the other sample application related to config tree API usage.
apps/test/framework/configTree

Hope this is what you were looking for, Let us know if you have any questions.

Regards,
Muralidhara N.

0 Likes

#3

thank you, I have looked for a way to include it in the adef file, but i already have a solution that use import\export from external file, works great!

0 Likes