NodeJsController adjust to ack in serial message protocol

This commit is contained in:
ToSa27
2014-08-20 09:51:54 +02:00
parent a3a401c1c7
commit 3c1820ca93
+3 -2
View File
@@ -524,8 +524,9 @@ function rfReceived(data, db, gw) {
var sender = +datas[0];
var sensor = +datas[1];
var command = +datas[2];
var type = +datas[3];
var rawpayload = datas[4].trim();
var ack = +datas[3];
var type = +datas[4];
var rawpayload = datas[5].trim();
var payload;
if (command == C_STREAM) {
payload = [];