A data entry defines a single sensor/actuator and its members. A data entry example is given below:
- Speed:
type: sensor
datatype: uint16
unit: km/h
min: 0
max: 300
description: The vehicle speed, as measured by the drivetrain.
Drivetrain.Transmission.Speed
Defines the dot-notated name of the data entry. Please note that
all parental branches included in the name must be defined as well.
type
Defines the type of the node. This can be branch
,
sensor
, actuator
, stream
or attribute.
datatype
The string value of the type specifies the scalar type of the data entry
value. See data type chapter for a list of available types.
**min
[optional]**
The minimum value, within the interval of the given type
, that the
data entry can be assigned.
If omitted, the minimum value will be the “Min” value for the given type.
Cannot be specified if enum
is specified for the same data entry.
**max
[optional]**
The maximum value, within the interval of the given type
, that the
data entry can be assigned.
If omitted, the maximum value will be the “Max” value for the given type.
Cannot be specified if enum
is specified for the same data entry.
**unit
[optional]**
The unit of measurement that the data entry has. See Unit
Type chapter for a list of available unit types. This
cannot be specified if enum
is specified as the signal type.
description
A description string to be included (when applicable) in the various
specification files generated from this data entry.
**sensor
[optional]**
The sensing appliance used to produce the data entry.
**actuator
[optional]**
The actuating appliance consuming the data entry.