-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java IO exception while using the library in kotlin #18
Comments
Hi @shashankRanaNoidaWala where you able to solve this issue? I'm running into the same and I'm trying to know if the stack exchange that you posted helped you solving it or not. Thanks! |
No it didn't help, in the end I used Android Bluetooth Standard Library, which is more fragmented and cumbersome but did the job. |
Thank you. Was the device you were trying to connect a Bluetooth Low-Energy or Bluetooth Classic? I read in another issue that this library does not support BLE devices. |
Bluetooth classic HC-05. |
The issue still persists. sad. |
Hello. I used the library in my application which is written in Kotlin. I translated the code into kotlin and did some fixes but I am getting
java.io.IOException: read failed, socket might closed or timeout, read ret: -1
again and again. This post from stackEx() deals with this but I guess that deals with a different problem.
I am afixing my mainActivity which is just the java code translated into kotlin. To be precise onError is giving the error which is called onConnect
Thanks
The text was updated successfully, but these errors were encountered: