diff options
Diffstat (limited to 'test/org/traccar/protocol/H02ProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/H02ProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java index 235373113..fe63ea905 100644 --- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java @@ -13,6 +13,9 @@ public class H02ProtocolDecoderTest { decoder.setDataManager(new TestDataManager()); assertNotNull(decoder.decode(null, null, + "*HQ,3800008786,V1,062507,V,3048.2437,N,03058.5617,E,000.00,000,250413,FFFFFBFF")); + + assertNotNull(decoder.decode(null, null, "*HQ,123456789012345,V1,155850,A,5214.5346,N,2117.4683,E,0.00,270.90,131012,ffffffff,000000,000000,000000,000000")); assertNotNull(decoder.decode(null, null, @@ -20,6 +23,7 @@ public class H02ProtocolDecoderTest { assertNotNull(decoder.decode(null, null, "*HQ,354188045498669,V1,195200,A,701.8915,S,3450.3399,W,0.00,205.70,050213,ffffffff,000243,000000,000000")); + } |