|
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 |
Replies: 5 comments 4 replies
|
What does the code look like around the |
|
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 |
|
Here is the kable logs Go |
|
Yes, i saw that this not readable, it has support for notifications only |
|
Yes, i saw that this not readable, it has support for notificaion only. Thank you for all support |
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.