The cwtconfig.xml file is a kind of temporary file since it will only exist with this file name inside the CWT until the next time the CWT is successfully started. This file contains all the settings required for the CWT application program.
Each time the terminal starts, it checks the files on the SD card to see if there is a cwtconfig.xml file. If so, its content is validated against the XML schema file cwtconfig.xls for consistency and conformity to xml standards. This file is also stored on the SD card.
The content of the cwtconfig.xml file is then saved in the database on the SD card and the name of the original cwtconfig.xml file is changed to usedconfig.xml. Therefore, this file will always contain the same data as the last cwtconfig.xml file detected on the SD card.
Each time the operating system starts, it also copies the “cwtconfig.xml data” stored in the database and creates the file currentconfig.xml on the SD card.