diff options
Diffstat (limited to 'src/org/traccar/protocol/Tr900ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Tr900ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Tr900ProtocolDecoder.java b/src/org/traccar/protocol/Tr900ProtocolDecoder.java index dda91eed5..7dbdc5697 100644 --- a/src/org/traccar/protocol/Tr900ProtocolDecoder.java +++ b/src/org/traccar/protocol/Tr900ProtocolDecoder.java @@ -81,7 +81,7 @@ public class Tr900ProtocolDecoder extends BaseProtocolDecoder { position.setSpeed(parser.nextDouble(0)); position.setCourse(parser.nextDouble(0)); - position.set(Position.KEY_RSSI, parser.next()); + position.set(Position.KEY_RSSI, parser.nextDouble()); position.set(Position.KEY_EVENT, parser.nextInt(0)); position.set(Position.PREFIX_ADC + 1, parser.nextInt(0)); position.set(Position.KEY_BATTERY, parser.nextInt(0)); |