diff options
author | Anton Tananaev <anton@traccar.org> | 2023-12-29 07:57:17 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-12-29 07:57:17 -0800 |
commit | 30b74bc637b4f1165e040c23324f3504897d2b97 (patch) | |
tree | d3bde7c95c56242f2f31446244c57a5a038ebe59 /src/test/java/org/traccar | |
parent | 3b9333bec68898b08894b999b6f95c39e7e21f08 (diff) | |
download | trackermap-server-30b74bc637b4f1165e040c23324f3504897d2b97.tar.gz trackermap-server-30b74bc637b4f1165e040c23324f3504897d2b97.tar.bz2 trackermap-server-30b74bc637b4f1165e040c23324f3504897d2b97.zip |
Decode RST 4G driver id
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java index 0e8aefe51..fc932fe9e 100644 --- a/src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/RstProtocolDecoderTest.java @@ -11,6 +11,10 @@ public class RstProtocolDecoderTest extends ProtocolTest { var decoder = inject(new RstProtocolDecoder(null)); + verifyAttribute(decoder, text( + "RST;A;RST-MINIv5;V9.08;009767055;248;55;14-12-2023 19:34:20;14-12-2023 19:34:21;-12.923640;-38.388313;0;14;17;1;4;15;00;B0;00;1A;02;12.18;4.02;65;21;FE;0000;01;C0;001606017031;0002;FIM;"), + Position.KEY_DRIVER_UNIQUE_ID, "001606017031"); + verifyNull(decoder, text( "RST;A;RST-MINIv2;V7.04;008051261;124;29;04-04-2021 17:27:26;04-04-2021 17:27:26;-1.280811;-47.931755;7353;79;1;14;7315;26;10;0;1855;0;0;0;0;5;5;-1.280821;-47.931747;04-04-2021 17:52:23;6;-1.280863;-47.931770;04-04-2021 18:12:19;5;-1.280844;-47.931763;04-04-2021 17:28:02;5;-1.280900;-47.931770;04-04-2021 19:04:27;4;-1.280843;-47.931747;04-04-2021 18:21:45;04-04-2021 19:29:59;04-04-2021 19:29:59;-1.280770;-47.931595;1;15;0;0;0;0;FIM;")); |