Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

descriptor_read_value_failed Callback #51

Open
jasonspage opened this issue Oct 14, 2019 · 1 comment
Open

descriptor_read_value_failed Callback #51

jasonspage opened this issue Oct 14, 2019 · 1 comment

Comments

@jasonspage
Copy link

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.

@larsblumberg
Copy link
Contributor

larsblumberg commented Oct 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants