From 315cc87d46b926c8e2477a162d63bfd65248cfa8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 28 Jan 2019 08:52:56 -0800 Subject: Fix frame decoder --- src/org/traccar/protocol/SatsolProtocol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') diff --git a/src/org/traccar/protocol/SatsolProtocol.java b/src/org/traccar/protocol/SatsolProtocol.java index cd8f33b96..b69fdd1fe 100644 --- a/src/org/traccar/protocol/SatsolProtocol.java +++ b/src/org/traccar/protocol/SatsolProtocol.java @@ -28,7 +28,7 @@ public class SatsolProtocol extends BaseProtocol { addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.BIG_ENDIAN, 1400, 8, 2, 0, 0, true)); + pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1400, 8, 2, 0, 0, true)); pipeline.addLast(new SatsolProtocolDecoder(SatsolProtocol.this)); } }); -- cgit v1.2.3