aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-01-28 08:52:56 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-01-28 08:52:56 -0800
commit315cc87d46b926c8e2477a162d63bfd65248cfa8 (patch)
treeac2f6ca62cfb21adaba8d5823601000341421058 /src/org/traccar
parent7291f66746f9d18387afb523818906a2ee635b82 (diff)
downloadtrackermap-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.java2
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));
}
});