Skip to the content.

DV?

Data Model

object description
Repository It only includes global databank
DataBank It partitions data into Namespace. Each namespace stores data in DataCache
DataCache K V pair in Memroy. Some or all may be persisted in DataVault
DataVault It contains all the K/V pair persisted to disk

Example DV

config command

Function Description
EsifConfigExit Close a DataVault (Namespace)
EsifConfigFindFirst Iterate First Key/Value pair in a DataVault (Namespace), sorted alphabetically.
EsifConfigFindNext Iterate Next Key/Value pair in a DataVault (Namespace), sorted alphabetically.
EsifConfigGet Get a Value from a DataVault (Namespace) for a given Key.
EsifConfigInit Open or Create a DataVault (Namespace) [Do not specify “.dv” extension]
EsifConfigSet Set a Value in a DataVault (Namespace) for a given Key/Value pair and options
example Description
config / config list display all open dv, default with *
config get @override “/participants/DPTF.D0/idsp” get the value from override
config get @dsp sb_wwan.edp get key from dsp
config get version get ver
config get @override * get all from override
config set @override “/participants/TCPU.D0/trippoint_ac0” 42 temperature set temp datatype
config open @override open if it is not open already
config close @override close
config drop @override delete if not open
config save @override /participants/IETM.D0/idsp idsp.bin  
config set debug “trace route all log && trace log open debug.log && trace level debug” Set the “debug” Key to the specified commands (multiple commands separated by “ && “ and replaced with newlines).