Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schildt <sebastian.schildt@de.bosch.com>
  • Loading branch information
SebastianSchildt committed Oct 16, 2024
1 parent 0610a79 commit 858af91
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kuksa-persistence-provider/src/kuksaconnector.rs
Original file line number Diff line number Diff line change
@@ -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);
}

9 changes: 9 additions & 0 deletions kuksa-persistence-provider/statestore.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

{
"Vehicle.VehicleIdentification.VIN": {
"value": "DEADBEEF"
},
"Vehicle.VehicleIdentification.VehicleInteriorColor": {
"value": "Black"
}
}

0 comments on commit 858af91

Please sign in to comment.