Android BLE蓝牙 BluetoothGattService与BluetoothGattCharacteristic获取
低功耗蓝牙开发对象按着android的API文档来一个一个对象获取就通了http://www.android-doc.com/reference/android/bluetooth/package-summary.html创建第一个对象BluetoothManager这个对象在activity的系统服务中activity.getSystemService(Context.BLUETOOTH_SERVICE)拿到后就是BluetoothAdapter,这个对象就在Bluetooth
原创
2020-12-03 15:46:59 ·
2736 阅读 ·
1 评论