aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorMatjaž Črnko <matjaz.crnko@gmail.com>2023-06-13 16:51:30 +0200
committerGitHub <noreply@github.com>2023-06-13 16:51:30 +0200
commitea3ea7f53970817bf5dc2cf6b28f48f0836b3245 (patch)
tree1779a56ffd59378dd44188a4f452eed5a0adf50e /src/main
parent262f8df7724966862482a5b1837462dad77ce074 (diff)
downloadtrackermap-server-ea3ea7f53970817bf5dc2cf6b28f48f0836b3245.tar.gz
trackermap-server-ea3ea7f53970817bf5dc2cf6b28f48f0836b3245.tar.bz2
trackermap-server-ea3ea7f53970817bf5dc2cf6b28f48f0836b3245.zip
Update src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
Co-authored-by: Anton Tananaev <anton.tananaev@gmail.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
index 2f127c70c..1755ba8a8 100644
--- a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
@@ -287,11 +287,8 @@ public class RuptelaProtocolDecoder extends BaseProtocolDecoder {
decodeParameter(position, id, buf, 8);
}
- // CAN first driver ID
- decodeDriver(position, Position.PREFIX_IO + 126, Position.PREFIX_IO + 127);
-
- // TCO first driver ID
- decodeDriver(position, Position.PREFIX_IO + 155, Position.PREFIX_IO + 156);
+ decodeDriver(position, Position.PREFIX_IO + 126, Position.PREFIX_IO + 127); // can driver
+ decodeDriver(position, Position.PREFIX_IO + 155, Position.PREFIX_IO + 156); // tco driver
Long tagIdPart1 = (Long) position.getAttributes().remove(Position.PREFIX_IO + 760);
Long tagIdPart2 = (Long) position.getAttributes().remove(Position.PREFIX_IO + 761);