-
Notifications
You must be signed in to change notification settings - Fork 88
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
Comments
Would you mind creating a PR which we can merge?
… On 14. Oct 2019, at 20:35, jasonspage ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: