summaryrefslogtreecommitdiff
path: root/server/piztor/prober.py
diff options
context:
space:
mode:
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)