mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-19 01:58:37 +08:00
test/example-gatt-server: Make test service primary
This allows to test from Android until included services support is added.
This commit is contained in:
parent
ba38b538a8
commit
3d117bc965
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user