Skip to content

Commit

Permalink
Extend script to test binary commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Jul 16, 2016
1 parent 6aa4a84 commit 4a2bd50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/test-commands.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/python

import socket
import binascii

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("localhost", 5001))
#s.send(binascii.unhexlify('68680f0504035889905831401700df1a00000d0a'))
s.send("imei:123456789012345,tracker,151030080103,,F,000101.000,A,5443.3834,N,02512.9071,E,0.00,0;")

while True:
Expand Down

0 comments on commit 4a2bd50

Please sign in to comment.