Académique Documents
Professionnel Documents
Culture Documents
Responsible for persisting the data over ignition cycle. It provides Database,
File system and DBUS interface to required applications.
The persistency manager needs to have an easy to use interface for the
applications to use. Some other goals of the persistency manager are:
Ability to store data with zero (or minimal) possibility for corruption due
to power loss, etc
Provide multiple optimized interfaces for storing data (SQL, Key/Value)
Offer flexibility to make factory resets easy and configurable without
recompiling the client.
Allow for key/value configuration to define where data is stored. This
allow for changes per project without recompiling.
Tuner module will persist User data (Presets and last tuned station information
for each band). It also persists the Tuner history data like station lists and AF
list information for better performance. On factory reset all the Tuner persisted
information will be deleted.
Persistency Data:
Tuner Settings data below are persisted in /usr/var/ path and is controlled by the
Tuner Presentation controller:
- Traffic Announcement
- Station list sorting
- Radio Text
- Alternate Frequency
- Regionalization
User Data:
Description: This file contains the Preset and last tuned station for each band.
This file will be updated upon change in Preset list or current tuned station.
Description: This file contains the station list information for DAB. This file
will be persisted only upon proper ignition cycle.
Description: This file contains TPEG Service list information and history data,
which will be used for better performance in getting traffic information. This
file will be persisted only upon proper ignition cycle.
/fs/etfs/usr/var/TunerApp_GDabTpeg
//---------------------------------------------------------------------
// Default Database Section
//---------------------------------------------------------------------
"database" : {
"ppsFile" : "NON_PPS",
"Presets_1dab00" : {
"comment" : "Radio Preset",
"driverKey" : true,
"keyIndex" : 0,
"default" :
{"Active":false,"Band":"","EnsembID":[0,0,0],"Freq_Channel":0,"Genre":"","P
ID":0,"Position":0,"StationName":"","SubChannel":0}
},
"lastSituation" : {
"comment" : "Tuner Last Situation",
"keyIndex" : 4,
"default" : [0,0,0,0,0,0]
},