aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-06-03 07:27:30 -0700
committerAnton Tananaev <anton@traccar.org>2024-06-03 07:27:47 -0700
commitbf3770fad4ceb7aeab4f1e686c3a49f3b1aa1592 (patch)
treeaa692d3168c89b76dd24817ba9fe2c925365b504 /src/test
parenta7665afd35006c3ed2f5b11a02214bc784732304 (diff)
downloadtrackermap-server-bf3770fad4ceb7aeab4f1e686c3a49f3b1aa1592.tar.gz
trackermap-server-bf3770fad4ceb7aeab4f1e686c3a49f3b1aa1592.tar.bz2
trackermap-server-bf3770fad4ceb7aeab4f1e686c3a49f3b1aa1592.zip
Decode beacon battery data
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
index 2a8ff87b6..d8e480f25 100644
--- a/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
@@ -15,6 +15,10 @@ public class TeltonikaProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"000F313233343536373839303132333435"));
+ verifyAttribute(decoder, binary(
+ "00000000000000768e010000018fdc4b27cb015b3e33ceefa529030009013f0e0000022400010000000000000000000102240049010f0001c60106babbf36300550202806d0f0001ca01063456555565690202806b0f0001d10106467975425450020280690b0001c90106fa54ba8d00550b0001cf0106cabbf36300550100005455"),
+ "tag1Voltage", 3090);
+
verifyPositions(decoder, binary(
"00000000000000728e010000018b23dd796300fbf7263c24f9e11a0000000000000002240001000000000000000000010224004501210001e50110cde39f7e42bb55aa788e4a29ed650055020ab70a8f264c6000ffff6b210001b00110f89b907e42bb55aaa3463b29ed650055020ab708bb2600ae0500096c01000051d4"));