Android BLE基础框架全新改版,714页PDF的鸿蒙学习笔记
public void onDeviceFound(BluetoothLeDeviceStore bluetoothLeDeviceStore) {
}
@Override public void onScanFinish(BluetoothLeDeviceStore bluetoothLeDeviceStore) {
}
@Override public void onScanTimeout() {
} }).setDeviceMac(deviceMac));
扫描指定设备名称的设备
//该方式是扫到指定设备就停止扫描 ViseBle.getInstance().startScan(new SingleFilterScanCallback(new IScanCallback() { @Override public void onDeviceFound(BluetoothLeDeviceStore
共有 0 条评论