Skip to content

descriptor_read_value_failed Callback #51

Open

Description

@jasonspage

If a descriptor value fails to be read, the Descriptor method read_value will call:
self.service.device.descriptor_read_value_failed(self, error=error).

This causes an error because the Descriptor class has no 'service' property.
The line should be corrected to:
self.characteristic.service.device.descriptor_read_value_failed(self, error=error).

This Class exists in gatt_linux.py. The offending code is on line 541 of this file.

Activity

  1. larsblumberg commented on Oct 15, 2019

    @larsblumberg
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions