diff options
-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() |