aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-09-18 10:01:28 -0700
committerAnton Tananaev <anton@traccar.org>2022-09-18 10:01:28 -0700
commit4de8efe1ef0810af492c161bfc1d3200958d75d8 (patch)
tree1b8d072127010f2dce6fc3b0e110d17f11a3fac7 /src/test
parent25fe164e19787ce9cfeb18390c72393575ac81ed (diff)
downloadtrackermap-server-4de8efe1ef0810af492c161bfc1d3200958d75d8.tar.gz
trackermap-server-4de8efe1ef0810af492c161bfc1d3200958d75d8.tar.bz2
trackermap-server-4de8efe1ef0810af492c161bfc1d3200958d75d8.zip
Refactor M-5000/10000 decoding
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java
index 475ac0125..0dd00462d 100644
--- a/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java
@@ -15,6 +15,10 @@ public class PiligrimProtocolDecoderTest extends ProtocolTest {
"/bingps?imei=868204005544720&csq=18&vout=00&vin=4050&dataid=00000000",
binary("fff2200d4110061a32354f3422310062000a0005173b0000a101000300005e00fff2200d4110100932354f2b22310042000b000e173b00009f01000700006000")));
+ verifyPosition(decoder, request(HttpMethod.POST,
+ "/push.do",
+ buffer("&phoneNumber=%2B+78000000000&message=ALARM KEY; $GPRMC,180752.000,A,5314.0857,N,03421.8173,E,0.00,104.74,220722,,,A,V* 29,05; GSM: 250-01 0b54-0519,1c30,3e96,3ebe,412e 25; S; Batt: 405,M")));
+
}
}