diff options
author | Anton Tananaev <anton@traccar.org> | 2023-01-24 10:30:58 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-01-24 10:30:58 -0800 |
commit | 1c91d35263f1d00c00db44f7b2ff373aacb28478 (patch) | |
tree | 773ab2bc0062e4c2f4085383cc306564fa1f7b48 /src/test/java/org/traccar | |
parent | c49fc3b40a88deb2f7e09cd41a7bc74ee2677636 (diff) | |
download | trackermap-server-1c91d35263f1d00c00db44f7b2ff373aacb28478.tar.gz trackermap-server-1c91d35263f1d00c00db44f7b2ff373aacb28478.tar.bz2 trackermap-server-1c91d35263f1d00c00db44f7b2ff373aacb28478.zip |
Handle new watch format
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java index 09dd46101..37fab7e40 100644 --- a/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java @@ -18,6 +18,9 @@ public class WatchProtocolDecoderTest extends ProtocolTest { var decoder = inject(new WatchProtocolDecoder(null)); verifyPosition(decoder, buffer( + "[SG*9059011020*0067*AL,240123,181628,V,54.427538,N,6.409275,W,0.00,0,0,0,19,90,0,0,00000000,1,1,234,10,55C0,3B882A2,132,,10]")); + + verifyPosition(decoder, buffer( "[SG*9059011020*006b*UD2,240123,162011,A,54.427621,N,6.409190,W,0.00,0,0,8,19,88,0,0,00000000,1,1,FFFF,FFFF,FFFE,3B882A2,132,,00]")); verifyAttribute(decoder, buffer( |