diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-11-28 16:07:59 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-11-28 16:07:59 -0300 |
commit | 73247a718259868913c7efb27d288da3dc4dffb1 (patch) | |
tree | 20fa42af84f220a740b73902fc001640da6a0184 | |
parent | 57bc442ea4377419d038e5ce54ee962080172d50 (diff) |
Update test-adapter.
-rwxr-xr-x | test/test-adapter | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/test-adapter b/test/test-adapter index 3486b2f8..939739d9 100755 --- a/test/test-adapter +++ b/test/test-adapter @@ -16,8 +16,6 @@ if (len(sys.argv) < 2): print "" print " address" print " name [name]" - print " mode [mode]" - print " requestmode <mode>" print " pairable [on/off]" print " pairabletimeout [timeout]" print " discoverable [on/off]" @@ -38,21 +36,6 @@ if (sys.argv[1] == "name"): adapter.SetProperty("Name", sys.argv[2]) sys.exit(0) -if (sys.argv[1] == "mode"): - if (len(sys.argv) < 3): - properties = adapter.GetProperties() - print properties["Mode"] - else: - adapter.SetProperty("Mode", sys.argv[2]) - sys.exit(0) - -if (sys.argv[1] == "requestmode"): - if (len(sys.argv) < 3): - print "Need mode parameter" - else: - adapter.RequestMode(sys.argv[2]) - sys.exit(0) - if (sys.argv[1] == "pairable"): if (len(sys.argv) < 3): properties = adapter.GetProperties() |