Config tree settings

Hello all

I would like to deploy the config tree as part of the application files (instead of creating it programmatically)

using the adef file I can now create this :

envVars:
{
	LE_LOG_LEVEL = DEBUG
	GPS_SAMPLE_TIME_SEC = 10
	GPS_SAMPLE_TIME_SEC_MIN = 1
	GPS_SAMPLE_TIME_SEC_MAX = 100
	AGPS_SERVER_ADDRESS = "www.test.com1"
	AGPS_SERVER_ADDRESS_MIN_LENGTH = 5
	AGPS_SERVER_ADDRESS_MAX_LENGTH = 100
}

I have two qeustions regarding that:

  1. how can I create “nodes” with names of my choosing, with multiple levels (currentlly I can only use predefined names line “envVars”)

  2. the values I create are strings (such as “AGPS_SERVER_ADDRESS_MAX_LENGTH”), how can I determine a value as Boolean or Integer ?

thank you

Hi @deadpoolcode,

I don’t sure if you can define your config tree in “envVars” section, this one is dedicated to the “Environment variables” do you already tried it? does it work?