aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-15 11:24:22 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-15 11:24:22 +1300
commit8023e4e3de6fa791157bdec913abcafb511512c9 (patch)
tree3e5340216dbceaaa5c27a147707847812f62c2b7 /test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java
parent7de7d81c59eef4a134e313615012a2694a8ca572 (diff)
downloadtrackermap-server-8023e4e3de6fa791157bdec913abcafb511512c9.tar.gz
trackermap-server-8023e4e3de6fa791157bdec913abcafb511512c9.tar.bz2
trackermap-server-8023e4e3de6fa791157bdec913abcafb511512c9.zip
Support new protocol version
Diffstat (limited to 'test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java')
-rw-r--r--test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java b/test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java
index 4b2ac2045..49476d694 100644
--- a/test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java
+++ b/test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java
@@ -18,7 +18,7 @@ public class Xrb28ProtocolEncoderTest extends ProtocolTest {
command.setType(Command.TYPE_POSITION_PERIODIC);
command.set(Command.KEY_FREQUENCY, 300);
- assertEquals("\u00ff\u00ff*HBCS,OM,123456789012345,D1,300#\n", encoder.encodeCommand(null, command));
+ assertEquals("\u00ff\u00ff*SCOS,OM,123456789012345,D1,300#\n", encoder.encodeCommand(null, command));
}
@@ -32,7 +32,7 @@ public class Xrb28ProtocolEncoderTest extends ProtocolTest {
command.setType(Command.TYPE_CUSTOM);
command.set(Command.KEY_DATA, "S7,0,3,0,0,20,25");
- assertEquals("\u00ff\u00ff*HBCS,OM,123456789012345,S7,0,3,0,0,20,25#\n", encoder.encodeCommand(null, command));
+ assertEquals("\u00ff\u00ff*SCOS,OM,123456789012345,S7,0,3,0,0,20,25#\n", encoder.encodeCommand(null, command));
}