diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-01-28 08:52:56 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-01-28 08:52:56 -0800 |
commit | 315cc87d46b926c8e2477a162d63bfd65248cfa8 (patch) | |
tree | ac2f6ca62cfb21adaba8d5823601000341421058 /src/org/traccar | |
parent | 7291f66746f9d18387afb523818906a2ee635b82 (diff) | |
download | trackermap-server-315cc87d46b926c8e2477a162d63bfd65248cfa8.tar.gz trackermap-server-315cc87d46b926c8e2477a162d63bfd65248cfa8.tar.bz2 trackermap-server-315cc87d46b926c8e2477a162d63bfd65248cfa8.zip |
Fix frame decoder
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/SatsolProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } }); |