CLASS1.MEASUREMENTX2
Measurements are fetched from the SI units and from SI derived units. The SI unit (or the SI derived unit) is also used as the default unit. As in the SI unit standard, names for a unit is in lower case ("newton") and the unit ("N") is in upper case.
Byte 0 is the data coding byte for all measurement packages. The default unit has bits 0,1,2 set to 000 and the first optional unit 001 and so on. It also have a field for the item ( if more than one sensor is controlled by the node) that the value belongs to. See data-coding for a full description on data coding used.
All events in this class are mirrored in CLASS1.MEASUREMENT32=70 (0x46) as a single precision float. Default unit is used.
All events in this class are mirrored in CLASS1.MEASUREMENT64=60 (0x3C) as floating point values using only the default unit .
All events in this class are mirrored in CLASS1.MEASUREZONE=65 (0x41) as normalized integer values with index, zone, sub-zone. Default unit is used.
All events in this class are mirrored in CLASS1.SETVALUEZONE=85 (0x55) as a normalized value using only the default unit but with index/zone/subzone.
All of the above is also available as LEVEL I events over Level II.
All events in this class are mirrored in CLASS2.MEASUREMENT_STR=1040 (0x410) as the events, in the range 512-767, which use decimal string values.
All events in this class are mirrored in CLASS2.MEASUREMENT_FLOAT=1060 (0x424) as the events, in the range 512-767, which use decimal float values.
The relationship between Level II measurement events and Level I measurement events is like this
- CLASS1.MEASUREMENT=10 (0x0A) which is mirrored as Level II measurements 0-255.
- CLASS1.MEASUREMENT=11 (0x0B) which is mirrored as Level II measurements 256-511.
- CLASS1.MEASUREMENT=12 (0x0C) which is mirrored as Level II measurements 512-767.
- CLASS1.MEASUREMENT=13 (0x0D) which is mirrored as Level II measurements 768-1023.
- CLASS1.MEASUREMENT=14 (0x0E) which is mirrored as Level II measurements 1024-1279.
Level II measurement events with type >= 1280 have no relation to any Level I measurement events.
VSCP_TYPE_MEASUREMENTX2_GENERAL
General Event.