aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2Protocol.java (renamed from src/main/java/org/traccar/protocol/PebbellProtocol.java)6
-rw-r--r--src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java (renamed from src/main/java/org/traccar/protocol/PebbellProtocolDecoder.java)4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/protocol/PebbellProtocol.java b/src/main/java/org/traccar/protocol/Minifinder2Protocol.java
index 762c30585..957b8f4d0 100644
--- a/src/main/java/org/traccar/protocol/PebbellProtocol.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2Protocol.java
@@ -22,14 +22,14 @@ import org.traccar.TrackerServer;
import java.nio.ByteOrder;
-public class PebbellProtocol extends BaseProtocol {
+public class Minifinder2Protocol extends BaseProtocol {
- public PebbellProtocol() {
+ public Minifinder2Protocol() {
addServer(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
pipeline.addLast(new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 1024, 2, 2, 4, 0, true));
- pipeline.addLast(new PebbellProtocolDecoder(PebbellProtocol.this));
+ pipeline.addLast(new Minifinder2ProtocolDecoder(Minifinder2Protocol.this));
}
});
}
diff --git a/src/main/java/org/traccar/protocol/PebbellProtocolDecoder.java b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
index 7271c60d8..256848990 100644
--- a/src/main/java/org/traccar/protocol/PebbellProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Minifinder2ProtocolDecoder.java
@@ -31,9 +31,9 @@ import org.traccar.model.WifiAccessPoint;
import java.net.SocketAddress;
import java.nio.charset.StandardCharsets;
-public class PebbellProtocolDecoder extends BaseProtocolDecoder {
+public class Minifinder2ProtocolDecoder extends BaseProtocolDecoder {
- public PebbellProtocolDecoder(Protocol protocol) {
+ public Minifinder2ProtocolDecoder(Protocol protocol) {
super(protocol);
}