From 8023e4e3de6fa791157bdec913abcafb511512c9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 15 Nov 2018 11:24:22 +1300 Subject: Support new protocol version --- test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/org/traccar/protocol') 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)); } -- cgit v1.2.3