Decoder function

As the value is actually transmitted as a float, you cannot use the above to decode it: the decoder is JavaScript and JavaScript’s bitwise operators work on 32 bits integers, not on floats.

See Decode float sent by Lopy as Node.