diff options
Diffstat (limited to 'test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java | 4 |
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)); } |