diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-30 16:34:22 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-30 16:34:22 +0800 |
commit | af84e3060d5f4f3e97be483e6616c6f3cd872309 (patch) | |
tree | afb07a492c4b90b9a243b415ed15cf27071d3c59 /server/piztor/prober.py | |
parent | a719efa4bc6718c7dbd5bce50e202fe05698f124 (diff) |
ptp v2.0 std-compliant server
Diffstat (limited to 'server/piztor/prober.py')
-rw-r--r-- | server/piztor/prober.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/server/piztor/prober.py b/server/piztor/prober.py index 623089f..5f57a94 100644 --- a/server/piztor/prober.py +++ b/server/piztor/prober.py @@ -6,8 +6,8 @@ from ptp_send import * username = "haha" password = "haha" -#username = "1234567890123456789012" -#password = "world12345678901234567890" +#username = "12345678901234567890" +#password = "world123456789012345" if len(argv) == 2: host = argv[1] @@ -20,5 +20,11 @@ if len(argv) == 3: token = user_auth(username, password) update_sub(token, username, - [(23, 15), (23, 14)]) + [ + (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) |