aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-03-08 06:52:02 -0800
committerAnton Tananaev <anton@traccar.org>2024-03-08 06:52:02 -0800
commit04e482bd22029710fd512bfd7916781cd5c79495 (patch)
tree3a7a2a39651f2237691ea231d64d650febef96f7 /src/test/java/org
parent75b404db5c790bf37c05fabf1cbbd2027ad1db25 (diff)
downloadtrackermap-server-04e482bd22029710fd512bfd7916781cd5c79495.tar.gz
trackermap-server-04e482bd22029710fd512bfd7916781cd5c79495.tar.bz2
trackermap-server-04e482bd22029710fd512bfd7916781cd5c79495.zip
Fix Esky ES840 decoding
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java
index feec3ebfb..26132eb4e 100644
--- a/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class EskyProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new EskyProtocolDecoder(null));
+ verifyPosition(decoder, text(
+ "ET;1;864431045310325;R;0+240303180628+-33.40958+149.56797+0.00+63+0xb+0+17814846+1168+0+0+WVWZZZ6RZFY242201+135+DTCNULL"));
+
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);