From 56c6855888ba61b8e421e5f3c3f0ab53baef45b1 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 27 Aug 2017 17:07:33 +0200 Subject: [PATCH] websocket: use correct msg version --- web/socket/msg.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/socket/msg.js b/web/socket/msg.js index 8de38b4df..a15903167 100644 --- a/web/socket/msg.js +++ b/web/socket/msg.js @@ -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) {