diff options
author | Szymon Janc <szymon.janc@codecoup.pl> | 2016-09-21 22:35:51 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-09-22 10:52:08 +0300 |
commit | ba38b538a88f40f1a90949eff495770404f10834 (patch) | |
tree | f86fe6fd0cb3dbead3b70bbd2095f28bf51adc5d /test | |
parent | cf944b2cddaa2a71a3eeb71dc8f73323c06406e6 (diff) | |
download | bluez-ba38b538a88f40f1a90949eff495770404f10834.tar.gz |
test/example-gatt-server: Fix few copy-paste errors
Diffstat (limited to 'test')
-rwxr-xr-x | test/example-gatt-server | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/example-gatt-server b/test/example-gatt-server index bac1687ce..9944e0246 100755 --- a/test/example-gatt-server +++ b/test/example-gatt-server @@ -535,11 +535,11 @@ class TestEncryptCharacteristic(Characteristic): CharacteristicUserDescriptionDescriptor(bus, 3, self)) def ReadValue(self, options): - print('TestCharacteristic Read: ' + repr(self.value)) + print('TestEncryptCharacteristic Read: ' + repr(self.value)) return self.value def WriteValue(self, value, options): - print('TestCharacteristic Write: ' + repr(value)) + print('TestEncryptCharacteristic Write: ' + repr(value)) self.value = value class TestEncryptDescriptor(Descriptor): @@ -576,16 +576,16 @@ class TestSecureCharacteristic(Characteristic): ['secure-read', 'secure-write'], service) self.value = [] - self.add_descriptor(TestEncryptDescriptor(bus, 2, self)) + self.add_descriptor(TestSecureDescriptor(bus, 2, self)) self.add_descriptor( CharacteristicUserDescriptionDescriptor(bus, 3, self)) def ReadValue(self, options): - print('TestCharacteristic Read: ' + repr(self.value)) + print('TestSecureCharacteristic Read: ' + repr(self.value)) return self.value def WriteValue(self, value, options): - print('TestCharacteristic Write: ' + repr(value)) + print('TestSecureCharacteristic Write: ' + repr(value)) self.value = value |