aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Pt60ProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/Pt60ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Pt60ProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Pt60ProtocolDecoder.java b/src/org/traccar/protocol/Pt60ProtocolDecoder.java
index 51a916475..636d9e27e 100644
--- a/src/org/traccar/protocol/Pt60ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Pt60ProtocolDecoder.java
@@ -48,6 +48,7 @@ public class Pt60ProtocolDecoder extends BaseProtocolDecoder {
.number("(d+)[,|]") // imei
.number("d+[,|]") // imsi
.groupBegin()
+ .expression("[^,|]+[,|]").optional() // firmware version
.number("[01][,|]") // state
.number("d+[,|]") // battery
.groupEnd("?")