eclipse / kuksa.val

kuksa.val
Apache License 2.0
89 stars 52 forks source link

Broker datapoints interface to retrieve metadata should include data type unit #755

Open erikbosch opened 3 months ago

erikbosch commented 3 months ago

This issue originates from https://github.com/eclipse/kuksa.val.services/issues/102 but moved here as it concerns Databroker

The data unit types of VSS should be exposed via GetMetadata as well.

Eg when subscribing to "Vehicle.Speed", the value is in "km/h" as specified. Since the spec can be overriden, it's hard for generic tools ("VSS Browser") to know the specific data type unit, unless it is exposed via the metadata interface.

lukasmittag commented 3 months ago

at least we have this https://github.com/eclipse/kuksa.val/pull/726 but yes would be good to have unit also shown in getMetaData call agree!