Get desktop application:
View/edit binary Protocol Buffers messages
Get entries
Request a set of entries.
Global errors are specified in `error`. Errors for individual entries are specified in `errors`.
Shall return information that allows the client to determine what server/server implementation/version it is talking to eg. kuksa-databroker 0.5.1
Nothing yet
(message has no fields)
Set entries
A list of entries to be updated
Global errors are specified in `error`. Errors for individual entries are specified in `errors`.
Subscribe to a set of entries Returns a stream of notifications. InvalidArgument is returned if the request is malformed.
Subscribe to changes in datapoints.
A subscription response
///////////////////// Actuator specific fields
Nothing for now
Used in:
(message has no fields)
////////////////////// Attribute specific
Nothing for now.
Used in:
(message has no fields)
Used in:
Describes a VSS entry When requesting an entry, the amount of information returned can be controlled by specifying either a `View` or a set of `Field`s.
Used in: ,
Defines the full VSS path of the entry.
[field: FIELD_PATH]
The value (datapoint)
[field: FIELD_VALUE]
Actuator target (only used if the entry is an actuator)
[field: FIELD_ACTUATOR_TARGET]
Metadata for this entry
[field: FIELD_METADATA]
Used in get/set requests to report errors for specific entries
Used in: , ,
vss path
VSS Data type of a signal Protobuf doesn't support int8, int16, uint8 or uint16. These are mapped to int32 and uint32 respectively.
Used in:
Used in:
Used in:
Define which data we want
Used in:
Entry type
Used in:
Define the data we want to set
Used in: , ,
Error response shall be an HTTP-like code. Should follow https://www.w3.org/TR/viss2-transport/#status-codes.
Used in: , , ,
A `Field` corresponds to a specific field of a `DataEntry`. It can be used to: * populate only specific fields of a `DataEntry` response. * specify which fields of a `DataEntry` should be set as part of a `Set` request. * subscribe to only specific fields of a data entry. * convey which fields of an updated `DataEntry` have changed.
Used in: , ,
"*" i.e. everything
path
value
actuator_target
metadata.*
metadata.data_type
metadata.description
metadata.entry_type
metadata.comment
metadata.deprecation
metadata.unit
metadata.value_restriction.*
metadata.actuator.*
metadata.sensor.*
metadata.attribute.*
Used in:
Used in:
Used in:
Used in:
Data type The VSS data type of the entry (i.e. the value, min, max etc). NOTE: protobuf doesn't have int8, int16, uint8 or uint16 which means that these values must be serialized as int32 and uint32 respectively.
[field: FIELD_METADATA_DATA_TYPE]
Entry type
[field: FIELD_METADATA_ENTRY_TYPE]
Description Describes the meaning and content of the entry.
[field: FIELD_METADATA_DESCRIPTION]
Comment [optional] A comment can be used to provide additional informal information on a entry.
[field: FIELD_METADATA_COMMENT]
Deprecation [optional] Whether this entry is deprecated. Can contain recommendations of what to use instead.
[field: FIELD_METADATA_DEPRECATION]
Unit [optional] The unit of measurement
[field: FIELD_METADATA_UNIT]
Value restrictions [optional] Restrict which values are allowed. Only restrictions matching the DataType {datatype} above are valid.
[field: FIELD_METADATA_VALUE_RESTRICTION]
Entry type specific metadata
[field: FIELD_METADATA_ACTUATOR]
[field: FIELD_METADATA_SENSOR]
[field: FIELD_METADATA_ATTRIBUTE]
////////////////////// Sensor specific
Nothing for now
Used in:
(message has no fields)
Used in:
Define what to subscribe to
Used in:
Used in:
Used in:
Value restriction One ValueRestriction{type} for each type, since they don't make sense unless the types match
Used in:
For signed VSS integers
For unsigned VSS integers
For floating point VSS values (float and double)
Used in:
allowed for doubles/floats not recommended
Used in:
min, max doesn't make much sense for a string
Used in:
Used in:
A `View` specifies a set of fields which should be populated in a `DataEntry` (in a response message)
Used in: ,
Unspecified. Equivalent to VIEW_CURRENT_VALUE unless `fields` are explicitly set.
Populate DataEntry with value.
Populate DataEntry with actuator target.
Populate DataEntry with metadata.
Populate DataEntry only with requested fields.
Populate DataEntry with everything.