Possible to fail BLE service characteristic write? #6358
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2020-11-12 by @gfwilliams You mean you want to create some kind of Bluetooth error on the other device that is writing that value? I'm afraid that's not supported, but you could create another 'status' characteristic with 'notify' on it, and then when there was an error you could notify with an error code on that characteristic? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-11-11 by cmumford
I have a Bluetooth characteristic onWrite function as so:
I'd like to validate the value -something like this:
Is this supported?
Beta Was this translation helpful? Give feedback.
All reactions