diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-07 11:46:04 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-07 11:46:04 +1300 |
commit | 83382e14d92cadaa40c62d07cdba05a6ded5af83 (patch) | |
tree | d1dc686b9fe272ade46654124f6a81b06a8fd810 /src/org/traccar/protocol/TotemProtocolDecoder.java | |
parent | ea7d1c6268359221191d78bcbf0d65d2dcb06088 (diff) | |
download | trackermap-server-83382e14d92cadaa40c62d07cdba05a6ded5af83.tar.gz trackermap-server-83382e14d92cadaa40c62d07cdba05a6ded5af83.tar.bz2 trackermap-server-83382e14d92cadaa40c62d07cdba05a6ded5af83.zip |
Use pattern builder for Xexun
Diffstat (limited to 'src/org/traccar/protocol/TotemProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/TotemProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/TotemProtocolDecoder.java b/src/org/traccar/protocol/TotemProtocolDecoder.java index 4f65d2cbd..02cad59e9 100644 --- a/src/org/traccar/protocol/TotemProtocolDecoder.java +++ b/src/org/traccar/protocol/TotemProtocolDecoder.java @@ -1,5 +1,5 @@ /* - * Copyright 2013 - 2014 Anton Tananaev (anton.tananaev@gmail.com) + * Copyright 2013 - 2015 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,7 +55,7 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder { .num("d") // charged .num("(ddd)") // battery .num("(dddd)|") // power - .num("(?:(d+)|)?") // adc + .opn("(d+)|") // adc .num("(x+)|") // location code .num("(d+)|") // temperature .num("(d+.d+)|") // odometer |