summaryrefslogtreecommitdiff
path: root/server/piztor/prober.py
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-31 12:43:44 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-31 12:43:44 +0800
commit325eea0b19a5f9cd4e54947d2ad9cb5e9d2169b3 (patch)
tree65d51e15b073b49197e71a778d60662e4bea6ff1 /server/piztor/prober.py
parentda9358f654ffd5bc5598d61853982631c9bdbd99 (diff)
...
Diffstat (limited to 'server/piztor/prober.py')
-rw-r--r--server/piztor/prober.py16
1 files changed, 6 insertions, 10 deletions
diff --git a/server/piztor/prober.py b/server/piztor/prober.py
index 5f57a94..cd952ef 100644
--- a/server/piztor/prober.py
+++ b/server/piztor/prober.py
@@ -18,13 +18,9 @@ if len(argv) == 3:
token = user_auth(username, password)
-
-update_sub(token, username,
- [
- (23, 15), (23, 15), (23, 255), (23, 255),
- (23, 15), (23, 15), (23, 255), (23, 255),
- (23, 15), (23, 15), (23, 255), (23, 255),
- (23, 15), (23, 15), (23, 255), (23, 255),
- (23, 15), (23, 15),
- ])
-user_info(token, username, 23, 15)
+print "Client: " + username + "logged in"
+#open_push_tunnel(token, username)
+for i in xrange(10):
+ print "Client: " + username + " updateing"
+ update_location(token, username, 123.456, 123.456)
+ sleep(10)