![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
低功耗蓝牙
HideUnderShadow
在西北工业大学攻读微电子硕士学位
展开
-
Android ble开发中遇到的问题
1.在工厂中生产了很多设备一起堆放时应用会可能发生ANR,原因是设备很多时会不停的调用onLeScan()方法,在BluetoothAdapter.startLeScan()的时候,在BluetoothAdapter.LeScanCallback.onLeScan()中不能做太多事情。2.使用 BluetoothDevice.connectGatt()或者 BluetoothGatt.conn转载 2016-10-18 18:30:53 · 1868 阅读 · 0 评论 -
Android 蓝牙开发中的问题
android.bluetooth 包中的类即可用于通用蓝牙也可用于低功耗蓝牙。android.bluetooth.le 包中的API只是适用于ble。startDiscovery() 可以发现常规蓝牙、低功耗蓝牙;而startleScan()只能够发现低功耗蓝牙。原创 2016-10-18 21:20:08 · 398 阅读 · 0 评论