From 7c31297adb38d13e88e41e06d32663043c8ec363 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 11 Aug 2019 13:30:38 -0700 Subject: Decode additional data --- .../java/org/traccar/protocol/NavisetProtocolDecoderTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/test/java/org/traccar/protocol') diff --git a/src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java index 5ef7dc529..c4b0ca73a 100644 --- a/src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/NavisetProtocolDecoderTest.java @@ -13,7 +13,13 @@ public class NavisetProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "1310e4073836383230343030353935383436362a060716")); - verifyPosition(decoder, binary( + verifyPositions(decoder, binary( + "b7501a203fab0d0bffcf4b5df0a82503a02cf6030000ff0c4200ba0007462a3a10000098280000f0f610fc4042ff00000000000000000000000000000000ff26000000000000808080808080808000000000ff000000000000000000000000000000000000000000000000000000000000ff00000000000000000000000000000000000000000000ff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008bff")); + + verifyPositions(decoder, binary( + "b7501a203fda0d097fdc4b5d70aa2503c42cf6030000ff0fb40dea0006b12a3a100000b228000080f210044041ff00000000000000000000000000000000ff25000000000000808080808080808000000000ff1201000000000000000000000000000000000000000000001a0000000000ff00000000000000000000000000000000000000000000ff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b603")); + + verifyPositions(decoder, binary( "14501a2000a50c0955a64b5db8a92503fc2cf603000084ab")); } -- cgit v1.2.3