aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-01-18 23:02:18 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-01-18 23:02:18 +1300
commit534a0107dccd91556252ca927852476628465a4d (patch)
treed8287a283724a36a076a71e726dca309361058d7 /tools
parenta01f9f7582cd7a25721be82df578d212fda4b5cc (diff)
downloadtrackermap-server-534a0107dccd91556252ca927852476628465a4d.tar.gz
trackermap-server-534a0107dccd91556252ca927852476628465a4d.tar.bz2
trackermap-server-534a0107dccd91556252ca927852476628465a4d.zip
Add Megatek protocol (fix #112)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/test.sh b/tools/test.sh
index 9201da618..e4655aa79 100755
--- a/tools/test.sh
+++ b/tools/test.sh
@@ -80,3 +80,6 @@ echo "22. gt02"
echo "23. gt06"
+
+echo "24. megastek"
+(echo -n -e "STX,102110830074542,\$GPRMC,122400.000,A,6000.0000,N,13000.0000,E,0.00,0.00,010112,,,A*64,F,LowBattery,imei:123456789012345,03,113.1,Battery=24%,,1,460,01,2531,647E;57\r\n";) | nc -v localhost 5024