From f7b98d5ae86029361629c55d5b7ffc7dcdd0ed99 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 8 Sep 2021 22:26:27 -0700 Subject: Handle trailing comma --- src/main/java/org/traccar/protocol/StartekProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org') 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(); -- cgit v1.2.3