-
The code for scanning the device is
and the code for navigating to "main" bluetoth screen is
The code for my BleDevice looks like this
I can connect to the device but writing and/or reading leads to a crasch with following error message
Any suggestion how i can solve this? I am using version 0.27.0 of the library |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
What does the code look like around the |
Beta Was this translation helpful? Give feedback.
-
Here is the some of the code
And here is the fragment
and in scanning fragment before we start to read and write data we have
|
Beta Was this translation helpful? Give feedback.
-
Here is the kable logs
Go |
Beta Was this translation helpful? Give feedback.
-
Yes, i saw that this not readable, it has support for notifications only |
Beta Was this translation helpful? Give feedback.
-
Yes, i saw that this not readable, it has support for notificaion only. Thank you for all support |
Beta Was this translation helpful? Give feedback.
It sounds like your peripheral's characteristic is not marked as being readable, so Kable is unable to find it for the read operation.
You can alternatively manually find the characteristic, see I/O section of documentation for details: https://github.com/JuulLabs/kable#io
Ideally you'd update your peripheral's firmware to have that characteristic marked as readable if that's the operation you're needing to perform.