FastBle icon indicating copy to clipboard operation
FastBle copied to clipboard

Android Bluetooth Low Energy (BLE) Fast Development Framework. It uses simple ways to filter, scan, connect, read ,write, notify, readRssi, setMTU, and multiConnection.

Results 135 FastBle issues
Sort by recently updated
recently updated
newest added

救助 有没有好的方法, 降低133错误码的出现频率

版本:2.4.0 java.lang.RuntimeException:Unable to stop activity {com.lianxin.oyt/com.lianxin.oyt.ui.GpBleDeviceListActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.HandlerThread.quit()' on a null object reference android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5224) ...... Caused by: java.lang.NullPointerException:Attempt to invoke virtual method 'boolean android.os.HandlerThread.quit()'...

Hi there! Thank you so much for this awesome library! I'm pretty new to Android programming and was hoping to build an app that can detect a local bluetooth device....

当进行多设备连接,每个设备需要发送多条蓝牙指令,极端情况,一次会有8条蓝牙指令,FastBle没有处理多线程发送多条蓝牙指令的情况,在每个调用的地方设置延时处理又很繁杂,我的处理方式是把所有修改特征和属性命令放在队列里面,进行顺序延时处理。哪位大佬有更好的处理方式?

master doc display: com.github.Jasonchenlijian:FastBle:2.4.0 tag 2.3.4 doc display: compile 'com.clj.fastble:FastBleLib:2.3.4' Which one do you use? www.jitpack.io : com.github.Jasonchenlijian:FastBle:2.4.0 https://developer.aliyun.com/mvn/search : com.clj.fastble:FastBleLib:2.3.4

锁屏后扫描onScanning就没数据回调了,只有点亮屏幕了才有数据回来,测试了很多台手机也是如此 小米6(android 9) 华为p30(android 10) oppo r9(android 6.0) 华为mate 9(android 9) 请问怎么处理?

日志信息: **BluetoothGatt**: onConnectionUpdated() - Device=99:99:99:**:**:** interval=40 latency=0 timeout=500 status=0 **BluetoothGatt**: writeCharacteristic() - uuid: 0000ffe1-0000-1000-8000-00805f9b34fb **BluetoothGatt**: onCharacteristicWrite() - Device=99:99:99:**:**:** handle=33 Status=0 **BluetoothGatt**: setCharacteristicNotification() - uuid: 0000ffe1-0000-1000-8000-00805f9b34fb enable: true **BluetoothGatt**: writeDescriptor() -...

我连接的蓝牙设备有多个services,我依次订阅,不成功订阅下一个,直到成功就不要订阅,日志如下: notify service = xxx nid = aaa onNotifyFailure notify service = xxx nid = aa1 onNotifyFailure notify service = xxx nid = aa2 onNotifyFailure notify service = xx2 nid...

Once we remove the app from recents then connection is lost. It should do the rebound.

荣耀4 Play,发送完数据后,5秒后端开连接,收不到数据,什么原因?