aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-01-04 22:30:19 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-01-04 22:30:19 -0800
commitbca343a9704aa0040467599f9196eff08e674bc7 (patch)
tree4336648efb6e23ea607bd4a27e08354ff0f70afd /src/test/java/org/traccar/protocol
parenteaca872f70921c63030d4758d52cf4fe2df2bfac (diff)
downloadtrackermap-server-bca343a9704aa0040467599f9196eff08e674bc7.tar.gz
trackermap-server-bca343a9704aa0040467599f9196eff08e674bc7.tar.bz2
trackermap-server-bca343a9704aa0040467599f9196eff08e674bc7.zip
Add events and fix speed
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/IotmProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/IotmProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/IotmProtocolDecoderTest.java
index f3962efd5..9a8c6534c 100644
--- a/src/test/java/org/traccar/protocol/IotmProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/IotmProtocolDecoderTest.java
@@ -16,6 +16,9 @@ public class IotmProtocolDecoderTest extends ProtocolTest {
"123456789012345").build());
verifyPositions(decoder, false, MqttMessageBuilders.publish().payload(binary(
+ "020208009188752DE7120300030A002000AD59000146543250030A002200AD59643346543250FB")).qos(MqttQoS.EXACTLY_ONCE).messageId(1).build());
+
+ verifyPositions(decoder, false, MqttMessageBuilders.publish().payload(binary(
"020208004f6af053901403000135007715ec5f0d02b000485cea73083041040b30ee050030ae38040020120e00d0d34bc9412e9c5d4212000806ee00feff011300006d006e")).qos(MqttQoS.EXACTLY_ONCE).messageId(1).build());
verifyPositions(decoder, false, MqttMessageBuilders.publish().payload(binary(