Skip to content

Commit

Permalink
Fix photo decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Mar 28, 2019
1 parent daacd9e commit 1f710ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/org/traccar/protocol/FifotrackProtocolDecoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public FifotrackProtocolDecoder(Protocol protocol) {
.number("d+,") // length
.number("(d+),") // imei
.any()
.number("(d+),") // length
.number(",(d+),") // length
.expression("([^*]+)") // photo id
.text("*")
.number("xx")
Expand All @@ -87,7 +87,7 @@ public FifotrackProtocolDecoder(Protocol protocol) {
.text("$$")
.number("d+,") // length
.number("(d+),") // imei
.expression("([^*]+)") // photo id
.expression("([^*]+),") // photo id
.number("(d+),") // offset
.number("(d+),") // size
.number("(x+)") // data
Expand Down

0 comments on commit 1f710ea

Please sign in to comment.