ble icon indicating copy to clipboard operation
ble copied to clipboard

Add error handling to GattClient procedures

Open pan- opened this issue 8 years ago • 3 comments

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.

pan- avatar Mar 18 '16 16:03 pan-

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.

ghost avatar Aug 24 '16 07:08 ghost

@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.

pan- avatar Aug 24 '16 07:08 pan-

That's good to hear :-)

ghost avatar Aug 24 '16 08:08 ghost