ble
ble copied to clipboard
Add error handling to GattClient procedures
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.
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.
@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.
That's good to hear :-)