1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

websocket: use correct msg version

This commit is contained in:
Steffen Vogel 2017-08-27 17:07:33 +02:00
parent fcb90ae5c9
commit 56c6855888

View file

@ -47,13 +47,13 @@ function Msg(c)
}
/* Some constants for the binary protocol */
Msg.prototype.VERSION = 1;
Msg.prototype.VERSION = 2;
Msg.prototype.TYPE_DATA = 0; /**< Message contains float values */
Msg.prototype.TYPE_DATA = 0; /**< Message contains float values */
/* Some offsets in the binary message */
Msg.prototype.OFFSET_TYPE = 2;
Msg.prototype.OFFSET_VERSION = 4;
Msg.prototype.OFFSET_TYPE = 2;
Msg.prototype.OFFSET_VERSION = 4;
Msg.bytes = function(len)
{