From cdd6175605e1056ff4b12e8710a20322f64103a4 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 22 May 2015 13:13:57 +0300 Subject: [PATCH] tests/example-advertisement: Change type to peripheral With broadcast type it won't be connectable which is much more convenient when testing. --- test/example-advertisement | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.47.3