diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-17 20:28:52 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-17 20:28:52 -0700 |
commit | e8741d7ddc28b9c2db3865129368f0a8eaa6b032 (patch) | |
tree | 30cd1c4254e8af96e84fe47752784928a2c6c99f /src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java | |
parent | b6cdfb459241f0a71f5ff9ce35814656465597dc (diff) | |
download | trackermap-server-e8741d7ddc28b9c2db3865129368f0a8eaa6b032.tar.gz trackermap-server-e8741d7ddc28b9c2db3865129368f0a8eaa6b032.tar.bz2 trackermap-server-e8741d7ddc28b9c2db3865129368f0a8eaa6b032.zip |
Fix battery decoding
Diffstat (limited to 'src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java index 4db80c7ce..8ce9eca78 100644 --- a/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java @@ -12,6 +12,10 @@ public class EskyProtocolDecoderTest extends ProtocolTest { EskyProtocolDecoder decoder = new EskyProtocolDecoder(null); verifyAttribute(decoder, text( + "ET;0;860337031066546;R;9+200717114059+41.32053+19.80761+0.30+0+0x2+8+40381744+0+1409+11"), + Position.KEY_BATTERY, 14.09); + + verifyAttribute(decoder, text( "ET;0;860337031078319;R;6+190317162511+41.32536+19.83144+0.14+0+0x0+0+18460312+0+1233+192"), Position.KEY_IGNITION, true); |