summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-05-22 13:13:57 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-05-22 13:13:57 +0300
commitcdd6175605e1056ff4b12e8710a20322f64103a4 (patch)
tree4ffabaf93bd758f3aa2f6ba386f830bc1588a905 /test
parent4a9baabf0e07e962a179874af6bb44d48c9e75d0 (diff)
downloadbluez-cdd6175605e1056ff4b12e8710a20322f64103a4.tar.gz
tests/example-advertisement: Change type to peripheral
With broadcast type it won't be connectable which is much more convenient when testing.
Diffstat (limited to 'test')
-rwxr-xr-xtest/example-advertisement2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example-advertisement b/test/example-advertisement
index 151ddfecc..ce6e40fc8 100755
--- a/test/example-advertisement
+++ b/test/example-advertisement
@@ -115,7 +115,7 @@ class Advertisement(dbus.service.Object):
class TestAdvertisement(Advertisement):
def __init__(self, bus, index):
- Advertisement.__init__(self, bus, index, 'broadcast')
+ Advertisement.__init__(self, bus, index, 'peripheral')
self.add_service_uuid('180D')
self.add_service_uuid('180F')
self.add_manufacturer_data(0xffff, [0x00, 0x01, 0x02, 0x03, 0x04])