int vscphlp_makeLevel2StringMeasurementEvent( vscpEvent *pEvent, uint16_t type, double value, uint8_t unit, uint8_t sensoridx, uint8_t zone, uint8_t subzone )
Pointer to event that data should be written to.
Floating point measurement value.
Unit (0-255) for the measurement.
Sensor index (0-255) for the measurement.
Zone (0-255) for the measurement.
Sub zone (0-255) for the measurement.
VSCP_ERROR_SUCCESS is returned if the measurement event is constructed correctly, VSCP_ERROR_ERROR is returned if not.
Construct a Level II string measurement event from supplied data. Note that the GUID must be set externally.
Wed Jul 04 2018 19:49:59 GMT+0000 (UTC)
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).