diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-19 09:30:16 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-19 09:30:16 +1300 |
commit | beddf46069c0e1a656cd2c2263fcb4309ccb0ac9 (patch) | |
tree | 5ed2059f92a811148cc3edcfedcfc88e9cc2c6c3 /test/org | |
parent | b965ff36e6daf270da8026e7828981ad3f4d67ab (diff) | |
download | traccar-server-beddf46069c0e1a656cd2c2263fcb4309ccb0ac9.tar.gz traccar-server-beddf46069c0e1a656cd2c2263fcb4309ccb0ac9.tar.bz2 traccar-server-beddf46069c0e1a656cd2c2263fcb4309ccb0ac9.zip |
Decode GSM data for GoSafe protocol
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/GoSafeProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java index badc267ab..6c36a2727 100644 --- a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java +++ b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class GoSafeProtocolDecoderTest extends ProtocolTest { GoSafeProtocolDecoder decoder = new GoSafeProtocolDecoder(new GoSafeProtocol()); + verifyPositions(decoder, text( + "*GS16,351535059439208,145425130316,,GPS:V;0;N0.000000;E0.000000;0;0;0;0.00;0.00,GSM:1;3;416;3;A8C;2820;-81;416;3;A8C;281F;-83;416;3;A8C;368A;-87;416;3;A8C;368B;-89;416;3;A8C;2C26;-103;416;3;A8C;3689;-107;416;3;A8C;2D83;-107")); + verifyPosition(decoder, text( "*GS02,358696043774648,GPS:230040;A;S1.166829;E36.934287;0;0;170116,STT:20;0,MGR:32755204,ADC:0;11.2;1;28.3;2;4.1,GFS:0;0")); |