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:
parent
fcb90ae5c9
commit
56c6855888
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue