You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.
The log is:
java.lang.IllegalStateException: BT Adapter is not turned ON
at android.bluetooth.le.BluetoothLeUtils.checkAdapterStateOn(BluetoothLeUtils.java:136)
at android.bluetooth.le.BluetoothLeScanner.startScan(BluetoothLeScanner.java:107)
at android.bluetooth.le.BluetoothLeScanner.startScan(BluetoothLeScanner.java:102)
at android.bluetooth.BluetoothAdapter.startLeScan(BluetoothAdapter.java:1882)
at android.bluetooth.BluetoothAdapter.startLeScan(BluetoothAdapter.java:1799)
at com.orbotix.le.c.run(SourceFile:26)
at java.lang.Thread.run(Thread.java:818)
When my app fail to connect Ollie, I will reset the bluetooth first. I think it is the problem.But whether there is no protect in the code?
The text was updated successfully, but these errors were encountered:
The log is:
java.lang.IllegalStateException: BT Adapter is not turned ON
at android.bluetooth.le.BluetoothLeUtils.checkAdapterStateOn(BluetoothLeUtils.java:136)
at android.bluetooth.le.BluetoothLeScanner.startScan(BluetoothLeScanner.java:107)
at android.bluetooth.le.BluetoothLeScanner.startScan(BluetoothLeScanner.java:102)
at android.bluetooth.BluetoothAdapter.startLeScan(BluetoothAdapter.java:1882)
at android.bluetooth.BluetoothAdapter.startLeScan(BluetoothAdapter.java:1799)
at com.orbotix.le.c.run(SourceFile:26)
at java.lang.Thread.run(Thread.java:818)
When my app fail to connect Ollie, I will reset the bluetooth first. I think it is the problem.But whether there is no protect in the code?
The text was updated successfully, but these errors were encountered: