blob: 8b3d07c22be901d527b32485e1f1cd43635169aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.traccar.protocol;
import org.junit.Test;
import org.traccar.ProtocolTest;
public class DingtekProtocolDecoderTest extends ProtocolTest {
@Test
public void testDecode() throws Exception {
var decoder = new DingtekProtocolDecoder(null);
verifyPosition(decoder, text(
"800001011e0692001a00000000016e008027c40000186962703655111781"));
verifyNull(decoder, text(
"8000010333020E180A1E4B1E124801042015693400000000173.249.23.186;6181;159.138.4.6;8888;000000000000000081"));
}
}
|