diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-06 22:55:15 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-11-06 22:55:15 -0800 |
commit | 89ad80238cccb24f53e9b8badd2e2471937e7ed0 (patch) | |
tree | 7cd0133589cd2a5a08e0b7c1615c95cd0947521c /src/test/java/org/traccar | |
parent | 56cf856e0d08b32d7b637b066e0f735209d86e21 (diff) | |
download | trackermap-server-89ad80238cccb24f53e9b8badd2e2471937e7ed0.tar.gz trackermap-server-89ad80238cccb24f53e9b8badd2e2471937e7ed0.tar.bz2 trackermap-server-89ad80238cccb24f53e9b8badd2e2471937e7ed0.zip |
Decode X1 ADC values
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index d31cac534..0f7b2fbce 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -22,6 +22,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { Position.KEY_ALARM, Position.ALARM_GENERAL); verifyAttribute(decoder, binary( + "78783c3400000000130a1906011105029b4d450b1828d5001c00000000009e7d014e140fc000004e990000000004c301a442210000020101c001c0000591aa0d"), + Position.PREFIX_ADC + 1, 4.48); + + verifyAttribute(decoder, binary( "797900a87000000001020035000101003300125d7e3a180600d504b598f708814b3a001d1500340006125d7e39dc000011000a012e02620000000000000001000803537601000129800002000803102608593397620003000a89012608522933976266001800020172002b000114002c00045d7df3c70009000106000a000109002800010d002e00040000f25d002a000111002900040000017e0030000a000100b4000a00b402d0000591250d0a"), Position.KEY_ALARM, Position.ALARM_REMOVING); |