int vscphlp_makeFloatMeasurementEvent( vscpEvent *pEvent, float value, unsigned char unit, unsigned char sensoridx )
Pointer to a VSCP event that will get the result as it's data.
The size of the written data will be returned here.
Floating point value to write as a 32-bit float.
A unit value 0-3
A sensor index value 0-7
VSCP_ERROR_SUCCESS is returned on success.
Make a floating point ()32-bit) coded event from floating point data.
Example will be added. TODO
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).