aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-11-02 23:22:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-11-02 23:22:25 +1300
commit119b1a9562aee0072c034017405df4cc94feaf35 (patch)
tree5f2f1faf98f598fdd5f5f014e01ca489f7119e9f /test.sh
parent73f1943342354f5a3922561ca7ebefad239ce153 (diff)
downloadtrackermap-server-119b1a9562aee0072c034017405df4cc94feaf35.tar.gz
trackermap-server-119b1a9562aee0072c034017405df4cc94feaf35.tar.bz2
trackermap-server-119b1a9562aee0072c034017405df4cc94feaf35.zip
Add PT502 protocol (fix #75)
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index 0e5e5acab..8e25e10b8 100755
--- a/test.sh
+++ b/test.sh
@@ -59,3 +59,6 @@ echo "15. ev603"
echo "16. v680"
(echo -n -e "#123456789012345#1000#0#1000#AUT#1#66830FFB#13000.0000,E,6000.0000,N,001.41,259#010112#121600##";) | nc -v localhost 5016
+
+echo "17. pt502"
+(echo -n -e "\$POS,123456,121700.000,A,6000.0000,N,13000.0000,E,0.0,0.0,010112,,,A/00000,00000/0/23895000//\r\n";) | nc -v localhost 5017