Re: [PATCH 1/2] test/example-gatt-server: Fix few copy-paste errors

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

 



Hi Szymon,

On Wed, Sep 21, 2016 at 11:35 PM, Szymon Janc <szymon.janc@xxxxxxxxxxx> wrote:
> ---
>  test/example-gatt-server | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/test/example-gatt-server b/test/example-gatt-server
> index 44ceb70..ecf614f 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
>
>
> --
> 2.7.4

Applied, thanks.

-- 
Luiz Augusto von Dentz
--
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