diff --git a/kuksa-persistence-provider/src/kuksaconnector.rs b/kuksa-persistence-provider/src/kuksaconnector.rs new file mode 100644 index 0000000..7440efc --- /dev/null +++ b/kuksa-persistence-provider/src/kuksaconnector.rs @@ -0,0 +1,7 @@ +use crate::storage; + +pub fn get_from_storage_and_set(storage: &impl storage::Storage, vsspath: &str) { + let value = storage.get(vsspath); + println!("Got from storage: {}: {}", value,value); +} + diff --git a/kuksa-persistence-provider/statestore.json b/kuksa-persistence-provider/statestore.json new file mode 100644 index 0000000..4e66b85 --- /dev/null +++ b/kuksa-persistence-provider/statestore.json @@ -0,0 +1,9 @@ + +{ + "Vehicle.VehicleIdentification.VIN": { + "value": "DEADBEEF" + }, + "Vehicle.VehicleIdentification.VehicleInteriorColor": { + "value": "Black" + } +} \ No newline at end of file