-
Notifications
You must be signed in to change notification settings - Fork 62
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
startDiscovery impossible #56
Comments
It's because you haven't called |
hello it's ok but now i have this error when i try to connect : Could not connect, next try in 3 sec... : read failed, socket might closed or timeout, read ret: -1 |
Is the device you are trying to connect to a BLE device ? |
Yes it's possible |
The device must be BLE compatible yes but i don't want to connect it in BLE |
The library does not support BLE. |
the app in the repo does not connect :p |
Hello
i try to use your library with a simple code
bluetooth = new Bluetooth(this);
but i have this error
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.bluetooth.BluetoothAdapter.startDiscovery()' on a null object reference
The text was updated successfully, but these errors were encountered: