Skip to content

Commit

Permalink
Merge pull request #16 from eclipse-ibeji/devkelley/update_freyja
Browse files Browse the repository at this point in the history
Update freyja and add mapping configs for various samples
  • Loading branch information
devkelley authored Nov 17, 2023
2 parents 8783de4 + 64c6f49 commit 2cf8c03
Show file tree
Hide file tree
Showing 10 changed files with 169 additions and 43 deletions.
22 changes: 22 additions & 0 deletions .freyja/managed_subscribe_sample/config/mock_mapping_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"values": [
{
"begin": 2,
"end": null,
"value": {
"source": "dtmi:sdv:HVAC:AmbientAirTemperature;1",
"target": {
"model_id": "dtmi:sdv:Cloud:Vehicle:Cabin:HVAC:AmbientAirTemperature;1",
"instance_id": "hvac",
"instance_property_path": "/AmbientAirTemperature"
},
"interval_ms": 3000,
"conversion": {
"mul": 0.5556,
"offset": -17.7778
},
"emit_on_change": false
}
}
]
}
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions .freyja/property_sample/config/mock_mapping_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"values": [
{
"begin": 2,
"end": null,
"value": {
"source": "dtmi:sdv:HVAC:AmbientAirTemperature;1",
"target": {
"model_id": "dtmi:sdv:Cloud:Vehicle:Cabin:HVAC:AmbientAirTemperature;1",
"instance_id": "hvac",
"instance_property_path": "/AmbientAirTemperature"
},
"interval_ms": 3000,
"conversion": {
"mul": 0.5556,
"offset": -17.7778
},
"emit_on_change": false
}
}
]
}
19 changes: 19 additions & 0 deletions .freyja/smart_trailer/config/mock_mapping_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"values": [
{
"begin": 2,
"end": null,
"value": {
"source": "dtmi:sdv:Trailer:Weight;1",
"target": {
"model_id": "dtmi:sdv:Cloud:Trailer:Weight;1",
"instance_id": "trailer",
"instance_property_path": "/Weight"
},
"interval_ms": 3000,
"conversion": null,
"emit_on_change": false
}
}
]
}
Loading

0 comments on commit 2cf8c03

Please sign in to comment.