OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a7a6d6
)
test: Add support for profile Service property
author
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 16 Nov 2012 13:47:31 +0000
(15:47 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 16 Nov 2012 13:47:31 +0000
(15:47 +0200)
test/test-profile
patch
|
blob
|
history
diff --git
a/test/test-profile
b/test/test-profile
index
1818358
..
6414d18
100755
(executable)
--- a/
test/test-profile
+++ b/
test/test-profile
@@
-70,6
+70,9
@@
if __name__ == '__main__':
make_option("-r", "--record", action="store",
type="string", dest="record",
default=None),
+ make_option("-S", "--service", action="store",
+ type="string", dest="service",
+ default=None),
]
parser = OptionParser(option_list=option_list)
@@
-99,6
+102,9
@@
if __name__ == '__main__':
if (options.record):
opts["ServiceRecord"] = options.record
+ if (options.service):
+ opts["Service"] = options.service
+
manager.RegisterProfile(options.path, options.uuid, opts)
mainloop.run()