aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-11-12 18:24:03 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-11-12 18:24:03 +1300
commita6b5b7674b0a1dd1d92bbdeaf052715b6b9d9f41 (patch)
treebc99bf0c242e6b5a53cbaa33def07efa15c434ef /tools
parentbbe846c51f189c16a569af8c21b7464087b329ab (diff)
downloadtraccar-server-a6b5b7674b0a1dd1d92bbdeaf052715b6b9d9f41.tar.gz
traccar-server-a6b5b7674b0a1dd1d92bbdeaf052715b6b9d9f41.tar.bz2
traccar-server-a6b5b7674b0a1dd1d92bbdeaf052715b6b9d9f41.zip
Fix totem frame decoder (fix #453)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/hex.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hex.sh b/tools/hex.sh
index 8045d405b..762af00d1 100755
--- a/tools/hex.sh
+++ b/tools/hex.sh
@@ -1,2 +1,2 @@
-echo fe0200014104d8f1968201df40501e58003301e000014104d8f19682525ecd5d525ee344525ee35effc88815026ab4d70000020000104403de01000b0000000007d007d000 | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5044
+echo 242442323335363839353033373537383531387c4141244750524d432c3230333832332e3030302c412c333734302e333238352c4e2c30323132392e393239352c452c302e30302c2c3131313131332c2c2c412a37397c30312e357c30312e307c30312e317c3030303030303030303030307c32303133313131313230333832337c31343034313235317c30303030303030307c30303245304444377c303030307c302e303030307c363337317c333832340d0a | perl -ne 's/([0-9a-f]{2})/print chr hex $1/gie' | nc -v -w 10 localhost 5007