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

Add error handling to GattClient procedures #181

Open
pan- opened this issue Mar 18, 2016 · 3 comments
Open

Add error handling to GattClient procedures #181

pan- opened this issue Mar 18, 2016 · 3 comments

Comments

@pan-
Copy link
Member

pan- commented Mar 18, 2016

With the current API their is no way to know if an error occur during the following GattClient procedures:

  • read: If a read procedure fail, it should be possible to report this information to the application.
  • write: If a write procedure fail, it should be possible to report this information to the application.
@ghost
Copy link

ghost commented Aug 24, 2016

Totally agree. Was just looking for a way to return an ATT error response in the Application Error range and stumbled across this issue. So it can't be done at present? This seems like a pretty important enhancement.

@pan-
Copy link
Member Author

pan- commented Aug 24, 2016

@bluetooth-mdw No, it is not yet possible, it will be in a close future.
This become more and more mandatory. Same thing for the different type of read and write requests to support.

@ghost
Copy link

ghost commented Aug 24, 2016

That's good to hear :-)

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

No branches or pull requests

1 participant