[PATCH BlueZ 3/3] tests/example-advertisement: Change type to peripheral

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

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 151ddfe..ce6e40f 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.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux