aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol/BlueProtocolDecoderTest.java
blob: 1d17162384f89800f1aef90439614f58541b83e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.traccar.protocol;

import org.junit.Test;
import org.traccar.ProtocolTest;

public class BlueProtocolDecoderTest extends ProtocolTest {

    @Test
    public void testDecode() throws Exception {

        BlueProtocolDecoder decoder = new BlueProtocolDecoder(null);

        verifyPosition(decoder, binary(
                "aa0055860080e3e79e0b840f800010320000000020010f0040008005ee197f113b26e800000000000000130c11091a2b005ac7a621120f0002000000b7000002000000000000001a3a0000000001f40000000000003f"));

    }

}