aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-08 22:26:27 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-08 22:26:27 -0700
commitf7b98d5ae86029361629c55d5b7ffc7dcdd0ed99 (patch)
tree4b7933b99cc8d8a2e1ac9c415b5a4f5aab1124fa /src/main/java/org/traccar/protocol
parente3c8872e2dcf0bd9affb138a8f827bfa7d42d6ac (diff)
downloadtrackermap-server-f7b98d5ae86029361629c55d5b7ffc7dcdd0ed99.tar.gz
trackermap-server-f7b98d5ae86029361629c55d5b7ffc7dcdd0ed99.tar.bz2
trackermap-server-f7b98d5ae86029361629c55d5b7ffc7dcdd0ed99.zip
Handle trailing comma
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/StartekProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
index b791e7bdd..65d295dc3 100644
--- a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
@@ -77,7 +77,7 @@ public class StartekProtocolDecoder extends BaseProtocolDecoder {
.text(",")
.number("d,") // extended
.expression("([^,]+)?,") // fuel
- .expression("([^,]+)?") // temperature
+ .expression("([^,]+)?,?") // temperature
.groupEnd("?")
.groupEnd("?")
.compile();