summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@codecoup.pl>2016-09-21 22:35:52 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-09-22 10:52:34 +0300
commit3d117bc965529e2729fd54249f51a0b66bead17b (patch)
treeafe1846f01e98085a9cd5f2ef1018814397af393 /test
parentba38b538a88f40f1a90949eff495770404f10834 (diff)
downloadbluez-3d117bc965529e2729fd54249f51a0b66bead17b.tar.gz
test/example-gatt-server: Make test service primary
This allows to test from Android until included services support is added.
Diffstat (limited to 'test')
-rwxr-xr-xtest/example-gatt-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example-gatt-server b/test/example-gatt-server
index 9944e0246..24aaff973 100755
--- a/test/example-gatt-server
+++ b/test/example-gatt-server
@@ -438,7 +438,7 @@ class TestService(Service):
TEST_SVC_UUID = '12345678-1234-5678-1234-56789abcdef0'
def __init__(self, bus, index):
- Service.__init__(self, bus, index, self.TEST_SVC_UUID, False)
+ Service.__init__(self, bus, index, self.TEST_SVC_UUID, True)
self.add_characteristic(TestCharacteristic(bus, 0, self))
self.add_characteristic(TestEncryptCharacteristic(bus, 1, self))
self.add_characteristic(TestSecureCharacteristic(bus, 2, self))